aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-06-21 16:25:38 +0000
committerFrancois Pons <fpons@mandriva.com>2001-06-21 16:25:38 +0000
commit4cef6c365db4acae492aa687a24c7911ff9d650d (patch)
tree3dbc7dc5075199c6f71505ce0c75ca32d263b218 /Makefile
parent650038fa7aa8bfe8c2d3c18c12921c65d02bc201 (diff)
downloadrpmtools-4cef6c365db4acae492aa687a24c7911ff9d650d.tar
rpmtools-4cef6c365db4acae492aa687a24c7911ff9d650d.tar.gz
rpmtools-4cef6c365db4acae492aa687a24c7911ff9d650d.tar.bz2
rpmtools-4cef6c365db4acae492aa687a24c7911ff9d650d.tar.xz
rpmtools-4cef6c365db4acae492aa687a24c7911ff9d650d.zip
new 3.0 release, see rpmtools.spec.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6075c16..5b5f831 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = 2.3
+VERSION = 3.0
NAME = rpmtools
FROMC = parsehdlist rpm2header #rpm-find-leaves
FROMCC = #gendepslist2 hdlist2names hdlist2files hdlist2prereq hdlist2groups
@@ -7,7 +7,7 @@ FROMCC_STATIC = $(FROMCC:%=%_static)
ALL = $(FROMC) $(FROMCC)
ALL_STATIC = $(FROMC_STATIC) $(FROMCC_STATIC)
CFLAGS = -Wall -g
-LIBRPM = -lrpm -lrpmio -lrpmdb -lz -lbz2 -I/usr/include/rpm -lpopt
+LIBRPM = -lrpm -lrpmio `perl -e 'use rpmtools; rpmtools::version_compare(qx(rpm -q --qf %{VERSION} rpm), "4.0.3") >= 0 and print "-lrpmdb"'` -lz -lbz2 -I/usr/include/rpm -lpopt
LIBRPM_STATIC =
all: $(ALL)