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
This commit is contained in:
Jan Engelhardt 2022-02-22 14:52:17 +00:00 committed by Git OBS Bridge
parent 77afd510e2
commit 74fc366813
2 changed files with 8 additions and 1 deletions

View File

@ -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 <dfaggioli@suse.com>

View File

@ -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