From 09f3b91a4e1fe5357c052b4f241596c9a4a4d17a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 6 Aug 2017 11:11:29 +0200 Subject: v2.4.1 --- composer.json | 3 ++- php-nette-deprecated.spec | 37 ++++++++++++------------------------- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/composer.json b/composer.json index 2bb739f..4509dd6 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,8 @@ { "name": "nette/deprecated", "type": "library", - "description": "APIs and features removed from Nette Framework", + "description": "Nette Deprecated: APIs and features removed from Nette Framework", + "keywords": ["nette"], "homepage": "https://nette.org", "license": ["BSD-3-Clause", "GPL-2.0", "GPL-3.0"], "authors": [ diff --git a/php-nette-deprecated.spec b/php-nette-deprecated.spec index 8d833a6..4dd62b4 100644 --- a/php-nette-deprecated.spec +++ b/php-nette-deprecated.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit fde8fea8e3f1960ea6bcca03a996300b0ca41762 +%global gh_commit d03c5bfd679d15ddf39abf99dedf054b1078c7ff #global gh_date 20150728 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nette @@ -17,9 +17,9 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{gh_owner}-%{gh_project} -Version: 2.4.0 -%global specrel 2 -Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} +Version: 2.4.1 +%global specrel 1 +Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: APIs and features removed from Nette Framework Group: Development/Libraries @@ -29,7 +29,6 @@ Source0: %{name}-%{version}-%{gh_short}.tgz # pull a git snapshot to get test sutie Source1: makesrc.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-composer(theseer/autoload) %if %{with_tests} @@ -94,7 +93,6 @@ EOF %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{php_home}/%{ns_vendor} cp -pr src/* %{buildroot}%{php_home}/%{ns_vendor}/ @@ -126,33 +124,19 @@ EOF php -r 'require "vendor/autoload.php";' : Run test suite in sources tree -# remirepo:11 -run=0 ret=0 -if which php56; then - php56 %{_bindir}/nette-tester --colors 0 -p php56 -C tests -s - run=1 -fi -if which php70; then - php70 %{_bindir}/nette-tester --colors 0 -p php70 -C tests -s - run=1 -fi -if [ $run -eq 0 ]; then -%{_bindir}/nette-tester --colors 0 -p php -C tests -s -# remirepo:2 -fi +for cmd in php php56 php70 php71 php72; do + if which $cmd; then + $cmd %{_bindir}/nette-tester --colors 0 -p $cmd -C tests -s || ret=1 + fi +done exit $ret %else : Test suite disabled %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license license.md %doc readme.md contributing.md @@ -161,6 +145,9 @@ rm -rf %{buildroot} %changelog +* Sun Aug 6 2017 Remi Collet - 2.4.1-1 +- Update to 2.4.1 + * Fri Aug 5 2016 Remi Collet - 2.4.0-2 - fix test suite autoloader -- cgit