SPECS: bash-completion.spec - 644,root,wheel for rpmpkgs.txt

glen glen at pld-linux.org
Tue Jan 17 12:20:06 CET 2006


Author: glen                         Date: Tue Jan 17 11:20:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 644,root,wheel for rpmpkgs.txt

---- Files affected:
SPECS:
   bash-completion.spec (1.125 -> 1.126) 

---- Diffs:

================================================================
Index: SPECS/bash-completion.spec
diff -u SPECS/bash-completion.spec:1.125 SPECS/bash-completion.spec:1.126
--- SPECS/bash-completion.spec:1.125	Tue Jan 17 12:13:26 2006
+++ SPECS/bash-completion.spec	Tue Jan 17 12:20:00 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Programowalne uzupełnianie nazw dla basha
 Name:		bash-completion
 Version:	20050721
-Release:	3.1
+Release:	3.2
 License:	GPL
 Group:		Applications/Shells
 Source0:	http://www.caliban.org/files/bash/%{name}-%{version}.tar.bz2
@@ -84,6 +84,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post rpm-cache
+if [ ! -f /var/cache/rpmpkgs.txt ]; then
+	touch /var/cache/rpmpkgs.txt
+	chown root:wheel /var/cache/rpmpkgs.txt
+	chmod 664 /var/cache/rpmpkgs.txt
+fi
+
 %triggerpostun -- %{name} < 20050112-1
 # legacy clean-up
 sed -i -e '/^# START bash completion/,/^# END bash completion/d' /etc/bashrc
@@ -98,7 +105,7 @@
 %files rpm-cache
 %defattr(644,root,root,755)
 %attr(755,root,root) /etc/cron.daily/*
-%ghost /var/cache/rpmpkgs.txt
+%ghost %attr(664,root,wheel) /var/cache/rpmpkgs.txt
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -106,6 +113,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.126  2006/01/17 11:20:00  glen
+- 644,root,wheel for rpmpkgs.txt
+
 Revision 1.125  2006/01/17 11:13:26  glen
 - added completion for poldek
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bash-completion.spec?r1=1.125&r2=1.126&f=u



More information about the pld-cvs-commit mailing list