Hello community,

here is the log from the commit of package amanda for openSUSE:Factory
checked in at Wed Aug 24 16:24:53 CEST 2011.



--------
--- amanda/amanda.changes       2011-06-23 19:06:16.000000000 +0200
+++ /mounts/work_src_done/STABLE/amanda/amanda.changes  2011-08-10 
18:03:19.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Aug 10 15:45:35 UTC 2011 - [email protected]
+
+- explicit permissions for docdir (fixes failure on SLE11)
+- %pre script can now handle a situation where user doesn't exist
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ amanda.spec ++++++
--- /var/tmp/diff_new_pack.TgpaBh/_old  2011-08-24 16:22:54.000000000 +0200
+++ /var/tmp/diff_new_pack.TgpaBh/_new  2011-08-24 16:22:54.000000000 +0200
@@ -24,7 +24,7 @@
 
 Name:           amanda
 Version:        3.3.0
-Release:        1
+Release:        18
 
 PreReq:         pwdutils permissions
 
@@ -151,9 +151,11 @@
     /usr/sbin/groupadd -r amanda 2>/dev/null || :
     # if user already exists and has effective group "disk", we have to change 
this group
     # to "amanda" group and also add supplementary "tape" group see bnc#523006
+    # else - move amanda to group amanda unconditionally (ignore failures if 
amanda doesn't exist)
     /usr/bin/id -n -g amanda 2>&1 | grep "disk" >/dev/null \
         && /usr/sbin/usermod -g amanda -G tape amanda \
-        || /usr/sbin/usermod -g amanda amanda 2>&1
+        || /usr/sbin/usermod -g amanda amanda 2>&1 \
+        || :
     # this is ugly but just simple add user with "tape" and "amanda" groups 
regardless of existing user
     /usr/sbin/useradd -r -o -g amanda -G tape -u 37 -s /bin/bash \
         -c "Amanda admin" -d /var/lib/amanda amanda >/dev/null 2>&1 || :
@@ -168,12 +170,10 @@
 %verifyscript
 %verify_permissions -f /usr/lib/amanda/suidlist
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 %doc %attr(644,root,root) amanda-howto-collection.pdf ChangeLog NEWS AUTHORS 
COPYRIGHT README ReleaseNotes
+%doc %attr(755,root,root) %dir %{_docdir}/%{name}
 %doc %{_mandir}/man*/*
 %config /usr/lib/amanda/exclude.gtar
 %attr(755,root,root) %dir /usr/lib/amanda


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to