]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- add pkgconfig patch to fix cflags and add missing lib to ldlibs
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 18 Oct 2020 23:15:35 +0000 (01:15 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 18 Oct 2020 23:15:35 +0000 (01:15 +0200)
pkgconfig.patch [new file with mode: 0644]
rpm.spec

diff --git a/pkgconfig.patch b/pkgconfig.patch
new file mode 100644 (file)
index 0000000..d4f39e6
--- /dev/null
@@ -0,0 +1,11 @@
+--- rpm-4.16.0/rpm.pc.in.orig  2020-05-28 12:04:25.000000000 +0200
++++ rpm-4.16.0/rpm.pc.in       2020-10-18 23:32:46.339081527 +0200
+@@ -11,6 +11,6 @@
+ URL: http://rpm.org
+ Requires.private: @ZSTD_REQUIRES@
+ # Conflicts:
+-Cflags: -I${includedir}
+-Libs: -L${libdir} -lrpm -lrpmio
++Cflags: -I${includedir}/rpm
++Libs: -L${libdir} -lrpm -lrpmio -lrpmbuild
+ Libs.private: -lpopt -lrt -lpthread @WITH_LZMA_LIB@ @WITH_DB_LIB@ @WITH_BZ2_LIB@ @WITH_ZLIB_LIB@ @WITH_BEECRYPT_LIB@ @WITH_NSS_LIB@ @LUA_LIBS@
index 35e2370ce9882ccd1dde8eb1d4d818458429aaa3..246a4029bc4131c1e813926dd6baab53790b2a82 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -69,6 +69,7 @@ Patch15:      x32.patch
 Patch16:       rpm5-db-compat.patch
 Patch17:       python-internal-build.patch
 Patch18:       rpmversion.patch
+Patch19:       pkgconfig.patch
 URL:           https://rpm.org/
 BuildRequires: db-devel >= %{db_ver}
 BuildRequires: autoconf >= 2.63
@@ -553,6 +554,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
 
 install %{SOURCE15} scripts/perl.prov.in
 
This page took 0.046141 seconds and 4 git commands to generate.