SHA256
1
0
forked from pool/spdlog

- version instead of sover

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=68
This commit is contained in:
Bernd Ritter 2022-10-24 21:07:58 +00:00 committed by Git OBS Bridge
parent e80d984e76
commit 52615835d4
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 24 21:07:43 UTC 2022 - Bernd Ritter <comrad@posteo.de>
- version instead of sover
-------------------------------------------------------------------
Mon Oct 24 20:55:56 UTC 2022 - Bernd Ritter <comrad@posteo.de>

View File

@ -85,9 +85,9 @@ test -x "$(type -p g++-8)" && export CXX=g++-8
export LD_LIBRARY_PATH="%{_builddir}/%{name}-%{version}/build"
%ctest
%post -n lib%{name}%{_sover} -p /sbin/ldconfig
%post -n lib%{name}.so.%{version} -p /sbin/ldconfig
%postun -n lib%{name}%{_sover} -p /sbin/ldconfig
%postun -n lib%{name}.so.%{version} -p /sbin/ldconfig
%files devel
%license LICENSE
@ -97,7 +97,7 @@ export LD_LIBRARY_PATH="%{_builddir}/%{name}-%{version}/build"
%{_libdir}/cmake/%{name}
%{_libdir}/pkgconfig/%{name}.pc
%files -n lib%{name}%{_sover}
%{_libdir}/lib%{name}%{_sover}.so
%files -n lib%{name}.so.%{version}
%{_libdir}/lib%{name}.so.%{version}
%changelog