forked from pool/libcamera
Address that rpmlint report on SONAME some people observed
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=4
This commit is contained in:
parent
89bf3d723a
commit
527d872a16
@ -71,6 +71,8 @@ This subpackage contains the header files.
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
# Together with patch1, this makes for the "-release" feature from libtool
|
||||
mv "%buildroot/%_libdir/libcamera-suse.so" "%buildroot/%_libdir/libcamera.so"
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
13
vers.diff
13
vers.diff
@ -3,16 +3,19 @@ Date: 2018-12-06 12:28:42.992186963 +0100
|
||||
|
||||
Unversioned libraries suck!
|
||||
---
|
||||
lib/meson.build | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
lib/meson.build | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: libcamera-0~14.b99da21/lib/meson.build
|
||||
===================================================================
|
||||
--- libcamera-0~14.b99da21.orig/lib/meson.build
|
||||
+++ libcamera-0~14.b99da21/lib/meson.build
|
||||
@@ -3,4 +3,5 @@ sources = ['main.cpp']
|
||||
libcamera = shared_library('camera',
|
||||
@@ -1,6 +1,7 @@
|
||||
sources = ['main.cpp']
|
||||
|
||||
-libcamera = shared_library('camera',
|
||||
+libcamera = shared_library('camera-suse',
|
||||
sources,
|
||||
install : true,
|
||||
+ soversion : 'suse0',
|
||||
+ soversion : '0',
|
||||
include_directories : inc)
|
||||
|
Loading…
Reference in New Issue
Block a user