From aaeff2a2189fa8b05c61011a2f251dc469532a31 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Jan 2018 09:25:51 +0100 Subject: v1.15.7 --- php-tecnickcom-tc-lib-barcode.spec | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) (limited to 'php-tecnickcom-tc-lib-barcode.spec') diff --git a/php-tecnickcom-tc-lib-barcode.spec b/php-tecnickcom-tc-lib-barcode.spec index 74e8fb0..6a69437 100644 --- a/php-tecnickcom-tc-lib-barcode.spec +++ b/php-tecnickcom-tc-lib-barcode.spec @@ -1,12 +1,12 @@ # remirepo/fedora spec file for php-tecnickcom-tc-lib-barcode # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 18b8b9224c995cd9d7518e8551be833cbc31b323 +%global gh_commit 96ad2aae7ff7f755e1a35d421377058e8e75afc1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global c_vendor tecnickcom %global gh_owner tecnickcom @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{gh_owner}-%{gh_project} -Version: 1.15.6 +Version: 1.15.7 Release: 1%{?dist} Summary: PHP library to generate linear and bidimensional barcodes @@ -24,7 +24,6 @@ License: LGPLv3+ URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{?gh_short}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %if %{with_tests} # For tests @@ -97,7 +96,6 @@ sed -e 's:^require:////require:' \ %install -rm -rf %{buildroot} mkdir -p $(dirname %{buildroot}%{php_project}) cp -pr src %{buildroot}%{php_project} cp -p resources/autoload.php \ @@ -114,18 +112,13 @@ require '%{php_project}/../Color/autoload.php'; require __DIR__ . '/../test/TestStrings.php'; EOF -%{phpunit} --no-coverage --verbose - -#remirepo:12 ret=0 -for cmd in php56; do - if which $cmd; then - $cmd %{_bindir}/phpunit --verbose || ret=1 - fi -done -for cmd in php70 php71; do +for cmd in "php %{phpunit}" \ + "php70 %{_bindir}/phpunit6" \ + "php71 %{_bindir}/phpunit6" \ + "php72 %{_bindir}/phpunit6"; do if which $cmd; then - $cmd %{_bindir}/phpunit6 --verbose || ret=1 + $cmd --no-coverage --verbose || ret=1 fi done exit $ret @@ -134,12 +127,7 @@ exit $ret %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json @@ -148,6 +136,9 @@ rm -rf %{buildroot} %changelog +* Tue Jan 2 2018 Remi Collet - 1.15.7-1 +- Update to 1.15.7 + * Sun Feb 12 2017 Remi Collet - 1.15.6-1 - update to 1.15.6 (no change) - use phpunit6 on F26+ -- cgit