]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- use specific db version even if it's not default one
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 9 Oct 2012 18:43:25 +0000 (20:43 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 9 Oct 2012 18:43:25 +0000 (20:43 +0200)
rpm.spec

index 2dea47b067de77a9ae4e3cecf87703dccd7c29af..8a99e5a8484b5e5b36049cfc8a9b0461c1b869f7 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -901,7 +901,7 @@ sed -i \
 
 # pass CC and CXX too in case of building with some older configure macro
 # disable perl-RPM2 build, we have it in separate spec
-CPPFLAGS="%{rpmcppflags} -I/usr/include/ossp-uuid"
+CPPFLAGS="%{rpmcppflags} -I/usr/include/ossp-uuid -I/usr/include/%{reqdb_pkg}"
 %configure \
        CC="%{__newcc}" \
        CXX="%{__newcxx}" \
@@ -921,7 +921,7 @@ CPPFLAGS="%{rpmcppflags} -I/usr/include/ossp-uuid"
        CC="%{__cc}" \
        CXX="%{__cxx}" \
        CPP="%{__cpp}" \
-       libdb_la=%{_libdir}/libdb.la \
+       libdb_la=%{_libdir}/libdb-%(echo %{reqdb_pkg} | sed -e 's/^db//').la \
        pylibdir=%{py_libdir} \
        myLDFLAGS="%{rpmldflags}" \
        staticLDFLAGS=%{?with_static:-all-static}
This page took 0.044617 seconds and 4 git commands to generate.