rpms/rss-glx/devel rss-glx.spec,1.15,1.16

Nils Philippsen (nphilipp) fedora-extras-commits at redhat.com
Sat Sep 15 08:35:41 UTC 2007


Author: nphilipp

Update of /cvs/pkgs/rpms/rss-glx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12167

Modified Files:
	rss-glx.spec 
Log Message:
include %post/%postun scripts only with modular xscreensaver support



Index: rss-glx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rss-glx/devel/rss-glx.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- rss-glx.spec	15 Sep 2007 08:25:08 -0000	1.15
+++ rss-glx.spec	15 Sep 2007 08:35:08 -0000	1.16
@@ -147,6 +147,11 @@
 %else
 - without matrixview hack
 %endif
+%if %modular_xss
+- with modular xscreensaver support
+%else
+- without modular xscreensaver support
+%endif
 
 EOF
 %setup -q -n rss-glx_%{version}
@@ -243,6 +248,7 @@
 %clean
 rm -rf %buildroot
 
+%if %modular_xss
 %post xscreensaver
 if [ -x %{_sbindir}/update-xscreensaver-hacks ]; then
     %{_sbindir}/update-xscreensaver-hacks
@@ -252,6 +258,7 @@
 if [ -x %{_sbindir}/update-xscreensaver-hacks ]; then
     %{_sbindir}/update-xscreensaver-hacks || :
 fi
+%endif
 
 %files
 %defattr(-, root, root)
@@ -285,6 +292,7 @@
 %changelog
 * Sat Sep 15 2007 Nils Philippsen <nphilipp at redhat.com> 0.8.1.p-11
 - enable modular xscreensaver support for Fedora 7 and later (#200881)
+- include %%post/%%postun scripts only with modular xscreensaver support
 
 * Fri Sep 14 2007 Nils Philippsen <nphilipp at redhat.com> 0.8.1.p-10
 - replace requirement on %{_bindir}/kxsconfig by kdeartwork-kxe (Fedora >= 7,




More information about the fedora-extras-commits mailing list