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