Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9849ef3146 |
3 changed files with 25 additions and 10 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.2-b2ad500.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
|
||||
#
|
||||
# Copyright (c) 2017-2024 Remi Collet
|
||||
# License: CC-BY-SA-4.0
|
||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||
# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet
|
||||
# SPDX-License-Identifier: CECILL-2.1
|
||||
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
|
||||
#
|
||||
# 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_vendor theseer
|
||||
%global gh_project tokenizer
|
||||
|
|
@ -14,8 +16,8 @@
|
|||
%global ns_project Tokenizer
|
||||
|
||||
Name: php-%{gh_vendor}-%{gh_project}
|
||||
Version: 1.2.3
|
||||
Release: 3%{?dist}
|
||||
Version: 1.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Library for converting tokenized PHP source code into XML
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
|
@ -30,10 +32,12 @@ BuildRequires: php-dom
|
|||
BuildRequires: php-tokenizer
|
||||
BuildRequires: php-pcre
|
||||
BuildRequires: php-spl
|
||||
# Autoloader
|
||||
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
|
||||
%if %{with tests}
|
||||
# Tests
|
||||
BuildRequires: phpunit9
|
||||
%endif
|
||||
# Autoloader
|
||||
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
|
||||
|
||||
# From composer.json, "require": {
|
||||
# "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}
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
ret=0
|
||||
for cmdarg in php php81 php82 php83; do
|
||||
for cmdarg in php php81 php82 php83 php84 php85; do
|
||||
if which $cmdarg; then
|
||||
$cmdarg -d auto_prepend_file=%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php \
|
||||
%{_bindir}/phpunit9 \
|
||||
|
|
@ -83,6 +88,7 @@ for cmdarg in php php81 php82 php83; do
|
|||
fi
|
||||
done
|
||||
exit $ret
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
|
|
@ -93,6 +99,13 @@ exit $ret
|
|||
|
||||
|
||||
%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
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
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