summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-10-06 10:21:34 +0200
committerRemi Collet <remi@php.net>2023-10-06 10:21:34 +0200
commit21a1fa56ad29e996a7ed43a24eac7575a5b252fc (patch)
tree020454919bac036407f2ea924c4356a4b4195a62
parent63b1cdfcf8356c5f448710cd4f0ba0fa28e5f54e (diff)
update to 1.9HEADmaster
-rw-r--r--php-iamcal-lib-autolink.spec17
1 files 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 <remi@remirepo.net> - 1.9-1
+- update to 1.9
+
* Thu Oct 5 2017 Remi Collet <remi@fedoraproject.org> - 1.7-4
- fix tests for recent PHP, FTBFS from Koschei