From 74fc366813b4140659e4bcfa182af415b4becc6f3988a3f54d3649f2532e2ecc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 22 Feb 2022 14:52:17 +0000 Subject: [PATCH] Accepting request 956713 from home:olh:SLE_12 - Force correct pkgconfig_dir location to fix build OBS-URL: https://build.opensuse.org/request/show/956713 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=7 --- libtracefs.changes | 5 +++++ libtracefs.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libtracefs.changes b/libtracefs.changes index f28c4c9..f8ffe72 100644 --- a/libtracefs.changes +++ b/libtracefs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 22 12:34:56 UTC 2022 - olaf@aepfle.de + +- Force correct pkgconfig_dir location to fix build + ------------------------------------------------------------------- Wed Jan 19 13:13:55 UTC 2022 - Dario Faggioli diff --git a/libtracefs.spec b/libtracefs.spec index eafb572..eb2b4f8 100644 --- a/libtracefs.spec +++ b/libtracefs.spec @@ -56,7 +56,9 @@ This subpackage contains the header files. %make_build prefix="%_prefix" %install -%make_install prefix="%_prefix" +%make_install prefix="%_prefix" \ + pkgconfig_dir=%{_libdir}/pkgconfig \ + %nil # always the same issues find "%buildroot/%_includedir" -type f -name "*.h" -exec chmod a-x {} + rm -f "%buildroot/%_libdir"/*.a