From: Michael Tremer Date: Fri, 23 Dec 2011 13:46:37 +0000 (+0100) Subject: db4: Make package work on x86_64. X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fipfire-3.x.git;a=commitdiff_plain;h=db327fe8226259791263d501dcd112f288570f64 db4: Make package work on x86_64. --- diff --git a/db4/db4.nm b/db4/db4.nm index 3fd97ebc0..0613b2467 100644 --- a/db4/db4.nm +++ b/db4/db4.nm @@ -7,7 +7,7 @@ name = db4 version_major = 4.8 version_minor = 30 version = %{version_major}.%{version_minor} -release = 2 +release = 3 epoch = 1 thisapp = db-%{version} @@ -35,11 +35,13 @@ build cd %{DIR_APP}/build_unix CC=gcc \ ../dist/configure \ - --prefix=/usr \ + %{configure_options} \ --enable-compat185 \ --enable-cxx \ --disable-static + %{MACRO_FIX_LIBTOOL} + make %{PARALLELISMFLAGS} end @@ -59,8 +61,7 @@ packages # Overwrite because of epoch != 0. requires = %{name}=%{epoch}:%{thisver} - files += \ - !/usr/lib*/libdb-%{version_major}.so + files += !%{libdir}/libdb-%{version_major}.so end package db4-utils @@ -77,7 +78,7 @@ packages description = %{summary} files - /usr/lib*/libdb_cxx-%{version_major}.so + %{libdir}/libdb_cxx-%{version_major}.so end end