From ae5e64ce0d32b6f933639991c77ad70d20d45c1c Mon Sep 17 00:00:00 2001 From: jbj Date: Sun, 28 Dec 2003 15:46:35 +0000 Subject: [PATCH] - missing build dependency (#111104). CVS patchset: 7042 CVS date: 2003/12/28 15:46:35 --- CHANGES | 1 + rpm.spec.in | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index f26c5ca8b..cccf6ec31 100644 --- a/CHANGES +++ b/CHANGES @@ -32,6 +32,7 @@ - perl.req: avoid regex misfire on '^use' in "= <<" assign (#109934). - use perldeps {--provides|--requires}. - find-debuginfo.sh: permit stripping unwritable by non-root (#112429). + - missing build dependency (#111104). 4.2 -> 4.2.1: - fix: nested %if handling, optind initialization posix vs. glibc. diff --git a/rpm.spec.in b/rpm.spec.in index 98dd47e69..c43c8905e 100644 --- a/rpm.spec.in +++ b/rpm.spec.in @@ -33,6 +33,7 @@ Obsoletes: rpm-perl < %{version} # XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils. BuildRequires: elfutils-libelf +BuildRequires: elfutils-devel BuildRequires: zlib-devel @@ -143,10 +144,7 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \ --without-javaglue %endif -# XXX hack out O_DIRECT support in db4 for now. -perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' db3/db_config.h - -make +make %{_smp_mflags} %install # XXX rpm needs functioning nptl for configure tests