packages: usermin/usermin.spec - BR: perl-base - improved file flow: %post ...

sparky sparky at pld-linux.org
Fri Jan 28 19:24:29 CET 2011


Author: sparky                       Date: Fri Jan 28 18:24:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: perl-base
- improved file flow: %post before %files

---- Files affected:
packages/usermin:
   usermin.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/usermin/usermin.spec
diff -u packages/usermin/usermin.spec:1.4 packages/usermin/usermin.spec:1.5
--- packages/usermin/usermin.spec:1.4	Sun Jul 20 10:47:13 2008
+++ packages/usermin/usermin.spec	Fri Jan 28 19:24:24 2011
@@ -11,6 +11,7 @@
 Group:		Applications/System
 Source0:	http://www.webmin.com/download/%{name}-%{version}.tar.gz
 # Source0-md5:	d5da4ecbf388b740edc1f25b15ddd39a
+BuildRequires:	perl-base
 Requires:	/bin/rm
 Requires:	/bin/sh
 Requires:	perl-base
@@ -56,13 +57,6 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(644,root,root,755)
-%{_libexecdir}/usermin
-%attr(754,root,root) /etc/rc.d/init.d/usermin
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/usermin
-%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/usermin
-
 %post
 # $inetd never used
 inetd=`grep "^inetd=" %{_sysconfdir}/usermin/miniserv.conf 2>/dev/null | sed -e 's/inetd=//g'`
@@ -135,12 +129,23 @@
 	fi
 fi
 
+%files
+%defattr(644,root,root,755)
+%{_libexecdir}/usermin
+%attr(754,root,root) /etc/rc.d/init.d/usermin
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/usermin
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/usermin
+
 %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.5  2011/01/28 18:24:24  sparky
+- BR: perl-base
+- improved file flow: %post before %files
+
 Revision 1.4  2008/07/20 08:47:13  qboosh
 - existing Group, R: perl-base
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/usermin/usermin.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list