diff options
| author | Remi Collet <remi@remirepo.net> | 2026-05-01 15:40:29 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-05-01 15:40:29 +0200 |
| commit | 75899f2036c0a939f31657e61ed99ce5d32e586e (patch) | |
| tree | 8c08c57805113e5ff1c8a6a0ca1687267d03009b | |
| parent | 1c5d7d01f3610ba9cdfd0b6d63efb06752dbcd46 (diff) | |
more cleanupsfedora
| -rw-r--r-- | php-rlerdorf-geoip.spec | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/php-rlerdorf-geoip.spec b/php-rlerdorf-geoip.spec index 98b28b7..dc3c721 100644 --- a/php-rlerdorf-geoip.spec +++ b/php-rlerdorf-geoip.spec @@ -37,7 +37,7 @@ Source0: %{forgesource} BuildRequires: make BuildRequires: gcc -BuildRequires: php-devel >= 7.2 +BuildRequires: php-devel BuildRequires: GeoIP-devel Requires: php(zend-abi) = %{php_zend_api} @@ -52,19 +52,17 @@ Provides: php-pie(%{pie_vend}/%{pie_proj}) = %{version} Obsoletes: php-pecl-%{ext_name} < 1.2 Provides: php-pecl-%{ext_name} = %{version} Provides: php-pecl-%{ext_name}%{?_isa} = %{version} -Provides: php-pecl(%{pecl_name}) = %{version} -Provides: php-pecl(%{pecl_name})%{?_isa} = %{version} +Provides: php-pecl(%{ext_name}) = %{version} +Provides: php-pecl(%{ext_name})%{?_isa} = %{version} %description -This is the legacy (v1) GeoIP PHP extension for PHP 7.2+ and PHP 8.x. +This is the legacy (v1) GeoIP PHP extension. -Unless you have old code that needs this, you might be better off, using +Unless you have old code that needs this, you might be better off using - php-maxmind-db-reader library (maxmind-db/reader) - php-maxminddb extension (maxmind-db/reader-ext) -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. - %prep %forgesetup @@ -111,7 +109,8 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} %if %{with tests} : Upstream test suite for the extension TEST_PHP_ARGS="-n -d extension=%{buildroot}/%{php_extdir}/%{ext_name}.so" \ -%{__php} -n run-tests.php -P -q --show-diff +%{__php} -n run-tests.php -P -q --show-diff %{?_smp_mflags} + %endif |
