SPECS: amanda.spec - added .amandahosts file to amanda-libs packag...

kosmo kosmo at pld-linux.org
Thu Aug 4 11:35:32 CEST 2005


Author: kosmo                        Date: Thu Aug  4 09:35:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added .amandahosts file to amanda-libs package
- fixed files permissions
- release 1

---- Files affected:
SPECS:
   amanda.spec (1.129 -> 1.130) 

---- Diffs:

================================================================
Index: SPECS/amanda.spec
diff -u SPECS/amanda.spec:1.129 SPECS/amanda.spec:1.130
--- SPECS/amanda.spec:1.129	Mon Jul 25 10:41:09 2005
+++ SPECS/amanda.spec	Thu Aug  4 11:35:26 2005
@@ -7,7 +7,7 @@
 Summary(pl):	Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:		amanda
 Version:	2.4.5
-Release:	0.1
+Release:	1
 License:	BSD
 Group:		Networking/Utilities
 Source0:	http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
@@ -180,6 +180,7 @@
 
 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/amanda
+touch $RPM_BUILD_ROOT%{_localstatedir}/amanda/.amandahosts
 
 > $RPM_BUILD_ROOT%{_sysconfdir}/amandates
 
@@ -241,7 +242,8 @@
 %attr(755,root,root) %{_libdir}/libamanda*.so
 %attr(755,root,root) %{_libdir}/libamtape*.so
 %dir %{_libexecdir}
-%attr(770,amanda,amanda) %dir %{_localstatedir}/amanda
+%attr(770,root,amanda) %dir %{_localstatedir}/amanda
+%attr(640,root,amanda) %config(noreplace) %verify(not md5 mtime size) %{_localstatedir}/amanda/.amandahosts
 
 %files server
 %defattr(644,root,root,755)
@@ -249,10 +251,10 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
 
-%attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
-%config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/*
+%attr(750,root,amanda) %dir %{_sysconfdir}/amanda
+%config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/*
 
-%attr(664,amanda,amanda) %{_localstatedir}/amanda/*.ps
+%attr(664,root,amanda) %{_localstatedir}/amanda/*.ps
 
 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
 
@@ -343,7 +345,7 @@
 %attr(755,root,root) %{_sbindir}/ammt
 %attr(755,root,root) %{_sbindir}/amrecover
 %attr(755,root,root) %{_sbindir}/amrestore
-%attr(770,amanda,amanda) %dir %{_localstatedir}/amanda/gnutar-lists
+%attr(770,root,amanda) %dir %{_localstatedir}/amanda/gnutar-lists
 %{_mandir}/man8/amdd.8*
 %{_mandir}/man8/ammt.8*
 %{_mandir}/man8/amrecover.8*
@@ -355,6 +357,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.130  2005/08/04 09:35:26  kosmo
+- added .amandahosts file to amanda-libs package
+- fixed files permissions
+- release 1
+
 Revision 1.129  2005/07/25 08:41:09  zboczuch
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/amanda.spec?r1=1.129&r2=1.130&f=u




More information about the pld-cvs-commit mailing list