]> git.pld-linux.org Git - packages/amanda.git/commitdiff
- rel 3 auto/th/amanda-2_6_0p2-3
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2009 17:09:47 +0000 (17:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- replace group backup with tape

Changed files:
    amanda.spec -> 1.187

amanda.spec

index 032167081ac08284339b1dfb8a2f1c339585d531..49151e6e17309b471b20236b0caf137605d29bd2 100644 (file)
@@ -10,7 +10,7 @@ Summary:      A network-capable tape backup solution
 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
@@ -91,6 +91,7 @@ Requires(pre):        /usr/bin/chsh
 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)
 
@@ -264,9 +265,9 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
 %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
@@ -277,7 +278,7 @@ fi
 
 %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
This page took 0.210078 seconds and 4 git commands to generate.