diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-10-01 12:07:35 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-10-01 12:07:35 +0200 |
commit | 38945559aacf6bfec5ca97998a45be975edc3102 (patch) | |
tree | 4b4d9ab411ee79f0202b86ffa608f2ee7ef78105 /php-bartlett-php-compatinfo-db.spec | |
parent | 37bf354344f0e4faab070a331addd1f1a1300bd4 (diff) |
php-bartlett-php-compatinfo-db: test build
Diffstat (limited to 'php-bartlett-php-compatinfo-db.spec')
-rw-r--r-- | php-bartlett-php-compatinfo-db.spec | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec index e4d4ed2..ac8d289 100644 --- a/php-bartlett-php-compatinfo-db.spec +++ b/php-bartlett-php-compatinfo-db.spec @@ -40,6 +40,7 @@ Source1: %{name}-1.2.0-autoload.php Patch0: %{name}-1.2.0-rpm.patch # CURL_SSLVERSION constants have been backported Patch1: %{name}-curltls.patch +Patch2: curl.patch BuildArch: noarch # Needed to build the database from sources @@ -104,7 +105,8 @@ Conflicts: php-bartlett-PHP-CompatInfo < 5 %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm -%patch1 -p0 -b .old +%patch1 -p0 -b .curltls +%patch2 -p1 -b .curl cp %{SOURCE1} src/%{ns_vendor}/%{ns_project}/autoload.php @@ -165,12 +167,6 @@ install -D -p -m 644 data/compatinfo.sqlite %{buildroot}%{_datadir}/%{name} %if %{with_tests} %check -# remirepo:5 -%if 0%{?rhel} == 6 -# https://github.com/llaville/php-compatinfo-db/issues/7 -rm tests/Reference/Extension/CurlExtensionTest.php -%endif - export BARTLETT_COMPATINFO_DB=%{buildroot}%{_datadir}/%{name}/compatinfo.sqlite %{_bindir}/phpunit \ |