summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-11-29 21:35:53 +0000
committerjbj <devnull@localhost>2002-11-29 21:35:53 +0000
commitfc990ef48b29b1b5995d9fe5ef229bb223ad5095 (patch)
tree487fa0ecc9a34ff4a36e744a917b44682ac5c618
parenta972f919a69bafb970237b102048699cfa81b3f9 (diff)
downloadlibrpm-tizen-fc990ef48b29b1b5995d9fe5ef229bb223ad5095.tar.gz
librpm-tizen-fc990ef48b29b1b5995d9fe5ef229bb223ad5095.tar.bz2
librpm-tizen-fc990ef48b29b1b5995d9fe5ef229bb223ad5095.zip
- build with external elfutils (preferred), if available.
CVS patchset: 5900 CVS date: 2002/11/29 21:35:53
-rw-r--r--CHANGES1
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh20
-rw-r--r--build/Makefile.am2
-rw-r--r--configure.ac45
-rw-r--r--doc/rpm.84
-rw-r--r--po/cs.po2
-rw-r--r--po/da.po2
-rw-r--r--po/de.po2
-rw-r--r--po/fi.po2
-rw-r--r--po/fr.po2
-rw-r--r--po/gl.po2
-rw-r--r--po/is.po2
-rw-r--r--po/ja.po2
-rw-r--r--po/ko.po2
-rw-r--r--po/no.po2
-rw-r--r--po/pl.po2
-rw-r--r--po/pt.po2
-rw-r--r--po/pt_BR.po2
-rw-r--r--po/ro.po2
-rw-r--r--po/rpm.pot2
-rw-r--r--po/ru.po2
-rw-r--r--po/sk.po2
-rw-r--r--po/sl.po4
-rw-r--r--po/sr.po2
-rw-r--r--po/sv.po2
-rw-r--r--po/tr.po2
-rw-r--r--rpm.spec.in6
-rwxr-xr-xrpmqv.c2
-rw-r--r--tools/Makefile.am1
30 files changed, 78 insertions, 49 deletions
diff --git a/CHANGES b/CHANGES
index bd10443a8..d88c85626 100644
--- a/CHANGES
+++ b/CHANGES
@@ -32,6 +32,7 @@
- apply patches 7 and 8 to db-4.1.24.
- upgrade to elfutils-0.59.
- add -g to all platforms optflags.
+ - build with external elfutils (preferred), if available.
4.0.4 -> 4.1:
- loosely wire beecrypt library into rpm.
diff --git a/Makefile.am b/Makefile.am
index 51c2eb267..42168c3db 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,7 +14,7 @@ EXTRA_DIST = CHANGES CREDITS Doxyheader GROUPS README.amiga INSTALL \
po/*.in po/*.po po/rpm.pot \
rpm.magic rpmpopt-$(VERSION) rpmqv.c rpm.c
-SUBDIRS = intl po @WITH_ZLIB_SUBDIR@ elfutils file @WITH_DB_SUBDIR@ popt beecrypt rpmio rpmdb lib build misc @WITH_PYTHON_SUBDIR@ tools scripts tests doc .
+SUBDIRS = intl po @WITH_ZLIB_SUBDIR@ @WITH_ELFUTILS_SUBDIR@ file @WITH_DB_SUBDIR@ popt beecrypt rpmio rpmdb lib build misc @WITH_PYTHON_SUBDIR@ tools scripts tests doc .
INCLUDES = \
-I$(top_srcdir)/build \
diff --git a/autogen.sh b/autogen.sh
index cec02e8b1..41a5a208e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,11 +20,21 @@ recent versions of libtool/autoconf/automake.
[ "`autoconf --version | head -1`" != "$ACV" ] && echo "$USAGE" && exit 1
[ "`automake --version | head -1 | sed -e 's/1\.4[a-z]/1.4/'`" != "$AMV" ] && echo "$USAGE" && exit 1
-(echo "--- popt"; cd popt; ./autogen.sh --noconfigure "$@")
-(echo "--- zlib"; cd zlib; ./autogen.sh --noconfigure "$@")
-(echo "--- beecrypt"; cd beecrypt; ./autogen.sh --noconfigure "$@")
-(echo "--- elfutils"; cd elfutils; ./autogen.sh --noconfigure "$@")
-(echo "--- file"; cd file; ./autogen.sh --noconfigure "$@")
+if [ -d popt ]; then
+ (echo "--- popt"; cd popt; ./autogen.sh --noconfigure "$@")
+fi
+if [ -d zlib ]; then
+ (echo "--- zlib"; cd zlib; ./autogen.sh --noconfigure "$@")
+fi
+if [ -d beecrypt ]; then
+ (echo "--- beecrypt"; cd beecrypt; ./autogen.sh --noconfigure "$@")
+fi
+if [ -d elfutils ]; then
+ (echo "--- elfutils"; cd elfutils; ./autogen.sh --noconfigure "$@")
+fi
+if [ -d file ]; then
+ (echo "--- file"; cd file; ./autogen.sh --noconfigure "$@")
+fi
echo "--- rpm"
libtoolize --copy --force
diff --git a/build/Makefile.am b/build/Makefile.am
index 1187a6241..56e65de8c 100644
--- a/build/Makefile.am
+++ b/build/Makefile.am
@@ -43,6 +43,8 @@ $(top_builddir)/file/listobjs:
done
touch $@
+rpmfc.c: rpmfile.h
+
clean-local:
rm -f $(FILELOBJS) *.o .created rpmfile.h
diff --git a/configure.ac b/configure.ac
index d39279feb..46fdd7cd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -364,39 +364,52 @@ dnl
dnl Checks for libraries.
-WITH_LIBELF_SUBDIR=
+oCPPFLAGS="$CPPFLAGS"
+WITH_ELFUTILS_SUBDIR=
+if test -d /usr/include/elfutils; then
+ CPPFLAGS="$CPPFLAGS -I/usr/include/elfutils"
+elif test -d ./elfutils; then
+ WITH_ELFUTILS_SUBDIR=elfutils
+fi
+AC_SUBST(WITH_ELFUTILS_SUBDIR)
+
WITH_LIBELF_INCLUDE=
WITH_LIBELF_LIB=
-WITH_LIBELF_ARCHIVE=
+AC_CHECK_HEADER([elfutils/libelf.h])
+AC_CHECK_HEADER([elfutils/gelf.h], [
+ AC_CHECK_LIB(elf, gelf_getvernaux, [
+ WITH_LIBELF_INCLUDE="-I/usr/include/elfutils"
+ WITH_LIBELF_LIB="-lelf"
+ ])
+ ], [
if test -d elfutils/libelf ; then
AC_DEFINE(HAVE_GELF_H, 1, [Define to 1 if you have the <gelf.h> header file.])
AC_DEFINE(HAVE_LIBELF, 1, [Define to 1 if you have the `elf' library (-lelf).])
- WITH_LIBELF_SUBDIR=elfutils/libelf
- WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_LIBELF_SUBDIR}"
- WITH_LIBELF_LIB="\${top_builddir}/${WITH_LIBELF_SUBDIR}/libelf.la"
- WITH_LIBELF_ARCHIVE="\${top_builddir}/${WITH_LIBELF_SUBDIR}/.libs/libelf.a"
+ WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libelf"
+ WITH_LIBELF_LIB="\${top_builddir}/${WITH_ELFUTILS_SUBDIR}/libelf/libelf.la"
fi
-AC_SUBST(WITH_LIBELF_SUBDIR)
+])
AC_SUBST(WITH_LIBELF_INCLUDE)
AC_SUBST(WITH_LIBELF_LIB)
-AC_SUBST(WITH_LIBELF_ARCHIVE)
-WITH_LIBDWARF_SUBDIR=
WITH_LIBDWARF_INCLUDE=
WITH_LIBDWARF_LIB=
-WITH_LIBDWARF_ARCHIVE=
+AC_CHECK_HEADER([elfutils/libdwarf.h], [
+ AC_CHECK_LIB(dwarf, dwarf_init, [
+ WITH_LIBDWARF_INCLUDE="-I/usr/include/elfutils"
+ WITH_LIBDWARF_LIB="-ldwarf"
+ ])
+ ], [
if test -d elfutils/libdwarf ; then
AC_DEFINE(HAVE_DWARF_H, 1, [Define to 1 if you have the <dwarf.h> header file.])
AC_DEFINE(HAVE_LIBDWARF, 1, [Define to 1 if you have the `dwarf' library (-ldwarf).])
- WITH_LIBDWARF_SUBDIR=elfutils/libdwarf
- WITH_LIBDWARF_INCLUDE="-I\${top_srcdir}/${WITH_LIBDWARF_SUBDIR}"
- WITH_LIBDWARF_LIB="\${top_builddir}/${WITH_LIBDWARF_SUBDIR}/libdwarf.la"
- WITH_LIBDWARF_ARCHIVE="\${top_builddir}/${WITH_LIBDWARF_SUBDIR}/.libs/libdwarf.a"
+ WITH_LIBDWARF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libdwarf"
+ WITH_LIBDWARF_LIB="\${top_builddir}/${WITH_ELFUTILS_SUBDIR}/libdwarf/libdwarf.la"
fi
-AC_SUBST(WITH_LIBDWARF_SUBDIR)
+])
AC_SUBST(WITH_LIBDWARF_INCLUDE)
AC_SUBST(WITH_LIBDWARF_LIB)
-AC_SUBST(WITH_LIBDWARF_ARCHIVE)
+CPPFLAGS="$oCPPFLAGS"
AC_CHECK_FUNC(setreuid, [], [
AC_CHECK_LIB(ucb, setreuid, [if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi])
diff --git a/doc/rpm.8 b/doc/rpm.8
index faebb5b84..43f67930f 100644
--- a/doc/rpm.8
+++ b/doc/rpm.8
@@ -23,7 +23,7 @@ rpm \- RPM Package Manager
-\fBrpm\fR {\fB-K|--checksig\fR} [\fB--nogpg\fR] [\fB--nopgp\fR] [\fB--nomd5\fR]
+\fBrpm\fR {\fB-K|--checksig\fR} [\fB--nosignature\fR] [\fB--nodigest\fR]
\fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
.SS "INSTALLING, UPGRADING, AND REMOVING PACKAGES:"
@@ -737,7 +737,7 @@ The general forms of rpm digital signature commands are
\fBrpm\fR \fB--import\fR \fB\fIPUBKEY\fB\fR\fI ...\fR
-\fBrpm\fR {\fB--checksig\fR} [\fB--nogpg\fR] [\fB--nopgp\fR] [\fB--nomd5\fR]
+\fBrpm\fR {\fB--checksig\fR} [\fB--nosignature\fR] [\fB--nodigest\fR]
\fB\fIPACKAGE_FILE\fB\fR\fI ...\fR
.PP
diff --git a/po/cs.po b/po/cs.po
index 8cea35e4e..48935776b 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2001-07-24 10:02+0100\n"
"Last-Translator: Milan Kerslager <kerslage@linux.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
diff --git a/po/da.po b/po/da.po
index 9e1b8be15..8610bc1f9 100644
--- a/po/da.po
+++ b/po/da.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2001-04-05 23:03GMT\n"
"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
diff --git a/po/de.po b/po/de.po
index e439ee579..c7b1d1322 100644
--- a/po/de.po
+++ b/po/de.po
@@ -37,7 +37,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 1998-08-03 18:02+02:00\n"
"Last-Translator: Karl Eichwalder <ke@SuSE.DE>\n"
"Language-Team: German <de@li.org>\n"
diff --git a/po/fi.po b/po/fi.po
index ec9138091..49642729c 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 1998-05-02 21:41:47-0400\n"
"Last-Translator: Raimo Koski <rkoski@pp.weppi.fi>\n"
"Language-Team: Finnish <linux@sot.com>\n"
diff --git a/po/fr.po b/po/fr.po
index 2477636f7..24d901622 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/po/gl.po b/po/gl.po
index 29adae063..dcc77a831 100644
--- a/po/gl.po
+++ b/po/gl.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.1\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2001-01-13 22:31+0100\n"
"Last-Translator: Jesús Bravo Álvarez <jba@pobox.com>\n"
"Language-Team: Galician <trasno@ceu.fi.udc.es>\n"
diff --git a/po/is.po b/po/is.po
index ef05e7e05..eafdf1634 100644
--- a/po/is.po
+++ b/po/is.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2001-07-12 13:25+0000\n"
"Last-Translator: Richard Allen <ra@hp.is>\n"
"Language-Team: is <kde-isl@mmedia.is>\n"
diff --git a/po/ja.po b/po/ja.po
index 18685285f..1e1b59b43 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 1999-12-01 22:49 +JST\n"
"Last-Translator: Kanda Mitsuru <kanda@nn.iij4u.or.jp>\n"
"Language-Team: JRPM <jrpm@linux.or.jp>\n"
diff --git a/po/ko.po b/po/ko.po
index 41b806a17..84e9421e1 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.4\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2002-03-04 17:17+0900\n"
"Last-Translator: Jong-Hoon Ryu <redhat4u@netian.com>\n"
"Language-Team: GNU Translation project <ko@li.org>\n"
diff --git a/po/no.po b/po/no.po
index 04284a33c..06ab95830 100644
--- a/po/no.po
+++ b/po/no.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2001-06-27 12:24+0200\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
"Language-Team: Norwegian <no@li.org>\n"
diff --git a/po/pl.po b/po/pl.po
index ae1768a13..de4d75932 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 1999-05-25 17:00+0100\n"
"Last-Translator: Pawe³ Dziekoñski <pdziekonski@mml.ch.pwr.wroc.pl>\n"
"Language-Team: Polish <pl@li.org>\n"
diff --git a/po/pt.po b/po/pt.po
index 0a33a8b74..17e922f87 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2002-02-14 10:51+0000\n"
"Last-Translator: José Nuno Coelho Sanarra Pires <jncp@rnl.ist.utl.pt>\n"
"Language-Team: pt <morais@kde.org\n"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index d0a6af658..6e0b0e20b 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8-bit\n"
diff --git a/po/ro.po b/po/ro.po
index 7c2befbf0..ac85ed541 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 1999-04-10 12:00+EST\n"
"Last-Translator: Cristian Gafton <gafton@redhat.com>\n"
"Language-Team: Romanian <ro@li.org>\n"
diff --git a/po/rpm.pot b/po/rpm.pot
index dd5b59077..cbd3576ce 100644
--- a/po/rpm.pot
+++ b/po/rpm.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/po/ru.po b/po/ru.po
index f0ab817e5..a49d232a4 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2002-08-27 13:36-0400\n"
"Last-Translator: Eugene Kanter, <eugene@blackcatlinux.com>\n"
"Language-Team: Black Cat Linux Team <blackcat-support@blackcatlinux.com>\n"
diff --git a/po/sk.po b/po/sk.po
index edc8972fb..3396e09ec 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 1999-04-08 21:37+02:00\n"
"Last-Translator: Stanislav Meduna <stano@eunet.sk>\n"
"Language-Team: Slovak <sk-i18n@rak.isternet.sk>\n"
diff --git a/po/sl.po b/po/sl.po
index b5dc839a8..d6645f21c 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -1,12 +1,12 @@
# -*- mode:po; coding:iso-latin-2; -*- Slovenian messages for Redhat pkg. mngr.
# Copyright (C) 2000 Free Software Foundation, Inc.
# Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2000.
-# $Id: sl.po,v 1.326 2002/11/19 18:40:47 jbj Exp $
+# $Id: sl.po,v 1.327 2002/11/29 21:36:31 jbj Exp $
#
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2000-10-08 19:05+0200\n"
"Last-Translator: Grega Fajdiga <gregor.fajdiga@telemach.net>\n"
"Language-Team: Slovenian <sl@li.org>\n"
diff --git a/po/sr.po b/po/sr.po
index d938ad6cc..f15623d8d 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-2\n"
"Content-Transfer-Encoding: 8bit\n"
diff --git a/po/sv.po b/po/sv.po
index 744a783ed..eb4251404 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.1\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2002-08-19 22:26+0200\n"
"Last-Translator: Göran Uddeborg <goeran@uddeborg.pp.se>\n"
"Language-Team: Swedish <sv@li.org>\n"
diff --git a/po/tr.po b/po/tr.po
index ba8d12fa8..f77cfe6c2 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-11-19 13:41-0500\n"
+"POT-Creation-Date: 2002-11-29 16:35-0500\n"
"PO-Revision-Date: 2001-07-05 08:02+300\n"
"Last-Translator: Nilgun Belma Buguner <nilgun@technologist.com>\n"
"Language-Team: Turkish <tr@li.org>\n"
diff --git a/rpm.spec.in b/rpm.spec.in
index 588dd3859..53030270e 100644
--- a/rpm.spec.in
+++ b/rpm.spec.in
@@ -27,6 +27,9 @@ Prereq: gawk fileutils textutils mktemp shadow-utils
Requires: popt = 1.8
Obsoletes: rpm-perl < %{version}
+# XXX not really necessary with internal elfutils
+BuildRequires: elfutils
+
%if !%{with_internal_db}
BuildRequires: db3-devel
@@ -493,11 +496,12 @@ exit 0
%{__prefix}/include/popt.h
%changelog
-* Tue Nov 26 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.13
+* Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.13
- bundle libfmagic into librpmbuild for now.
- apply patches 7 and 8 to db-4.1.24.
- upgrade to elfutils-0.59.
- add -g to all platforms optflags.
+- build with external elfutils (preferred), if available.
* Wed Nov 20 2002 Jeff Johnson <jbj@redhat.com> 4.2-0.12
- use rpmdeps rather than find-{requires,provides}.
diff --git a/rpmqv.c b/rpmqv.c
index f3e50b0e4..6e42bfb11 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -391,7 +391,7 @@ int main(int argc, const char ** argv)
else if (eflags)
bigMode = MODE_ERASE;
}
-#endif /* IAM_RPMQV */
+#endif /* IAM_RPMEIU */
#ifdef IAM_RPMK
if (bigMode == MODE_UNKNOWN || (bigMode & MODES_K)) {
diff --git a/tools/Makefile.am b/tools/Makefile.am
index b17938ba3..525131fd8 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -12,7 +12,6 @@ INCLUDES = -I. \
@WITH_LIBELF_INCLUDE@ \
@WITH_LIBDWARF_INCLUDE@ \
-I$(top_srcdir)/file \
- @WITH_ZLIB_INCLUDE@ \
@INCPATH@ \
-I$(top_srcdir)/misc