From ba4df42740fdc7f619d100ef2d8f2c3fb6b20627 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 18 Nov 2021 13:26:01 +0100 Subject: update to 1.5.6 (SPDX 3.15) --- php-composer-spdx-licenses.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'php-composer-spdx-licenses.spec') diff --git a/php-composer-spdx-licenses.spec b/php-composer-spdx-licenses.spec index 9570017..c56d505 100644 --- a/php-composer-spdx-licenses.spec +++ b/php-composer-spdx-licenses.spec @@ -1,12 +1,12 @@ # remirepo/fedora spec file for php-composer-spdx-licenses # -# Copyright (c) 2015-2020 Remi Collet +# Copyright (c) 2015-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit de30328a7af8680efdc03e396aad24befd513200 +%global gh_commit a30d487169d799745ca7280bc90fdfa693536901 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20150717 %global gh_owner composer @@ -15,7 +15,7 @@ %bcond_without tests Name: php-composer-spdx-licenses -Version: 1.5.5 +Version: 1.5.6 Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist} Summary: SPDX licenses list and validation library @@ -72,7 +72,8 @@ now extracted and made available as a stand-alone library. %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p0 +%patch0 -p0 -b .rpm +find . -name \*.rpm -delete -print %build @@ -109,7 +110,7 @@ rm tests/SpdxLicensesUpdaterTest.php export BUILDROOT_SPDX=%{buildroot} ret=0 -for cmd in "php %{phpunit}" php72 php73 php74 php80; do +for cmd in "php %{phpunit}" php74 php80 php81; do if which $cmd; then set $cmd $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit7} \ @@ -125,6 +126,7 @@ exit $ret %files +# remirepo:1 %{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json @@ -135,6 +137,9 @@ exit $ret %changelog +* Thu Nov 18 2021 Remi Collet - 1.5.6-1 +- update to 1.5.6 (SPDX 3.15) + * Fri Dec 4 2020 Remi Collet - 1.5.5-1 - update to 1.5.5 (SPDX 3.11) -- cgit