Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
EL7
>
php-pecl-geoip
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
php-pecl-geoip.spec
@@ -40,7 +40,6 @@ #Patch0: geoip-build.patch # http://svn.php.net/viewvc?view=revision&revision=335948 #Patch1: geoip-php7.patch -Patch2: geoip-1.1.1_test19.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: GeoIP-devel BuildRequires: %{?scl_prefix}php-devel @@ -100,13 +99,11 @@ sed -e 's/role="test"/role="src"/' \ %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ -i package.xml +rm %{pecl_name}-%{version}/019.phpt mv %{pecl_name}-%{version} NTS cd NTS -## %patch0 -p0 -b .svn -## %patch1 -p3 -b .svn -%patch2 -p0 -b .test19 extver=$(sed -n '/#define PHP_GEOIP_VERSION/{s/.* "//;s/".*$//;p}' php_geoip.h) if test "x${extver}" != "x%{version}"; then