diff --git a/libcamera.spec b/libcamera.spec index 2548a1d..eedb392 100644 --- a/libcamera.spec +++ b/libcamera.spec @@ -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