From 21a1fa56ad29e996a7ed43a24eac7575a5b252fc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 6 Oct 2023 10:21:34 +0200 Subject: update to 1.9 --- php-iamcal-lib-autolink.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/php-iamcal-lib-autolink.spec b/php-iamcal-lib-autolink.spec index df0dda1..355e70a 100644 --- a/php-iamcal-lib-autolink.spec +++ b/php-iamcal-lib-autolink.spec @@ -1,12 +1,12 @@ # spec file for php-iamcal-lib-autolink # -# Copyright (c) 2016-2017 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2016-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit b3a86d8437e5d635fb85b155a86288d94f6a924d +%global gh_commit 6a9e44d17f836806301b40723af673971a1a5112 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner iamcal %global gh_project lib_autolink @@ -14,8 +14,8 @@ Name: php-iamcal-lib-autolink -Version: 1.7 -Release: 4%{?dist} +Version: 1.9 +Release: 1%{?dist} Summary: Adds anchors to urls in a text Group: Development/Libraries @@ -67,7 +67,7 @@ ln -s lib_autolink.php %{buildroot}%{_datadir}/php/%{name}/autoload.php sed -e 's/\$this/$thiz/' -i t/testmore.php >tests.log -for cmd in php php56 php70 php71 php72; do +for cmd in php php80 php81 php82 php83; do if which $cmd; then for unit in t/*.t; do $cmd $unit | tee -a tests.log @@ -75,7 +75,7 @@ for cmd in php php56 php70 php71 php72; do fi done -grep '^not ok' tests.log && exit 1 +grep '^not ok' tests.log && exit 1 || exit 0 %else : Test suite disabled %endif @@ -90,6 +90,9 @@ grep '^not ok' tests.log && exit 1 %changelog +* Fri Oct 6 2023 Remi Collet - 1.9-1 +- update to 1.9 + * Thu Oct 5 2017 Remi Collet - 1.7-4 - fix tests for recent PHP, FTBFS from Koschei -- cgit