From 55b1445df1e77a63880afec897231bca57484204 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 23 Jun 2020 14:13:03 +0200 Subject: [PATCH] v1.2.0 --- .gitignore | 1 + php-phpdocumentor-type-resolver1.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 26653ca..6204a1d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /php-phpdocumentor-type-resolver1-1.0.1-2e32a6d48972b2c1976ed5d8967145b6cec4a4a9.tar.gz /php-phpdocumentor-type-resolver1-1.1.0-7462d5f123dfc080dfdf26897032a6513644fc95.tar.gz +/php-phpdocumentor-type-resolver1-1.2.0-30441f2752e493c639526b215ed81d54f369d693.tar.gz diff --git a/php-phpdocumentor-type-resolver1.spec b/php-phpdocumentor-type-resolver1.spec index 44eb1ca..e5b0fc1 100644 --- a/php-phpdocumentor-type-resolver1.spec +++ b/php-phpdocumentor-type-resolver1.spec @@ -10,8 +10,8 @@ %global github_owner phpDocumentor %global github_name TypeResolver -%global github_version 1.1.0 -%global github_commit 7462d5f123dfc080dfdf26897032a6513644fc95 +%global github_version 1.2.0 +%global github_commit 30441f2752e493c639526b215ed81d54f369d693 %global composer_vendor phpdocumentor %global composer_project type-resolver @@ -30,7 +30,7 @@ %global reflection_common_max_ver 3 # Build using "--without tests" to disable tests -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests %{!?phpdir: %global phpdir %{_datadir}/php} @@ -50,7 +50,7 @@ Source1: makesrc.sh BuildArch: noarch # Tests -%if %{with_tests} +%if %{with tests} ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: phpunit8 @@ -122,7 +122,7 @@ cp -rp src/* %{buildroot}%{phpdir}/phpDocumentor/Reflection%{ns_major}/ %check -%if %{with_tests} +%if %{with tests} : Create tests bootstrap cat <<'BOOTSTRAP' | tee bootstrap.php - 1.2.0-1 +- update to 1.2.0 + * Tue Mar 3 2020 Remi Collet - 1.1.0-1 - update to 1.1.0 - raise dependency on PHP 7.2 diff --git a/sources b/sources index 523fc56..5d3d9de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpdocumentor-type-resolver1-1.1.0-7462d5f123dfc080dfdf26897032a6513644fc95.tar.gz) = fec8952e21fad7fe24fb1580afea2a694ddfaa5b6247675fc737bdd17e8420b9d53ca66588c29cf46c5e812b910d9ee9052b9e85c8f0de12d049806f7d3c7e4a +SHA512 (php-phpdocumentor-type-resolver1-1.2.0-30441f2752e493c639526b215ed81d54f369d693.tar.gz) = 821d828fbcf2c891a216196804b2d827aecf13498ae5be9e8682b8857248dae3e78f1c3d412abb6739386d73919558c0a13ed5851006c901e00ee9d8d024364d