summaryrefslogtreecommitdiffstats
path: root/php-pecl-rnp.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-05 08:27:30 +0200
committerRemi Collet <remi@php.net>2023-04-05 08:27:30 +0200
commitdfd730dd45078c4305cd6fff8ed5ebba3c700665 (patch)
tree3399ecea6f14d2f4094aa2b5192d877cc6acfb8d /php-pecl-rnp.spec
parent3e384da098d723fea36809c28abe68e4712a5c51 (diff)
update to 0.2.0
drop patches merged upstream
Diffstat (limited to 'php-pecl-rnp.spec')
-rw-r--r--php-pecl-rnp.spec22
1 files changed, 8 insertions, 14 deletions
diff --git a/php-pecl-rnp.spec b/php-pecl-rnp.spec
index ea9cde9..37fffe2 100644
--- a/php-pecl-rnp.spec
+++ b/php-pecl-rnp.spec
@@ -1,7 +1,7 @@
# remirepo spec file for php-pecl-rnp
#
-# Copyright (c) 2022 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2022-2023 Remi Collet
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@@ -19,23 +19,18 @@
%global pecl_name rnp
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 0.1.1
+%global upstream_version 0.2.0
#global upstream_prever a1
Summary: wrapper around the RNP library
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD-2-Clause
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-Patch0: https://patch-diff.githubusercontent.com/raw/rnpgp/php-rnp/pull/3.patch
-Patch1: https://patch-diff.githubusercontent.com/raw/rnpgp/php-rnp/pull/4.patch
-Patch2: https://patch-diff.githubusercontent.com/raw/rnpgp/php-rnp/pull/5.patch
-Patch3: https://patch-diff.githubusercontent.com/raw/rnpgp/php-rnp/pull/6.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 8.0
@@ -68,11 +63,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .pr3
-%patch1 -p1 -b .pr4
-%patch2 -p1 -b .pr5
-%patch3 -p1 -b .pr6
-
# Check version as upstream often forget to update this
extver=$(sed -n '/define PHP_RNP_VERSION/{s/.* "//;s/".*$//;p}' php_rnp.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then
@@ -195,6 +185,10 @@ fi
%changelog
+* Wed Apr 5 2023 Remi Collet <remi@remirepo.net> - 0.2.0-1
+- update to 0.2.0
+- drop patches merged upstream
+
* Fri Oct 28 2022 Remi Collet <remi@remirepo.net> - 1.2.8-2
- open https://github.com/rnpgp/php-rnp/pull/3 extension version
- open https://github.com/rnpgp/php-rnp/pull/4 backend name/version