packages: job/job.spec - improved file flow: %post before %files
sparky
sparky at pld-linux.org
Fri Jan 28 19:20:36 CET 2011
Author: sparky Date: Fri Jan 28 18:20:36 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- improved file flow: %post before %files
---- Files affected:
packages/job:
job.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/job/job.spec
diff -u packages/job/job.spec:1.5 packages/job/job.spec:1.6
--- packages/job/job.spec:1.5 Tue Feb 13 09:06:36 2007
+++ packages/job/job.spec Fri Jan 28 19:20:30 2011
@@ -48,22 +48,6 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%files
-%defattr(644,root,root,755)
-%doc AUTHORS COPYING INSTALL README
-%attr(755,root,root) %{_bindir}/jdetach
-%attr(755,root,root) %{_bindir}/jkill
-%attr(755,root,root) %{_bindir}/jsethid
-%attr(755,root,root) %{_bindir}/jstat
-%attr(755,root,root) %{_bindir}/jwait
-%attr(755,root,root) %{_bindir}/jattach
-%attr(755,root,root) %{_libdir}/libjob.so
-%attr(755,root,root) /%{_lib}/security/pam_job.so
-%attr(754,root,root) /etc/rc.d/init.d/job
-%{_mandir}/*/*
-# -devel?
-#%{_includedir}/job.h
-
%preun
if [ "$1" = 0 ] ; then
SAFE=`fgrep -s pam_job.so /etc/pam.d/* | wc -l`
@@ -98,12 +82,31 @@
echo ""
exit 0
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING INSTALL README
+%attr(755,root,root) %{_bindir}/jdetach
+%attr(755,root,root) %{_bindir}/jkill
+%attr(755,root,root) %{_bindir}/jsethid
+%attr(755,root,root) %{_bindir}/jstat
+%attr(755,root,root) %{_bindir}/jwait
+%attr(755,root,root) %{_bindir}/jattach
+%attr(755,root,root) %{_libdir}/libjob.so
+%attr(755,root,root) /%{_lib}/security/pam_job.so
+%attr(754,root,root) /etc/rc.d/init.d/job
+%{_mandir}/*/*
+# -devel?
+#%{_includedir}/job.h
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2011/01/28 18:20:30 sparky
+- improved file flow: %post before %files
+
Revision 1.5 2007/02/13 08:06:36 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/job/job.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list