SPECS: yum.spec - rename pld-source.repo to pld.repo; rel 3
glen
glen at pld-linux.org
Wed Apr 2 23:18:44 CEST 2008
Author: glen Date: Wed Apr 2 21:18:44 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rename pld-source.repo to pld.repo; rel 3
---- Files affected:
SPECS:
yum.spec (1.58 -> 1.59)
---- Diffs:
================================================================
Index: SPECS/yum.spec
diff -u SPECS/yum.spec:1.58 SPECS/yum.spec:1.59
--- SPECS/yum.spec:1.58 Mon Mar 10 23:04:57 2008
+++ SPECS/yum.spec Wed Apr 2 23:18:39 2008
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Narzędzie do instalowania/uaktualniania pakietów RPM
Name: yum
Version: 3.2.12
-Release: 2
+Release: 3
License: GPL
Group: Applications/System
Source0: http://linux.duke.edu/projects/yum/download/3.2/%{name}-%{version}.tar.gz
@@ -74,7 +74,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
PYLIBDIR=%{py_sitescriptdir}/..
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/yum/repos.d/pld-source.repo
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/yum/repos.d/pld.repo
install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/yum-updatesd
install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
@@ -108,6 +108,12 @@
%service -q yum-updatesd stop
fi
+%triggerpostun -- %{name} < 3.2.12-3
+if [ -f %{_sysconfdir}/yum/repos.d/pld-source.repo.rpmsave ]; then
+ cp -f %{_sysconfdir}/yum/repos.d/pld.repo{,.rpmnew}
+ mv -f %{_sysconfdir}/yum/repos.d/{pld-source.repo.rpmsave,pld.repo}
+fi
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README AUTHORS TODO INSTALL ChangeLog
@@ -142,6 +148,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.59 2008-04-02 21:18:39 glen
+- rename pld-source.repo to pld.repo; rel 3
+
Revision 1.58 2008-03-10 22:04:57 arekm
- rel 2; update chroot patch from util-vserver package
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/yum.spec?r1=1.58&r2=1.59&f=u
More information about the pld-cvs-commit
mailing list