summaryrefslogtreecommitdiffstats
path: root/php-netresearch-jsonmapper.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-08-08 09:52:24 +0200
committerRemi Collet <remi@remirepo.net>2019-08-08 09:52:24 +0200
commit84af4793dff265c35603f6c53a1555ac27ee3971 (patch)
tree0ce2b080f5abf942ce7a074fc1467ca4b8de7d6b /php-netresearch-jsonmapper.spec
parentf8e6b161a5e631de1ad189a6c5b2089e6ea4755b (diff)
- update to 1.5.2
- add patch for PHP 7.4 from https://github.com/cweiske/jsonmapper/pull/131
Diffstat (limited to 'php-netresearch-jsonmapper.spec')
-rw-r--r--php-netresearch-jsonmapper.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-netresearch-jsonmapper.spec b/php-netresearch-jsonmapper.spec
index 3213b2b..41f35ca 100644
--- a/php-netresearch-jsonmapper.spec
+++ b/php-netresearch-jsonmapper.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 047dafe26facbba1e997e9fb3b3c298562d75a0b
+%global gh_commit caf41ab74ac7252f5f46db6c16ab0a8358e2e55c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner cweiske
%global gh_project jsonmapper
@@ -18,7 +18,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{pk_vendor}-%{pk_project}
-Version: 1.5.1
+Version: 1.5.2
Release: 1%{?dist}
Summary: Map nested JSON structures onto PHP classes
@@ -28,6 +28,8 @@ Source0: %{name}-%{version}-%{gh_short}.tgz
# Git snapshot with tests
Source1: makesrc.sh
+Patch0: https://patch-diff.githubusercontent.com/raw/cweiske/jsonmapper/pull/131.patch
+
BuildArch: noarch
%if %{with_tests}
# For tests
@@ -81,6 +83,7 @@ Autoloader: %{php_home}/%{pk_vendor}/%{pk_project}/autoload.php
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
%build
@@ -124,6 +127,11 @@ exit $ret
%changelog
+* Thu Aug 8 2019 Remi Collet <remi@remirepo.net> - 1.5.2-1
+- update to 1.5.2
+- add patch for PHP 7.4 from
+ https://github.com/cweiske/jsonmapper/pull/131
+
* Tue Jul 9 2019 Remi Collet <remi@remirepo.net> - 1.5.1-1
- update to 1.5.1