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
This commit is contained in:
Oliver Smith 2021-12-10 09:45:08 +01:00
parent 45a8f2beee
commit 24a9ee8ae6
1 changed files with 7 additions and 7 deletions

View File

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