Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bde8d220b | ||
|
|
ae0bea8631 | ||
|
|
88f4ef5fb1 | ||
|
|
cedaee71a8 | ||
|
|
bdabbdf995 |
3 changed files with 33 additions and 9 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -7,3 +7,5 @@ clog
|
||||||
/php-theseer-tokenizer-1.2.1-34a41e9.tgz
|
/php-theseer-tokenizer-1.2.1-34a41e9.tgz
|
||||||
/php-theseer-tokenizer-1.2.2-b2ad500.tgz
|
/php-theseer-tokenizer-1.2.2-b2ad500.tgz
|
||||||
/php-theseer-tokenizer-1.2.3-737eda6.tgz
|
/php-theseer-tokenizer-1.2.3-737eda6.tgz
|
||||||
|
/php-theseer-tokenizer-1.3.0-d74205c.tgz
|
||||||
|
/php-theseer-tokenizer-1.3.1-b7489ce.tgz
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
# remirepo/fedora spec file for php-theseer-tokenizer
|
# remirepo/fedora spec file for php-theseer-tokenizer
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017-2024 Remi Collet
|
# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet
|
||||||
# License: CC-BY-SA-4.0
|
# SPDX-License-Identifier: CECILL-2.1
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
|
||||||
#
|
#
|
||||||
# Please, preserve the changelog entries
|
# Please, preserve the changelog entries
|
||||||
#
|
#
|
||||||
%global gh_commit 737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2
|
%bcond_without tests
|
||||||
|
|
||||||
|
%global gh_commit b7489ce515e168639d17feec34b8847c326b0b3c
|
||||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||||
%global gh_vendor theseer
|
%global gh_vendor theseer
|
||||||
%global gh_project tokenizer
|
%global gh_project tokenizer
|
||||||
|
|
@ -14,7 +16,7 @@
|
||||||
%global ns_project Tokenizer
|
%global ns_project Tokenizer
|
||||||
|
|
||||||
Name: php-%{gh_vendor}-%{gh_project}
|
Name: php-%{gh_vendor}-%{gh_project}
|
||||||
Version: 1.2.3
|
Version: 1.3.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Library for converting tokenized PHP source code into XML
|
Summary: Library for converting tokenized PHP source code into XML
|
||||||
|
|
||||||
|
|
@ -30,10 +32,12 @@ BuildRequires: php-dom
|
||||||
BuildRequires: php-tokenizer
|
BuildRequires: php-tokenizer
|
||||||
BuildRequires: php-pcre
|
BuildRequires: php-pcre
|
||||||
BuildRequires: php-spl
|
BuildRequires: php-spl
|
||||||
# Autoloader
|
%if %{with tests}
|
||||||
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
|
|
||||||
# Tests
|
# Tests
|
||||||
BuildRequires: phpunit9
|
BuildRequires: phpunit9
|
||||||
|
%endif
|
||||||
|
# Autoloader
|
||||||
|
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
|
||||||
|
|
||||||
# From composer.json, "require": {
|
# From composer.json, "require": {
|
||||||
# "php": "^7.0 || ^8.0",
|
# "php": "^7.0 || ^8.0",
|
||||||
|
|
@ -73,9 +77,10 @@ mkdir -p %{buildroot}%{_datadir}/php/%{ns_vendor}
|
||||||
cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}
|
cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
ret=0
|
ret=0
|
||||||
for cmdarg in php php81 php82 php83; do
|
for cmdarg in php php81 php82 php83 php84 php85; do
|
||||||
if which $cmdarg; then
|
if which $cmdarg; then
|
||||||
$cmdarg -d auto_prepend_file=%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php \
|
$cmdarg -d auto_prepend_file=%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php \
|
||||||
%{_bindir}/phpunit9 \
|
%{_bindir}/phpunit9 \
|
||||||
|
|
@ -83,6 +88,7 @@ for cmdarg in php php81 php82 php83; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
exit $ret
|
exit $ret
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
|
@ -93,6 +99,22 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 19 2025 Remi Collet <remi@remirepo.net> - 1.3.1-1
|
||||||
|
- update to 1.3.1
|
||||||
|
|
||||||
|
* Fri Nov 14 2025 Remi Collet <remi@remirepo.net> - 1.3.0-1
|
||||||
|
- update to 1.3.0
|
||||||
|
- re-license spec file to CECILL-2.1
|
||||||
|
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Mar 5 2024 Remi Collet <remi@remirepo.net> - 1.2.3-1
|
* Tue Mar 5 2024 Remi Collet <remi@remirepo.net> - 1.2.3-1
|
||||||
- update to 1.2.3
|
- update to 1.2.3
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (php-theseer-tokenizer-1.2.3-737eda6.tgz) = 0257d482d321600f55766abf7365d8e97ebd5b5d43dbc42d3d99f5e9abf5e36e75ec019c1e7f65120b1ac67be7464f91684cbbf97e294688748614e773c4adeb
|
SHA512 (php-theseer-tokenizer-1.3.1-b7489ce.tgz) = 0eaecbe299b3844be21e22891eff42d864885b5dfb9960e29abc804f44c79884f429ea29acf0671f9107ffb1948398c181c5f7c0cee7d8ce4299d59af0ff3113
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue