packages: npreal2/npreal2.spec, utftpd/utftpd.spec - don't set -n <somename...
sparky
sparky at pld-linux.org
Sat Feb 5 02:54:40 CET 2011
Author: sparky Date: Sat Feb 5 01:54:39 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- don't set -n <somename> for main package
---- Files affected:
packages/npreal2:
npreal2.spec (1.7 -> 1.8)
packages/utftpd:
utftpd.spec (1.78 -> 1.79)
---- Diffs:
================================================================
Index: packages/npreal2/npreal2.spec
diff -u packages/npreal2/npreal2.spec:1.7 packages/npreal2/npreal2.spec:1.8
--- packages/npreal2/npreal2.spec:1.7 Sat Feb 5 02:16:50 2011
+++ packages/npreal2/npreal2.spec Sat Feb 5 02:54:34 2011
@@ -115,10 +115,10 @@
%postun -n kernel%{_alt_kernel}-char-npreal2
%depmod %{_kernel_ver}
-%post -n npreal2%{_alt_kernel}
+%post
/sbin/chkconfig --add npreal2
-%preun -n npreal2%{_alt_kernel}
+%preun
if [ "$1" = "0" ]; then
%service -q npreal2 stop
/sbin/chkconfig --del npreal2
@@ -152,6 +152,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2011/02/05 01:54:34 sparky
+- don't set -n <somename> for main package
+
Revision 1.7 2011/02/05 01:16:50 sparky
- marked pl description as UTF-8
================================================================
Index: packages/utftpd/utftpd.spec
diff -u packages/utftpd/utftpd.spec:1.78 packages/utftpd/utftpd.spec:1.79
--- packages/utftpd/utftpd.spec:1.78 Sat Jan 29 01:07:32 2011
+++ packages/utftpd/utftpd.spec Sat Feb 5 02:54:34 2011
@@ -132,16 +132,16 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%pre -n utftpd
+%pre
%useradd -P utftpd -u 15 -r -d /var/lib/tftp -s /bin/false -c "TFTP User" -g ftp tftp
-%post -n utftpd
+%post
echo -n "Rebuilding utftpd configuration... "
utftpd_make %{_sysconfdir}/utftpd.cdb %{_sysconfdir}/utftp.tmp %{_sysconfdir}/utftpd.conf
echo "done"
%service -q rc-inetd reload
-%postun -n utftpd
+%postun
if [ "$1" = 0 ]; then
%service -q rc-inetd reload
%userremove tftp
@@ -170,6 +170,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.79 2011/02/05 01:54:34 sparky
+- don't set -n <somename> for main package
+
Revision 1.78 2011/01/29 00:07:32 sparky
- dropped pre-cvs changelog
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/npreal2/npreal2.spec?r1=1.7&r2=1.8&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/utftpd/utftpd.spec?r1=1.78&r2=1.79&f=u
More information about the pld-cvs-commit
mailing list