From 35dda533579c08f066d03b26f5b7643b3a5e63c0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Jun 2023 17:00:11 +0200 Subject: update to 0.8.5 --- sexp.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'sexp.spec') diff --git a/sexp.spec b/sexp.spec index 7ef0590..efb7519 100644 --- a/sexp.spec +++ b/sexp.spec @@ -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 - 0.8.5-1 +- update to 0.8.5 + * Thu May 4 2023 Remi Collet - 0.8.4-1 - initial package - open https://github.com/rnpgp/sexp/issues/32 build as shared -- cgit