diff options
author | Remi Collet <remi@remirepo.net> | 2020-09-25 08:12:11 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-09-25 08:12:11 +0200 |
commit | 25f26d97c179f10b051b5d9da6496f8431607ecf (patch) | |
tree | 8775598ce765bdaca8de4ff6abe103d80494f976 | |
parent | d5b951c3c6401553314846598eb56de3a02b9b69 (diff) |
update to 3.8.0
-rw-r--r-- | php-swaggest-json-diff.spec | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/php-swaggest-json-diff.spec b/php-swaggest-json-diff.spec index 5fd45c8..66c9245 100644 --- a/php-swaggest-json-diff.spec +++ b/php-swaggest-json-diff.spec @@ -7,9 +7,10 @@ # Please, preserve the changelog entries # -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests + # Github -%global gh_commit e452a9c6444905a486280c7d56503a6468303f69 +%global gh_commit 321078163129c2292ac5be38369730b107cd3716 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner swaggest %global gh_project json-diff @@ -22,7 +23,7 @@ %global major %nil Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 3.7.5 +Version: 3.8.0 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: JSON diff/rearrange/patch/pointer library for PHP @@ -32,7 +33,7 @@ Source0: %{name}-%{version}-%{?gh_short}.tgz Source1: makesrc.sh BuildArch: noarch -%if %{with_tests} +%if %{with tests} BuildRequires: php-json # For tests, from composer.json "require-dev": { # "phpunit/phpunit": "^4.8.23" @@ -79,7 +80,7 @@ cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major} %check -%if %{with_tests} +%if %{with tests} mkdir vendor cat << 'EOF' | tee vendor/autoload.php <?php @@ -111,6 +112,9 @@ exit $ret %changelog +* Fri Sep 25 2020 Remi Collet <remi@remirepo.net> - 3.8.0-1 +- update to 3.8.0 + * Wed May 27 2020 Remi Collet <remi@remirepo.net> - 3.7.5-1 - update to 3.7.5 |