summaryrefslogtreecommitdiffstats
path: root/php-bartlett-php-compatinfo-db.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-06-04 06:53:59 +0200
committerRemi Collet <remi@remirepo.net>2019-06-04 06:53:59 +0200
commit9b00fb49fe7c9c95901f60b7e47196c7cf43fee4 (patch)
tree685b6d1d800cf622735f404a655aa0f6a613fe47 /php-bartlett-php-compatinfo-db.spec
parent2a965d9430621ad87dacd59d7f984dddd3f42d44 (diff)
add upstream patches for sqlite3 and imagick
Diffstat (limited to 'php-bartlett-php-compatinfo-db.spec')
-rw-r--r--php-bartlett-php-compatinfo-db.spec13
1 files changed, 12 insertions, 1 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index 74b8d0d..ba6a157 100644
--- a/php-bartlett-php-compatinfo-db.spec
+++ b/php-bartlett-php-compatinfo-db.spec
@@ -24,7 +24,7 @@
Name: php-%{c_vendor}-%{c_project}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-%global specrel 1
+%global specrel 2
Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Reference Database to be used with php-compatinfo library
@@ -39,6 +39,10 @@ Patch0: %{name}-2.0-rpm.patch
# CURL_SSLVERSION constants have been backported
Patch1: %{name}-curltls.patch
+# upstream patches
+Patch2: https://github.com/llaville/php-compatinfo-db/commit/4d9b98524d4a6ebc1541d9a354c1f2511efac6d0.patch
+Patch3: https://github.com/llaville/php-compatinfo-db/commit/effa54cf9433bc4aff5d77b453e4351215aeec14.patch
+
BuildArch: noarch
# Needed to build the database from sources
BuildRequires: php(language) >= 7.1
@@ -142,6 +146,8 @@ Conflicts: php-bartlett-PHP-CompatInfo < 5
%patch0 -p1 -b .rpm
%patch1 -p0 -b .curltls
+%patch2 -p1 -b .up1
+%patch3 -p1 -b .up2
cat << 'EOF' | tee src/autoload.php
<?php
@@ -262,6 +268,11 @@ EOF
%changelog
+* Tue Jun 4 2019 Remi Collet <remi@remirepo.net> - 2.4.0-2
+- add upstream patches for sqlite3 and imagick
+- open https://github.com/llaville/php-compatinfo-db/issues/30
+ test failure related to sqlite3.defensive
+
* Mon May 20 2019 Remi Collet <remi@remirepo.net> - 2.4.0-1
- update to 2.4.0
- open https://github.com/llaville/php-compatinfo-db/issues/29