packages: yum/yum.spec - new files, dirs from 3.2.28

glen glen at pld-linux.org
Tue Mar 22 07:57:51 CET 2011


Author: glen                         Date: Tue Mar 22 06:57:51 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new files, dirs from 3.2.28

---- Files affected:
packages/yum:
   yum.spec (1.91 -> 1.92) 

---- Diffs:

================================================================
Index: packages/yum/yum.spec
diff -u packages/yum/yum.spec:1.91 packages/yum/yum.spec:1.92
--- packages/yum/yum.spec:1.91	Tue Mar 22 07:40:11 2011
+++ packages/yum/yum.spec	Tue Mar 22 07:57:46 2011
@@ -50,7 +50,7 @@
 %if %{with tests}
 BuildRequires:	python-nose
 %if %(locale -a | grep -qFx en_US.utf8; echo $?)
-BuildRequires:  glibc-localedb-all
+BuildRequires:	glibc-localedb-all
 %endif
 %endif
 Requires:	python >= 1:2.5
@@ -106,7 +106,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{rc.d,sysconfig,yum/pluginconf.d},%{_libdir}/yum-plugins,%{_datadir}/yum-plugins}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/yum/pluginconf.d,%{_libdir}/yum-plugins,%{_datadir}/yum-plugins}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
@@ -116,9 +116,11 @@
 mv $RPM_BUILD_ROOT%{_sysconfdir}/{yum/repos.d,/yum.repos.d}
 mv $RPM_BUILD_ROOT%{_sysconfdir}/{yum/yum.conf,yum.conf}
 
-cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/pld.repo
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/pld.repo
+
+# see yum.conf(5)
+touch $RPM_BUILD_ROOT/var/lib/yum/uuid
 
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} $RPM_BUILD_ROOT%{_datadir}/yum-cli
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} $RPM_BUILD_ROOT%{_datadir}/yum-cli
 
@@ -171,6 +173,8 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum.repos.d/*.repo
 
 %dir %{_sysconfdir}/yum/pluginconf.d
+%dir %{_sysconfdir}/yum/protected.d
+%dir %{_sysconfdir}/yum/vars
 
 %attr(755,root,root) %{_bindir}/yum
 
@@ -190,6 +194,8 @@
 %{_mandir}/man8/yum.8*
 
 /var/cache/yum
+%dir /var/lib/yum
+%ghost /var/lib/yum/uuid
 
 # bash-completion subpackage
 /etc/bash_completion.d/yum.bash
@@ -200,6 +206,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.92  2011/03/22 06:57:46  glen
+- new files, dirs from 3.2.28
+
 Revision 1.91  2011/03/22 06:40:11  glen
 - extra check to detect current error which tests do not catch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/yum/yum.spec?r1=1.91&r2=1.92&f=u



More information about the pld-cvs-commit mailing list