SPECS (AC-branch): yum.spec - rename pld-source.repo to pld.repo; ...
glen
glen at pld-linux.org
Wed Apr 2 23:16:47 CEST 2008
Author: glen Date: Wed Apr 2 21:16:47 2008 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- rename pld-source.repo to pld.repo; rel 3
---- Files affected:
SPECS:
yum.spec (1.35.2.10 -> 1.35.2.11)
---- Diffs:
================================================================
Index: SPECS/yum.spec
diff -u SPECS/yum.spec:1.35.2.10 SPECS/yum.spec:1.35.2.11
--- SPECS/yum.spec:1.35.2.10 Mon Dec 17 18:21:10 2007
+++ SPECS/yum.spec Wed Apr 2 23:16:42 2008
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Narzędzie do instalowania/uaktualniania pakietów RPM
Name: yum
Version: 3.2.8
-Release: 2
+Release: 3
License: GPL
Group: Applications/System
Source0: http://linux.duke.edu/projects/yum/download/3.2/%{name}-%{version}.tar.gz
@@ -75,7 +75,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
@@ -107,6 +107,12 @@
%service -q yum-updatesd stop
fi
+%triggerpostun -- %{name} < 3.2.8-2.1
+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
%defattr(644,root,root,755)
%doc README AUTHORS TODO INSTALL ChangeLog
@@ -141,6 +147,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.35.2.11 2008-04-02 21:16:42 glen
+- rename pld-source.repo to pld.repo; rel 3
+
Revision 1.35.2.10 2007-12-17 17:21:10 glen
- -pl merge from HEAD
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/yum.spec?r1=1.35.2.10&r2=1.35.2.11&f=u
More information about the pld-cvs-commit
mailing list