aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.spec
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-06-06 13:34:46 +0000
committerFrancois Pons <fpons@mandriva.com>2001-06-06 13:34:46 +0000
commit64aaa2635e372f388137778e2998e6bafb76afd6 (patch)
tree23c870639bc913e23b9b6337d5de4bf9c9946ee2 /rpmtools.spec
parent6de0ff3b3f1739639690884c5b03519b81dcfce7 (diff)
downloadrpmtools-64aaa2635e372f388137778e2998e6bafb76afd6.tar
rpmtools-64aaa2635e372f388137778e2998e6bafb76afd6.tar.gz
rpmtools-64aaa2635e372f388137778e2998e6bafb76afd6.tar.bz2
rpmtools-64aaa2635e372f388137778e2998e6bafb76afd6.tar.xz
rpmtools-64aaa2635e372f388137778e2998e6bafb76afd6.zip
fix ordering of packages to avoid some nasty loop in prerequisite chain
as for GConf and libGConf currently.
Diffstat (limited to 'rpmtools.spec')
-rw-r--r--rpmtools.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index 307caf1..7251d94 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,9 +1,11 @@
%define name rpmtools
-%define release 22mdk
+%define release 23mdk
# do not modify here, see Makefile in the CVS
%define version 2.3
+%{expand:%%define perlbase_version %(rpm -q --queryformat '%{VERSION}' perl-base)}
+
Summary: Contains various rpm command-line tools
Name: %{name}
Version: %{version}
@@ -16,7 +18,7 @@ Group: System/Configuration/Packaging
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
BuildRequires: rpm-devel >= 4.0 bzip2 popt-devel zlib-devel libbzip2-devel db1-devel db2-devel db3-devel perl-devel
-Requires: /usr/bin/perl rpm >= 4.0 bzip2 >= 1.0
+Requires: perl-base = %{perlbase_version} rpm >= 4.0 bzip2 >= 1.0
Obsoletes: rpmtools-compat <= 2.0 rpmtools-devel <= 2.0
%description
@@ -51,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/perl5/man/*/*
%changelog
+* Wed Jun 6 2001 François Pons <fpons@mandrakesoft.com> 2.3-23mdk
+- added require on perl-base version used for build.
+- fix ordering package to choose libXXX before XXX.
+
* Tue May 22 2001 François Pons <fpons@mandrakesoft.com> 2.3-22mdk
- added arch support.