SHA256
1
0
forked from pool/shaderc

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
This commit is contained in:
Jan Engelhardt 2022-11-25 10:22:52 +00:00 committed by Git OBS Bridge
parent 87b12a2a77
commit 4186bfa48b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 25 10:20:34 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Drop pkgconfig files for not provided static libraries
-------------------------------------------------------------------
Mon Oct 24 20:29:48 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

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