Changes of Revision 3
[-] | Changed | php-pecl-http-php7.spec |
x 1
2 # From http://www.php.net/manual/en/http.configuration.php 3 Source1: %{proj_name}.ini 4 5 -Patch0: %{proj_name}-upstream.patch 6 +#atch0: %{proj_name}-upstream.patch 7 8 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 9 BuildRequires: %{?scl_prefix}php-devel >= 7 10
11 %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} 12 13 cd NTS 14 -%patch0 -p1 -b .upstream 15 +##%patch0 -p1 -b .upstream 16 17 extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h) 18 if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:dev}"; then 19 |