summaryrefslogtreecommitdiffstats
path: root/php-pecl-geoip.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-20 18:50:00 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-20 18:50:00 +0200
commit6a2ec4d874f88f07c4c0eece10058da142fe777f (patch)
tree19b0569fab0ff713fdd6a4b2ade3601025cda597 /php-pecl-geoip.spec
parentff139b01eb28803e15307286127e444ed6d21ab4 (diff)
php-pecl-geoip allow build against "rh-php56" (for more-php56)
Diffstat (limited to 'php-pecl-geoip.spec')
-rw-r--r--php-pecl-geoip.spec25
1 files changed, 23 insertions, 2 deletions
diff --git a/php-pecl-geoip.spec b/php-pecl-geoip.spec
index 65f3776..53825f2 100644
--- a/php-pecl-geoip.spec
+++ b/php-pecl-geoip.spec
@@ -1,3 +1,21 @@
+# remirepo spec file for php-pecl-geoip
+# with SCL compatibility, from:
+#
+# Fedora spec file for php-pecl-geoip
+#
+# License: MIT
+# http://opensource.org/licenses/MIT
+#
+# Please, preserve the changelog entries
+#
+%if 0%{?scl:1}
+%if "%{scl}" == "rh-php56"
+%global sub_prefix more-php56-
+%else
+%global sub_prefix %{scl_prefix}
+%endif
+%endif
+
%{?scl: %scl_package php-pecl-geoip}
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
%{!?__pecl: %global __pecl %{_bindir}/pecl}
@@ -12,9 +30,9 @@
%endif
-Name: %{?scl_prefix}php-pecl-geoip
+Name: %{?sub_prefix}php-pecl-geoip
Version: 1.1.0
-Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Summary: Extension to map IP addresses to geographic places
Group: Development/Languages
License: PHP
@@ -208,6 +226,9 @@ fi
%changelog
+* Sat Jun 20 2015 Remi Collet <remi@fedoraproject.org> - 1.1.0-5
+- allow build against rh-php56 (as more-php56)
+
* Mon Apr 6 2015 Remi Collet <remi@fedoraproject.org> - 1.1.0-4
- add fix for PHP 7 compatibility
- drop runtime dependency on pear, new scriptlets