OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 14-Nov-2006 13:25:34
Branch: HEAD Handle: 2006111412253400
Modified files:
openpkg-src/yum yum.spec
Log:
upgrading package: yum 2.4.3 -> 3.0.1
Summary:
Revision Changes Path
1.8 +12 -8 openpkg-src/yum/yum.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/yum/yum.spec
============================================================================
$ cvs diff -u -r1.7 -r1.8 yum.spec
--- openpkg-src/yum/yum.spec 13 Oct 2006 17:36:17 -0000 1.7
+++ openpkg-src/yum/yum.spec 14 Nov 2006 12:25:34 -0000 1.8
@@ -23,8 +23,8 @@
##
# package version
-%define V_yum_major 2.4
-%define V_yum_minor 3
+%define V_yum_major 3.0
+%define V_yum_minor 1
# package information
Name: yum
@@ -37,7 +37,7 @@
Group: Bootstrapping
License: GPL
Version: %{V_yum_major}.%{V_yum_minor}
-Release: 20061013
+Release: 20061114
# list of sources
Source0:
http://linux.duke.edu/projects/yum/download/%{V_yum_major}/yum-%{version}.tar.gz
@@ -75,10 +75,9 @@
%{l_shtool} subst \
-e 's;$(PYVER);;g' \
yum/Makefile rpmUtils/Makefile repomd/Makefile
- %{l_shtool} subst \
- -e 's;^#!/usr/bin/python;#!%{l_prefix}/bin/python;' \
- `find . -name "*.py" -print` \
- bin/yum-arch
+ find . -name "*.py" -print |\
+ xargs %{l_shtool} subst \
+ -e 's;^#!/usr/bin/python;#!%{l_prefix}/bin/python;'
%build
%{l_make} %{l_mflags -O}
@@ -90,7 +89,12 @@
$RPM_BUILD_ROOT%{l_prefix}/man/man5 \
$RPM_BUILD_ROOT%{l_prefix}/man/man8
%{l_make} %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT"
- %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/etc/yum/rc.d
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/etc/yum/logrotate.d
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/etc/yum/dbus-1
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%config %{l_prefix}/etc/yum/*/*.conf'
%files -f files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]