summaryrefslogtreecommitdiffstats
path: root/php-pecl-geospatial.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-11 15:51:01 +0200
committerRemi Collet <remi@php.net>2022-08-11 15:51:01 +0200
commita84f02e9320ea1c4cd3ec60b6447d62f91266563 (patch)
tree7b7a073468f9164d9f87633df1d5a1e8f8dd8ef8 /php-pecl-geospatial.spec
parentc88c334e58119956139378f19df82a7e1e64d854 (diff)
update to 0.3.2
Diffstat (limited to 'php-pecl-geospatial.spec')
-rw-r--r--php-pecl-geospatial.spec44
1 files changed, 12 insertions, 32 deletions
diff --git a/php-pecl-geospatial.spec b/php-pecl-geospatial.spec
index 8298f91..64c3b71 100644
--- a/php-pecl-geospatial.spec
+++ b/php-pecl-geospatial.spec
@@ -1,30 +1,27 @@
# remirepo spec file for php-pecl-geospatial
#
-# Copyright (c) 2015-2021 Remi Collet
+# Copyright (c) 2015-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
-%scl_package php-pecl-geospatial
-%endif
+%{?scl:%scl_package php-pecl-geospatial}
-%global gh_commit c6db5d5b5a4307fcaa29303c703bbe8638484674
+%global gh_commit d3f3ab0a836f10eacb7e117c06f12ea57e1e8649
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner php-geospatial
%global gh_project geospatial
#global gh_date 20150908
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name geospatial
-%global with_tests %{!?_without_tests:1}%{?_without_tests:0}
%global ini_name 40-%{pecl_name}.ini
-%global with_fastlz 1
+
+%bcond_without tests
Summary: PHP Extension to handle common geospatial functions
-Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 0.3.1
+Name: %{?scl_prefix}php-pecl-%{pecl_name}
+Version: 0.3.2
%if 0%{?gh_date:1}
Release: 0.11.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
@@ -51,26 +48,6 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-%endif
-
-%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-# Other third party repo stuff
-%if "%{php_version}" > "7.2"
-Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.3"
-Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.4"
-Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "8.0"
-Obsoletes: php80-pecl-%{pecl_name} <= %{version}
-%endif
-%endif
%description
@@ -169,7 +146,7 @@ fi
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
-%if %{with_tests}
+%if %{with tests}
: Upstream test suite for NTS extension
TEST_PHP_EXECUTABLE=%{__php} \
TEST_PHP_ARGS="$OPT -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
@@ -188,7 +165,7 @@ cd ../ZTS
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
-%if %{with_tests}
+%if %{with tests}
: Upstream test suite for ZTS extension
TEST_PHP_EXECUTABLE=%{__ztsphp} \
TEST_PHP_ARGS="$OPT -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
@@ -236,6 +213,9 @@ fi
%changelog
+* Thu Aug 11 2022 Remi Collet <remi@remirepo.net> - 0.3.2-1
+- update to 0.3.2
+
* Thu Jan 28 2021 Remi Collet <remi@remirepo.net> - 0.3.1-1
- update to 0.3.1
- raise dependency on PHP 7.0