1
0
forked from pool/libcamera

address .pc content

OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=5
This commit is contained in:
Jan Engelhardt 2018-12-28 14:26:38 +00:00 committed by Git OBS Bridge
parent 527d872a16
commit 56ce7f0f34

View File

@ -73,6 +73,7 @@ This subpackage contains the header files.
%meson_install
# Together with patch1, this makes for the "-release" feature from libtool
mv "%buildroot/%_libdir/libcamera-suse.so" "%buildroot/%_libdir/libcamera.so"
perl -i -pe 's{-lcamera-suse}{-lcamera}' "%buildroot/%_libdir/pkgconfig"/*.pc
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig