summaryrefslogtreecommitdiffstats
path: root/php-swaggest-json-schema.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-swaggest-json-schema.spec')
-rw-r--r--php-swaggest-json-schema.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec
index 5c24445..b11f6e4 100644
--- a/php-swaggest-json-schema.spec
+++ b/php-swaggest-json-schema.spec
@@ -9,7 +9,7 @@
%global with_tests 0%{!?_without_tests:1}
# Github
-%global gh_commit 0f509795092872601752f8a1f20f3cad4670370d
+%global gh_commit 9ec863a05a40e9b4547bc0c43dc6992cf17307a3
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner swaggest
%global gh_project php-json-schema
@@ -22,7 +22,7 @@
%global major %nil
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 0.12.25
+Version: 0.12.27
Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
Summary: High definition PHP structures with JSON-schema based validation
@@ -31,6 +31,8 @@ URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{?gh_short}.tgz
Source1: makesrc.sh
+Patch0: https://patch-diff.githubusercontent.com/raw/swaggest/php-json-schema/pull/101.patch
+
BuildArch: noarch
%if %{with_tests}
BuildRequires: php(language) >= 5.4
@@ -97,6 +99,7 @@ Autoloader: %{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload.php
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
: Fix layout
mkdir src/spec
@@ -154,6 +157,11 @@ exit $ret
%changelog
+* Mon Jan 27 2020 Remi Collet <remi@remirepo.net> - 0.12.27-1
+- update to 0.12.27
+- add patch for PHP 7.4 from
+ https://github.com/swaggest/php-json-schema/pull/101
+
* Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 0.12.25-1
- update to 0.12.25