Changes of Revision 3
[-] | Changed | php-pecl-geoip.spec |
x 1
2 #Patch0: geoip-build.patch 3 # http://svn.php.net/viewvc?view=revision&revision=335948 4 #Patch1: geoip-php7.patch 5 -Patch2: geoip-1.1.1_test19.patch 6 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 7 BuildRequires: GeoIP-devel 8 BuildRequires: %{?scl_prefix}php-devel 9
10 sed -e 's/role="test"/role="src"/' \ 11 %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ 12 -i package.xml 13 +rm %{pecl_name}-%{version}/019.phpt 14 15 mv %{pecl_name}-%{version} NTS 16 17 cd NTS 18 -## %patch0 -p0 -b .svn 19 -## %patch1 -p3 -b .svn 20 -%patch2 -p0 -b .test19 21 22 extver=$(sed -n '/#define PHP_GEOIP_VERSION/{s/.* "//;s/".*$//;p}' php_geoip.h) 23 if test "x${extver}" != "x%{version}"; then 24 |