diff options
Diffstat (limited to 'sexp.spec')
-rw-r--r-- | sexp.spec | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -15,17 +15,17 @@ Name: sexp Summary: S-expressions parser and generator tools -Version: 0.8.4 +Version: 0.8.5 Release: 1%{?dist} -# See exp-files-by-license.txt and upstream LICENSE* files -# see https://github.com/rnpgp/sexp/issues/33 -License: MIT and BSD-2-Clause +License: MIT URL: https://github.com/rnpgp/%{name} Source0: %{url}/archive/refs/tags/v%{version}.tar.gz # Use --with licensecheck to generate Source3: %{name}-files-by-license.txt +Patch0: %{name}-sover.patch + BuildRequires: cmake >= 3.14 BuildRequires: gcc BuildRequires: gcc-c++ @@ -67,6 +67,7 @@ for %{libname}. %prep %setup -q +%patch -P0 -p1 -b .sover %if %{with licensecheck} LST=$(mktemp) @@ -83,6 +84,7 @@ rm $LST %build %cmake . \ + -DBUILD_SHARED_LIBS:BOOL=ON \ -DDOWNLOAD_GTEST:BOOL=OFF %cmake_build @@ -103,15 +105,18 @@ rm $LST %files -n %{libname} %license LICENSE* -# see https://github.com/rnpgp/sexp/issues/32 -%{_libdir}/%{libname}.a +%{_libdir}/%{libname}.so.%{soname}* %files -n %{libname}-devel %{_includedir}/%{name} +%{_libdir}/%{libname}.so %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Jun 21 2023 Remi Collet <remi@remirepo.net> - 0.8.5-1 +- update to 0.8.5 + * Thu May 4 2023 Remi Collet <remi@remirepo.net> - 0.8.4-1 - initial package - open https://github.com/rnpgp/sexp/issues/32 build as shared |