rpms/nsd/devel nsd.init,1.9,1.10 nsd.spec,1.46,1.47

Paul Wouters pwouters at fedoraproject.org
Tue Jan 27 03:55:43 UTC 2009


Author: pwouters

Update of /cvs/extras/rpms/nsd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25649

Modified Files:
	nsd.init nsd.spec 
Log Message:
* Mon Jan 26 2009 Paul Wouters <paul at xelerance.com> - 3.2.1-3
- Fix init script 'unary operator' error.



Index: nsd.init
===================================================================
RCS file: /cvs/extras/rpms/nsd/devel/nsd.init,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- nsd.init	10 Nov 2008 04:51:54 -0000	1.9
+++ nsd.init	27 Jan 2009 03:55:13 -0000	1.10
@@ -27,7 +27,7 @@
 [ -r /etc/sysconfig/nsd ] && . /etc/sysconfig/nsd
 
 # Check that networking is configured.
-[ ${NETWORKING} = "no" ] && exit 0
+[ "${NETWORKING}" = "no" ] && exit 0
 
 start() {
   # Source networking configuration.


Index: nsd.spec
===================================================================
RCS file: /cvs/extras/rpms/nsd/devel/nsd.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- nsd.spec	27 Jan 2009 03:17:09 -0000	1.46
+++ nsd.spec	27 Jan 2009 03:55:13 -0000	1.47
@@ -1,7 +1,7 @@
 Summary: fast and lean authoritative DNS name server
 Name: nsd
 Version: 3.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: BSD
 Url: http://www.nlnetlabs.nl/%{name}/
 #Source: http://www.nlnetlabs.nl/downloads/%{name}/%{name}-%{version}.tar.gz
@@ -40,10 +40,10 @@
 %install
 rm -rf %{buildroot}
 %{__make} DESTDIR=%{buildroot} install
-install -d -m 0755 %{buildroot}%{_initdir}
+install -d -m 0755 %{buildroot}%{_initrddir}
 install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly
 install -c -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/nsd
-install -m 0755 %{SOURCE1} %{buildroot}/%{_initdir}/nsd
+install -m 0755 %{SOURCE1} %{buildroot}/%{_initrddir}/nsd
 install -d -m 0700 %{buildroot}%{_localstatedir}/run/%{name}
 install -d -m 0700 %{buildroot}%{_localstatedir}/lib/%{name}
 
@@ -63,7 +63,7 @@
 %dir %{_sysconfdir}/nsd/
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.conf
 #%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.zones
-%attr(0755,root,root) %{_initdir}/%{name}
+%attr(0755,root,root) %{_initrddir}/%{name}
 %{_sysconfdir}/cron.hourly/nsd
 %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
 %attr(0755,%{name},%{name}) %dir %{_localstatedir}/lib/%{name}
@@ -92,8 +92,8 @@
 fi
 
 %changelog
-* Mon Jan 26 2009 Paul Wouters <paul at xelerance.com> - 3.2.1-2
-- Change bogus initrddir for the real initdir
+* Mon Jan 26 2009 Paul Wouters <paul at xelerance.com> - 3.2.1-3
+- Fix init script 'unary operator' error.
 
 * Mon Jan 26 2009 Paul Wouters <paul at xelerance.com> - 3.2.1-1
 - Updated to new version 3.2.1




More information about the fedora-extras-commits mailing list