SPECS: ebtables.spec - macros usage, config() flags, .so perms

qboosh qboosh at pld-linux.org
Mon Jul 24 19:46:20 CEST 2006


Author: qboosh                       Date: Mon Jul 24 17:46:20 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- macros usage, config() flags, .so perms

---- Files affected:
SPECS:
   ebtables.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/ebtables.spec
diff -u SPECS/ebtables.spec:1.10 SPECS/ebtables.spec:1.11
--- SPECS/ebtables.spec:1.10	Mon Jul 24 16:11:38 2006
+++ SPECS/ebtables.spec	Mon Jul 24 19:46:15 2006
@@ -45,11 +45,10 @@
 
 install -d $RPM_BUILD_ROOT%{_sbindir}
 install -d $RPM_BUILD_ROOT%{_sysconfdir}
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
-install -d $RPM_BUILD_ROOT%{_mandir}
+install -d $RPM_BUILD_ROOT/etc/sysconfig
 install -d $RPM_BUILD_ROOT%{_mandir}/man8
 install -d $RPM_BUILD_ROOT%{_libdir}/ebtables
-install -d $RPM_BUILD_ROOT%{_initrddir}
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 install ebtables		$RPM_BUILD_ROOT%{_sbindir}
 install ebtables-restore	$RPM_BUILD_ROOT%{_sbindir}
@@ -63,9 +62,9 @@
 sed -i "s/__EXEC_PATH__/$__iets/g" ebtables-save
 install ebtables-save 		$RPM_BUILD_ROOT%{_sbindir}
 sed -i "s/__EXEC_PATH__/$__iets/g" ebtables.sysv; sed -i "s/__SYSCONFIG__/$__iets2/g" ebtables.sysv
-install ebtables.sysv		$RPM_BUILD_ROOT%{_initrddir}/ebtables
+install ebtables.sysv		$RPM_BUILD_ROOT/etc/rc.d/init.d/ebtables
 sed -i "s/__SYSCONFIG__/$__iets2/g" ebtables-config
-install ebtables-config		$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
+install ebtables-config		$RPM_BUILD_ROOT/etc/sysconfig
 unset __iets
 unset __iets2
 
@@ -83,13 +82,14 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog COPYING INSTALL THANKS
-%doc %{_mandir}/man8/ebtables.8*
-%config %{_sysconfdir}/ethertypes
-%config %{_sysconfdir}/sysconfig/ebtables-config
-%attr(755,root,root) %{_initrddir}/ebtables
+%doc ChangeLog INSTALL THANKS
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ethertypes
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ebtables-config
+%attr(755,root,root) /etc/rc.d/init.d/ebtables
 %attr(755,root,root) %{_sbindir}/*
-%{_libdir}/ebtables/
+%dir %{_libdir}/ebtables
+%attr(755,root,root) %{_libdir}/ebtables/*.so
+%{_mandir}/man8/ebtables.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -97,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/07/24 17:46:15  qboosh
+- macros usage, config() flags, .so perms
+
 Revision 1.10  2006/07/24 14:11:38  mguevara
 - 2.0.8-0.rc2.1 (aka 2.0.8 rc2) update
 
================================================================

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



More information about the pld-cvs-commit mailing list