summaryrefslogtreecommitdiffstats
path: root/php-pecl-mailparse.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-mailparse.spec')
-rw-r--r--php-pecl-mailparse.spec11
1 files changed, 5 insertions, 6 deletions
diff --git a/php-pecl-mailparse.spec b/php-pecl-mailparse.spec
index 1cd426a..ebf91fb 100644
--- a/php-pecl-mailparse.spec
+++ b/php-pecl-mailparse.spec
@@ -26,14 +26,12 @@
Summary: PHP PECL package for parsing and working with email messages
Name: %{?sub_prefix}php-pecl-mailparse
-Version: 3.1.1
-Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 3.1.2
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/mailparse
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: %{pecl_name}-php81.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.0
@@ -94,8 +92,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .php81
-
extver=$(sed -n '/#define PHP_MAILPARSE_VERSION/{s/.* "//;s/".*$//;p}' php_mailparse.h)
if test "x${extver}" != "x%{version}"; then
: Error: Upstream version is ${extver}, expecting %{version}.
@@ -221,6 +217,9 @@ fi
%changelog
+* Wed Sep 1 2021 Remi Collet <remi@remirepo.net> - 3.1.2-1
+- update to 3.1.2
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 3.1.1-4
- rebuild for 8.1.0RC1