SPECS: amanda.spec - rel 3 - replace group backup with tape

baggins baggins at pld-linux.org
Sun Mar 1 18:09:52 CET 2009


Author: baggins                      Date: Sun Mar  1 17:09:52 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3
- replace group backup with tape

---- Files affected:
SPECS:
   amanda.spec (1.186 -> 1.187) 

---- Diffs:

================================================================
Index: SPECS/amanda.spec
diff -u SPECS/amanda.spec:1.186 SPECS/amanda.spec:1.187
--- SPECS/amanda.spec:1.186	Mon Feb 23 23:12:09 2009
+++ SPECS/amanda.spec	Sun Mar  1 18:09:47 2009
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:		amanda
 Version:	2.6.0p2
-Release:	2
+Release:	3
 License:	BSD
 Group:		Networking/Utilities
 Source0:	http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
@@ -92,6 +92,7 @@
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
+Requires:	setup >= 2.6.1-1
 Provides:	group(amanda)
 Provides:	user(amanda)
 
@@ -265,9 +266,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%triggerpostun libs -- %{name}-libs < 2.5.1p2-1
-echo "Adding amanda to disk and backup groups"
-/usr/sbin/usermod -G disk,backup amanda
+%triggerpostun libs -- %{name}-libs < 2.6.0p2-3
+echo "Adding amanda to disk and tape groups"
+/usr/sbin/usermod -G disk,tape amanda
 echo "Setting amanda shell to /bin/sh"
 /usr/bin/chsh -s /bin/sh amanda
 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
@@ -278,7 +279,7 @@
 
 %pre libs
 %groupadd -P %{name}-libs -g 80 amanda
-%useradd -P %{name}-libs -u 80 -G disk,backup -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
+%useradd -P %{name}-libs -u 80 -G disk,tape -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
 
 %postun libs
 if [ "$1" = "0" ]; then
@@ -546,6 +547,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.187  2009/03/01 17:09:47  baggins
+- rel 3
+- replace group backup with tape
+
 Revision 1.186  2009/02/23 22:12:09  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/amanda.spec?r1=1.186&r2=1.187&f=u



More information about the pld-cvs-commit mailing list