rpms/netdisco/F-11 netdisco.init,1.1,1.2 netdisco.spec,1.1,1.2
gouldwp
gouldwp at fedoraproject.org
Sat Aug 22 02:56:48 UTC 2009
Author: gouldwp
Update of /cvs/pkgs/rpms/netdisco/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4052
Modified Files:
netdisco.init netdisco.spec
Log Message:
Index: netdisco.init
===================================================================
RCS file: /cvs/pkgs/rpms/netdisco/F-11/netdisco.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- netdisco.init 28 Jul 2009 05:27:19 -0000 1.1
+++ netdisco.init 22 Aug 2009 02:56:48 -0000 1.2
@@ -2,7 +2,7 @@
#
# Startup script for the netdisco daemon
#
-# chkconfig: - 345 95 5
+# chkconfig: 345 95 5
# description: Startup/shutdown script for the Netdisco Admin Daemon
# processname: netdisco
# pidfile: /var/run/netdisco/netdisco.pid
Index: netdisco.spec
===================================================================
RCS file: /cvs/pkgs/rpms/netdisco/F-11/netdisco.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- netdisco.spec 28 Jul 2009 05:27:19 -0000 1.1
+++ netdisco.spec 22 Aug 2009 02:56:48 -0000 1.2
@@ -2,7 +2,7 @@
Name: netdisco
Version: 0.95
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A web-based network management tool
License: BSD
Group: Applications/Internet
@@ -120,9 +120,7 @@ install -m0644 netdisco.pm %{buildroot}/
%post
-if [ "$1" = "0" ]; then
/sbin/chkconfig --add %{name}
-fi
%preun
@@ -152,8 +150,9 @@ fi
%changelog
-* Sun Jul 26 2009 <gouldwp at fedoraproject.org> 0.95-2
+* Sun Jul 26 2009 <gouldwp at fedoraproject.org> 0.95-3
- Netdisco network management software.
+- Changed %%post section to work correctly with chkconfig
- Changed %%defattr(-,root,root) to %%defattr(-,root,root,-) in files section
- Changed /usr/share/ to %%_datadir in the %%files section
- Removed patches, substituted with find/perl/xargs replace lines
More information about the fedora-extras-commits
mailing list