SPECS: apport.spec - fix mess in scriptlets
glen
glen at pld-linux.org
Thu Apr 24 10:53:56 CEST 2008
Author: glen Date: Thu Apr 24 08:53:56 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix mess in scriptlets
---- Files affected:
SPECS:
apport.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/apport.spec
diff -u SPECS/apport.spec:1.7 SPECS/apport.spec:1.8
--- SPECS/apport.spec:1.7 Thu Apr 24 10:16:58 2008
+++ SPECS/apport.spec Thu Apr 24 10:53:51 2008
@@ -129,21 +129,17 @@
rm -rf $RPM_BUILD_ROOT
%post
-# Add proper symlinks in %{_sysconfdir}/rc*.d
/sbin/chkconfig --add apport
+%service apport restart
%update_mime_database
%update_icon_cache hicolor
%preun
if [ "$1" == "0" ]; then
- %service apport stop > /dev/null
- /sbin/chkconfig --del apport
+ %service apport stop
+ /sbin/chkconfig --del apport
fi
-%postun
-if [ "$1" -ge "1" ]; then
- %service apport condrestart > /dev/null || :
-fi
%update_mime_database
%update_icon_cache hicolor
@@ -153,7 +149,7 @@
%{_mandir}/man1/*
%{_iconsdir}/hicolor/*/apps/apport.svg
%{_datadir}/mime/packages/apport.xml
-%{py_sitescriptdir}/apport-0.0.0-py*.egg-info
+%{py_sitescriptdir}/apport-*.egg-info
%dir %{_datadir}/apport
%attr(755,root,root) %{_datadir}/apport/apport
%attr(755,root,root) %{_datadir}/apport/apport-cli
@@ -202,6 +198,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2008-04-24 08:53:51 glen
+- fix mess in scriptlets
+
Revision 1.7 2008-04-24 08:16:58 glen
- -qt is qt4 app
- sane rc-scripts deps
@@ -226,4 +225,3 @@
Revision 1.1 2008-02-14 00:53:17 patrys
- NFY
- I need kernel 2.6.24 and fixed bugzilla xmlrpc to finish
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apport.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list