From 56ce7f0f34bda080728582327ad8419f1922de0a19ba72565fda9e6ba5a0c563 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 28 Dec 2018 14:26:38 +0000 Subject: [PATCH] address .pc content OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=5 --- libcamera.spec | 1 + 1 file changed, 1 insertion(+) 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