SPECS: awffull.spec - removed wrong sysconfdir macro usage

qboosh qboosh at pld-linux.org
Wed Oct 25 14:45:41 CEST 2006


Author: qboosh                       Date: Wed Oct 25 12:45:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed wrong sysconfdir macro usage

---- Files affected:
SPECS:
   awffull.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/awffull.spec
diff -u SPECS/awffull.spec:1.11 SPECS/awffull.spec:1.12
--- SPECS/awffull.spec:1.11	Wed Oct 25 14:42:14 2006
+++ SPECS/awffull.spec	Wed Oct 25 14:45:36 2006
@@ -41,16 +41,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{%{name},sysconfig,cron.d},%{_sbindir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},/etc/{sysconfig,cron.d},%{_sbindir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
 install %{name}_history_regen.pl %{_sbindir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/%{name}.cron
-install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/%{name}
 
 %find_lang %{name}
 
@@ -60,10 +60,10 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc ChangeLog *README* TODO flags
+%attr(2755,root,stats) %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-%attr(2755,root,stats) %dir %{_sysconfdir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_sbindir}/%{name}.cron
 %attr(755,root,root) %{_sbindir}/%{name}_history_regen.pl
@@ -75,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/10/25 12:45:36  qboosh
+- removed wrong sysconfdir macro usage
+
 Revision 1.11  2006/10/25 12:42:14  blues
 - TODO is back and more docs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/awffull.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list