From 2b1a0b67d413b58e1c9de27dc4aba488e5273fd2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 27 Jan 2020 08:28:23 +0100 Subject: update to 0.12.27 add patch for PHP 7.4 from https://github.com/swaggest/php-json-schema/pull/101 --- php-swaggest-json-schema.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'php-swaggest-json-schema.spec') 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 - 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 - 0.12.25-1 - update to 0.12.25 -- cgit