From 4186bfa48bf3ad6f42ff6503bbf9931f0666ca80287b40c4f38397b0fd557e1a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 25 Nov 2022 10:22:52 +0000 Subject: [PATCH] Accepting request 1038173 from home:susnux:branches:X11:Wayland Drop pkgconfig files for not provided static libraries OBS-URL: https://build.opensuse.org/request/show/1038173 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/shaderc?expand=0&rev=40 --- shaderc.changes | 5 +++++ shaderc.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/shaderc.changes b/shaderc.changes index 7b854d2..d2da1a7 100644 --- a/shaderc.changes +++ b/shaderc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 25 10:20:34 UTC 2022 - Ferdinand Thiessen + +- Drop pkgconfig files for not provided static libraries + ------------------------------------------------------------------- Mon Oct 24 20:29:48 UTC 2022 - Jan Engelhardt diff --git a/shaderc.spec b/shaderc.spec index beaec5c..59b9eb7 100644 --- a/shaderc.spec +++ b/shaderc.spec @@ -73,7 +73,9 @@ echo "\"%version\"" >glslc/src/build-version.inc %install %cmake_install +# Remove static libraries and their pkgconfig files rm %buildroot/%_libdir/*.a +rm %buildroot/%_libdir/pkgconfig/shaderc_{static,combined}.pc %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig @@ -88,6 +90,6 @@ rm %buildroot/%_libdir/*.a %files devel %_includedir/shaderc/ %_libdir/libshaderc_shared.so -%_libdir/pkgconfig/*.pc +%_libdir/pkgconfig/shaderc.pc %changelog