summaryrefslogtreecommitdiffstats
path: root/php-pecl-ip2location.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-ip2location.spec')
-rw-r--r--php-pecl-ip2location.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/php-pecl-ip2location.spec b/php-pecl-ip2location.spec
index e436964..d74f1c2 100644
--- a/php-pecl-ip2location.spec
+++ b/php-pecl-ip2location.spec
@@ -19,7 +19,7 @@
%global ini_name 40-%{pecl_name}.ini
%endif
-%global upstream_version 8.1.0
+%global upstream_version 8.1.1
#global upstream_prever RC1
Summary: Get geo location information of an IP address
@@ -30,9 +30,6 @@ Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-# Fix test with old library < 8.3
-Patch0: %{pecl_name}-tests.patch
-
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-devel
@@ -91,11 +88,11 @@ mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
sed -e 's/role="test"/role="src"/' \
%{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
-e '/README.TXT/s/role="doc"/role="test"/' \
+ -e '/AGREEMENT.PDF/s/role="doc"/role="test"/' \
-i package.xml
cd NTS
sed -e "s/\r//" -i LICENSE CREDITS *.md *.c *.h
-%patch0 -p0
# Check version
extver=$(sed -n '/#define PHP_IP2LOCATION_VERSION/{s/.* "//;s/".*$//;p}' php_ip2location.h)
@@ -217,6 +214,10 @@ fi
%changelog
+* Fri Nov 20 2020 Remi Collet <remi@remirepo.net> - 8.1.1-1
+- update to 8.1.1
+- drop patch merged upstream
+
* Thu Nov 19 2020 Remi Collet <remi@remirepo.net> - 8.1.0-1
- update to 8.1.0
- drop all patches merged upstream