From a727b83745d58d302739c63d6bd75a2add3b4510c5df5ae1e8f15e82fc4f742d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 23 Jul 2021 16:47:23 +0000 Subject: [PATCH] restore trimmed changelog, adjust .pc files to not contain -suse OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=21 --- libcamera.changes | 8 +++++++- libcamera.spec | 8 +++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libcamera.changes b/libcamera.changes index e800230..0821e4a 100644 --- a/libcamera.changes +++ b/libcamera.changes @@ -1,8 +1,14 @@ ------------------------------------------------------------------- -Wed May 5 07:01:02 UTC 2021 - Jan Engelhardt +Fri Jul 23 16:39:41 UTC 2021 - Jan Engelhardt - Update to snapshot 0~2809 (e0704e97) [boo#1188650] * cam: support using multiple cameras concurrently + +------------------------------------------------------------------- +Wed May 5 07:01:02 UTC 2021 - Jan Engelhardt + +- Update to snapshot 0~2532 (093b71b2) + * No changelog available, understandably. - Add -Wno-error ------------------------------------------------------------------- diff --git a/libcamera.spec b/libcamera.spec index 0936edf..bceb605 100644 --- a/libcamera.spec +++ b/libcamera.spec @@ -110,11 +110,13 @@ export CXXFLAGS="$CFLAGS" %install %meson_install -# Together with patch1, this makes for the "-release" feature from libtool +# libtool's -release would be so much more direct, but alas, meson... mv "%buildroot/%_libdir/libcamera-suse.so" "%buildroot/%_libdir/libcamera.so" -perl -i -pe 's{-lcamera-suse}{-lcamera}' "%buildroot/%_libdir/pkgconfig"/*.pc mv "%buildroot/%_libdir/libcamera-base-suse.so" "%buildroot/%_libdir/libcamera-base.so" -perl -i -pe 's{-lcamera-base-suse}{-lcamera-base}' "%buildroot/%_libdir/pkgconfig"/*.pc +mv "%buildroot/%_libdir/pkgconfig/libcamera-suse.pc" "%buildroot/%_libdir/pkgconfig/libcamera.pc" +mv "%buildroot/%_libdir/pkgconfig/libcamera-base-suse.pc" "%buildroot/%_libdir/pkgconfig/libcamera-base.pc" +perl -i -pe 's{camera-suse}{camera}' "%buildroot/%_libdir/pkgconfig"/*.pc +perl -i -pe 's{camera-base-suse}{camera-base}' "%buildroot/%_libdir/pkgconfig"/*.pc %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig