SPECS: pdns.spec - missing dir - do not use %_initrddir macro whic...

glen glen at pld-linux.org
Sun Jan 27 03:33:59 CET 2008


Author: glen                         Date: Sun Jan 27 02:33:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- missing dir
- do not use %_initrddir macro which uses %_sysconfdir macro
- rel 3

---- Files affected:
SPECS:
   pdns.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/pdns.spec
diff -u SPECS/pdns.spec:1.63 SPECS/pdns.spec:1.64
--- SPECS/pdns.spec:1.63	Wed Jan 23 23:44:25 2008
+++ SPECS/pdns.spec	Sun Jan 27 03:33:54 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	PowerDNS to wielofunkcyjny serwer nazw korzystający z relacyjnych baz danych
 Name:		pdns
 Version:	2.9.21
-Release:	2
+Release:	3
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
@@ -137,12 +137,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_initrddir},%{_sysconfdir}/%{name},/etc/sysconfig}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/%{name},/etc/sysconfig}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/%{name}
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name}.conf
 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/pdns
 
@@ -178,12 +178,13 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog HACKING INSTALL README TODO pdns.pdf pdns.txt
-%attr(754,root,root) %{_initrddir}/%{name}
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
 %dir %{_sysconfdir}/%{name}
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/pdns
 %attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/%{name}
 %{_mandir}/man8/*
 
 %files backend-gmysql
@@ -208,6 +209,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2008-01-27 02:33:54  glen
+- missing dir
+- do not use %_initrddir macro which uses %_sysconfdir macro
+- rel 3
+
 Revision 1.63  2008-01-23 22:44:25  dzeus
 - rel. 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pdns.spec?r1=1.63&r2=1.64&f=u



More information about the pld-cvs-commit mailing list