forked from jengelh/libcamera
address .pc content
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=5
This commit is contained in:
parent
527d872a16
commit
56ce7f0f34
@ -73,6 +73,7 @@ This subpackage contains the header files.
|
|||||||
%meson_install
|
%meson_install
|
||||||
# Together with patch1, this makes for the "-release" feature from libtool
|
# Together with patch1, this makes for the "-release" feature from libtool
|
||||||
mv "%buildroot/%_libdir/libcamera-suse.so" "%buildroot/%_libdir/libcamera.so"
|
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
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user