rpms/lyx/devel lyx.spec,1.91,1.92
Rex Dieter
rdieter at fedoraproject.org
Mon Mar 23 18:10:21 UTC 2009
- Previous message (by thread): rpms/postgresql-pgpoolAdmin/devel .cvsignore, 1.2, 1.3 postgresql-pgpoolAdmin-conf.patch, 1.1, 1.2 postgresql-pgpoolAdmin.spec, 1.6, 1.7 sources, 1.2, 1.3
- Next message (by thread): rpms/GLC_lib/devel GLC_lib_src_1.1.0-noGL.patch, NONE, 1.1 GLC_lib_src_1.1.0-nolib3ds.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.3, 1.4 GLC_lib.spec, 1.4, 1.5 sources, 1.3, 1.4 GLC_lib_src_1.0.0-nolib3ds.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rdieter
Update of /cvs/pkgs/rpms/lyx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4920
Modified Files:
lyx.spec
Log Message:
* Mon Mar 23 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.6.2-2
- scriptlet optimization
Index: lyx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/devel/lyx.spec,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- lyx.spec 16 Mar 2009 16:56:54 -0000 1.91
+++ lyx.spec 23 Mar 2009 18:09:51 -0000 1.92
@@ -4,7 +4,7 @@
Summary: WYSIWYM (What You See Is What You Mean) document processor
Name: lyx
Version: 1.6.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/Publishing
@@ -37,9 +37,6 @@
Provides: %{name}-qt = %{version}-%{release}
Obsoletes: %{name}-xforms < 1.5.0
-Requires(post): xdg-utils
-Requires(postun): xdg-utils
-
%if 0%{?fedora} > 8
BuildRequires: tex(dvips) tex(latex) texlive-fonts
Requires(post): texlive
@@ -121,9 +118,8 @@
%{buildroot}${texmf}/tex/latex/lyx
# .desktop
-desktop-file-install \
- --dir %{buildroot}%{_datadir}/applications \
- --vendor="" \
+desktop-file-install --vendor="" \
+ --dir="%{buildroot}%{_datadir}/applications" \
%{SOURCE10}
# icon
@@ -142,17 +138,21 @@
%post
-xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
-xdg-desktop-menu forceupdate 2> /dev/null || :
-texhash > /dev/null 2>&1 ||:
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
%postun
-if [ $1 -eq 0 ]; then
-xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
-xdg-desktop-menu forceupdate 2> /dev/null || :
-texhash > /dev/null 2>&1 ||:
+if [ $1 -eq 0 ] ; then
+ texhash >& /dev/null
+ update-desktop-database -q &> /dev/null
+ touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
fi
+%posttrans
+texhash >& /dev/null
+update-desktop-database -q &> /dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
## Catch installed/uninstalled helpers
## not sure if this is really needed anymore, as it seems to be a per-user thing,
## and besides, we use xdg-open now -- Rex
@@ -187,6 +187,9 @@
%changelog
+* Mon Mar 23 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.6.2-2
+- scriptlet optimization
+
* Sun Mar 15 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.6.2-1
- lyx-1.6.2
- use --without-included-boost unconditionally
- Previous message (by thread): rpms/postgresql-pgpoolAdmin/devel .cvsignore, 1.2, 1.3 postgresql-pgpoolAdmin-conf.patch, 1.1, 1.2 postgresql-pgpoolAdmin.spec, 1.6, 1.7 sources, 1.2, 1.3
- Next message (by thread): rpms/GLC_lib/devel GLC_lib_src_1.1.0-noGL.patch, NONE, 1.1 GLC_lib_src_1.1.0-nolib3ds.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.3, 1.4 GLC_lib.spec, 1.4, 1.5 sources, 1.3, 1.4 GLC_lib_src_1.0.0-nolib3ds.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list