summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-11-28 08:52:57 +0100
committerRemi Collet <remi@php.net>2022-11-28 08:52:57 +0100
commita8ce505162c88720d3dc41cde50d9fa4da7703aa (patch)
tree45f28d36d2a4b06f213fa750df9e94365cb9f524
parentd55afe8fe2c8c17a2a1619d6724a11259ae51579 (diff)
update to 1.0.0
soname bump
-rw-r--r--libhandlebars.spec24
1 files changed, 18 insertions, 6 deletions
diff --git a/libhandlebars.spec b/libhandlebars.spec
index 66ee306..1ccd3ce 100644
--- a/libhandlebars.spec
+++ b/libhandlebars.spec
@@ -1,19 +1,21 @@
# remirepo/fedora spec file for libhandlebars
#
-# Copyright (c) 2017-2020 Remi Collet
+# Copyright (c) 2017-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
+%global soname 9
+
%global libname libhandlebars
-%global gh_commit 2a9dd43307b87577504d67a89900cfaa2586c3a8
+%global gh_commit bc10ea7c40b25ec4678e44a2d4d6640336be789b
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner jbboehr
%global gh_project handlebars.c
-%global hspec_commit 4afc86f830797a59896405a6b15f47bf452b3a5d
+%global hspec_commit 3eb919f19988f37a539779c08342d2ce50aa75d0
%global hspec_short %(c=%{hspec_commit}; echo ${c:0:7})
%global hspec_owner jbboehr
%global hspec_project handlebars-spec
@@ -24,11 +26,14 @@
%global mspec_project spec
Name: %{libname}
-Version: 0.7.3
+Version: 1.0.0
Release: 1%{?dist}
Summary: Handlebars C library
-License: LGPLv2+
+# SPDX
+# The executable and the test suite are now licensed under the AGPLv3 or later.
+# The library remains licensed under the LGPLv2.1 or later.
+License: LGPL-2.1-or-later
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz
Source1: https://github.com/%{hspec_owner}/%{hspec_project}/archive/%{hspec_commit}/%{hspec_project}-%{hspec_short}.tar.gz
@@ -63,6 +68,8 @@ php-handlebars[2] and handlebars.php[3].
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
+# previous soname
+Conflicts:%{name}5-devel < %{version}
%description devel
The %{name}-devel package contains libraries and header files for
@@ -70,6 +77,7 @@ developing applications that use %{name}.
%package -n handlebarsc
+License: AGPL-3.0-or-later
Summary: Command line tools from %{libname}
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -111,7 +119,7 @@ make test
%files
%{!?_licensedir:%global license %%doc}
%license LICENSE*
-%{_libdir}/%{libname}.so.5*
+%{_libdir}/%{libname}.so.%{soname}*
%files devel
%doc CHANGELOG.md
@@ -124,6 +132,10 @@ make test
%changelog
+* Mon Nov 28 2022 Remi Collet <remi@remirepo.net> - 1.0.0-1
+- update to 1.0.0
+- soname bump
+
* Mon Dec 7 2020 Remi Collet <remi@remirepo.net> - 0.7.3-1
- update to 0.7.3
- drop patch merged upstream