Change in simtrace2[master]: host/contrib/simtrace2.spec.in: fix soname

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Fri Dec 10 09:07:35 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/26487 )


Change subject: host/contrib/simtrace2.spec.in: fix soname
......................................................................

host/contrib/simtrace2.spec.in: fix soname

Adjust the soname in the rpm recipe too, to fix:
  error: File not found: /home/abuild/rpmbuild/BUILDROOT/simtrace2-0.8.0.202112100026-1.1.x86_64/usr/lib64/libosmo-simtrace2.so.0*

Change-Id: I748f44409ac736abbd5c18e31ae02d025dee2c77
---
M host/contrib/simtrace2.spec.in
1 file changed, 7 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/87/26487/1

diff --git a/host/contrib/simtrace2.spec.in b/host/contrib/simtrace2.spec.in
index ca62ad5..1c47f5e 100644
--- a/host/contrib/simtrace2.spec.in
+++ b/host/contrib/simtrace2.spec.in
@@ -38,11 +38,11 @@
 
 This package contains SIMtrace 2 host utility.
 
-%package -n libosmo-simtrace2-0
+%package -n libosmo-simtrace2-1
 Summary:        Shared Library part of libosmo-simtrace2
 Group:          System/Libraries
 
-%description -n libosmo-simtrace2-0
+%description -n libosmo-simtrace2-1
 This library contains core "driver" functionality to interface with the
 Osmocom SIMtrace2 (and compatible) USB device firmware.  It enables
 applications to implement SIM card / smart card tracing as well as
@@ -51,7 +51,7 @@
 %package -n libosmo-simtrace2-devel
 Summary:        Development files for the Osmocom SIMtrace2 library
 Group:          Development/Libraries/C and C++
-Requires:       libosmo-simtrace2-0 = %{version}
+Requires:       libosmo-simtrace2-1 = %{version}
 
 %description -n libosmo-simtrace2-devel
 Osmocom SIMtrace2 (and compatible) USB device firmware.  It enables
@@ -76,8 +76,8 @@
 install -Dm0644 host/contrib/99-simtrace2.rules %{buildroot}/%{_udevrulesdir}/99-simtrace2.rules
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post   -n libosmo-simtrace2-0 -p /sbin/ldconfig
-%postun -n libosmo-simtrace2-0 -p /sbin/ldconfig
+%post   -n libosmo-simtrace2-1 -p /sbin/ldconfig
+%postun -n libosmo-simtrace2-1 -p /sbin/ldconfig
 
 %files
 %doc README.md
@@ -87,8 +87,8 @@
 %{_bindir}/simtrace2-tool
 %{_udevrulesdir}/99-simtrace2.rules
 
-%files -n libosmo-simtrace2-0
-%{_libdir}/libosmo-simtrace2.so.0*
+%files -n libosmo-simtrace2-1
+%{_libdir}/libosmo-simtrace2.so.1*
 
 %files -n libosmo-simtrace2-devel
 %dir %{_includedir}/osmocom/

-- 
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/26487
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I748f44409ac736abbd5c18e31ae02d025dee2c77
Gerrit-Change-Number: 26487
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211210/d2550def/attachment.htm>


More information about the gerrit-log mailing list