From d87ce0a1899a62a9580bec0c974969c19898acff Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Jun 2020 07:49:41 +0200 Subject: update to 2.0.2 --- php-sebastian-code-unit-reverse-lookup2.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'php-sebastian-code-unit-reverse-lookup2.spec') diff --git a/php-sebastian-code-unit-reverse-lookup2.spec b/php-sebastian-code-unit-reverse-lookup2.spec index df77160..62865b3 100644 --- a/php-sebastian-code-unit-reverse-lookup2.spec +++ b/php-sebastian-code-unit-reverse-lookup2.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit c771130f0e8669104a4320b7101a81c2cc2963ef +%global gh_commit ee51f9bb0c6d8a43337055db3120829fa14da819 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project code-unit-reverse-lookup @@ -20,13 +20,13 @@ %global major 2 %global php_home %{_datadir}/php %if %{bootstrap} -%global with_tests 0%{?_with_tests:1} +%bcond_with tests %else -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests %endif Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 2.0.1 +Version: 2.0.2 Release: 1%{?dist} Summary: Looks up which function or method a line of code belongs to @@ -38,14 +38,14 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 7.3 BuildRequires: php-fedora-autoloader-devel -%if %{with_tests} +%if %{with tests} # from composer.json, "require-dev": { # "phpunit/phpunit": "^9.0" BuildRequires: phpunit9 %endif # from composer.json, "require": { -# "php": "^7.3" +# "php": "^7.3 || ^8.0" Requires: php(language) >= 7.3 # From phpcompatinfo report for version 2.0.0 Requires: php-reflection @@ -76,7 +76,7 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major} %check -%if %{with_tests} +%if %{with tests} mkdir vendor touch vendor/autoload.php @@ -105,6 +105,9 @@ exit $ret %changelog +* Mon Jun 29 2020 Remi Collet - 2.0.2-1 +- update to 2.0.2 + * Tue Jun 16 2020 Remi Collet - 2.0.1-1 - update to 2.0.1 - sources from git snapshot -- cgit