summaryrefslogtreecommitdiffstats
path: root/php-sebastian-resource-operations2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sebastian-resource-operations2.spec')
-rw-r--r--php-sebastian-resource-operations2.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-sebastian-resource-operations2.spec b/php-sebastian-resource-operations2.spec
index 8d01f7c..3cdbf8c 100644
--- a/php-sebastian-resource-operations2.spec
+++ b/php-sebastian-resource-operations2.spec
@@ -1,13 +1,13 @@
# remirepo/fedora spec file for php-sebastian-resource-operations2
#
-# Copyright (c) 2015-2023 Remi Collet
+# Copyright (c) 2015-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 31d35ca87926450c44eae7e2611d45a7a65ea8b3
+%global gh_commit 72a7f7674d053d548003b16ff5a106e7e0e06eee
#global gh_date 20150728
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
@@ -23,13 +23,14 @@
%endif
Name: php-sebastian-resource-operations%{major}
-Version: 2.0.2
-Release: 2%{?dist}
+Version: 2.0.3
+Release: 1%{?dist}
Summary: Provides a list of PHP built-in functions that operate on resources, version %{major}
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
+Source0: %{name}-%{version}-%{gh_short}.tgz
+Source1: makesrc.sh
BuildArch: noarch
BuildRequires: php(language) >= 7.1
@@ -74,7 +75,7 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}
%if %{with_tests}
: Run upstream test suite
ret=0
-for cmd in php php80 php81 php82; do
+for cmd in php php81 php82 php83; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit7 --verbose tests || ret=1
@@ -95,6 +96,10 @@ exit $ret
%changelog
+* Fri Mar 1 2024 Remi Collet <remi@remirepo.net> - 2.0.3-1
+- update to 2.0.3 (no change)
+- sources from git snapshot
+
* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 2.0.2-2
- use SPDX License id