summaryrefslogtreecommitdiffstats
path: root/php-bartlett-php-compatinfo-db.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-bartlett-php-compatinfo-db.spec')
-rw-r--r--php-bartlett-php-compatinfo-db.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index a2af69a..c2b15e3 100644
--- a/php-bartlett-php-compatinfo-db.spec
+++ b/php-bartlett-php-compatinfo-db.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
# See https://github.com/llaville/php-compatinfo-db/releases
-%global gh_commit 9a054871598cfbbfe3b996394428c64448348849
+%global gh_commit e436278b251e02ce695ed827d679ca60615dc8a0
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20151031
%global gh_owner llaville
@@ -27,7 +27,7 @@
%endif
Name: php-%{c_vendor}-%{c_project}
-Version: 1.28.0
+Version: 1.29.0
%global specrel 1
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
@@ -48,8 +48,12 @@ Patch1: %{name}-curltls.patch
BuildArch: noarch
# Needed to build the database from sources
BuildRequires: php(language) >= 5.4.0
+%if 0%{?fedora} >= 27
+BuildRequires: (php-composer(composer/semver) >= 1.0 with php-composer(composer/semver) < 2)
+%else
BuildRequires: php-composer(composer/semver) < 2
BuildRequires: php-composer(composer/semver) >= 1.0
+%endif
BuildRequires: php-curl
BuildRequires: php-intl
BuildRequires: php-libxml
@@ -83,8 +87,12 @@ BuildRequires: php-composer(phpunit/phpunit)
# "ext-json": "*",
# "ext-pdo_sqlite": "*"
Requires: php(language) >= 5.4.0
+%if 0%{?fedora} >= 27
+BuildRequires: (php-composer(composer/semver) >= 1.0 with php-composer(composer/semver) < 2)
+%else
Requires: php-composer(composer/semver) < 2
Requires: php-composer(composer/semver) >= 1.0
+%endif
Requires: php-curl
Requires: php-intl
Requires: php-libxml
@@ -192,6 +200,10 @@ export BARTLETT_COMPATINFO_DB=%{buildroot}%{_datadir}/%{name}/compatinfo.sqlite
%changelog
+* Fri Feb 2 2018 Remi Collet <remi@remirepo.net> - 1.29.0-1
+- Update to 1.29.0
+- use range dependency on F27+
+
* Tue Jan 9 2018 Remi Collet <remi@remirepo.net> - 1.28.0-1
- Update to 1.28.0