Compare commits
69 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba0263fa89 | ||
|
|
227f42e018 | ||
|
|
445a1abbbd | ||
|
|
8f8b58a0bd | ||
|
|
e7e73df61b | ||
|
|
7e0109ced6 | ||
|
|
9a67bd0ddf | ||
|
|
b180c8f0b6 | ||
|
|
ddae66f6c2 | ||
|
|
d782293c5e | ||
|
|
a59d2e60e6 | ||
|
|
09f8249640 | ||
|
|
3060536c35 | ||
|
|
401dd1d9d6 | ||
|
|
9a1c144dd2 | ||
|
|
aca2e6a881 | ||
|
|
721d04ea68 | ||
|
|
f5d02f8198 | ||
|
|
b585fe4614 | ||
|
|
045fccad74 | ||
|
|
3e01f2043a | ||
|
|
9c8677c003 | ||
|
|
e5fc3342cd | ||
|
|
005814e9b3 | ||
|
|
27c9b43d85 | ||
|
|
3d42dbd77d | ||
|
|
4073edf9f9 | ||
|
|
e904576e53 | ||
|
|
288495f222 | ||
|
|
a0ea03a76d | ||
|
|
824df36a18 | ||
|
|
1bd52f5a39 | ||
|
|
be471fd601 | ||
|
|
aaed4cd294 | ||
|
|
e0b48a362e | ||
|
|
1bae613a1d | ||
|
|
0d89fc51d9 | ||
|
|
c4086ddb09 | ||
|
|
473c552b34 | ||
|
|
64ce985c81 | ||
|
|
ea75fdecb3 | ||
|
|
92fd481638 | ||
|
|
d4162b58f1 | ||
|
|
a3ea78b5cc | ||
|
|
152dafd50e | ||
|
|
5cda233f1c | ||
|
|
993e69cc80 | ||
|
|
76ffea34c6 | ||
|
|
2a96df8f89 | ||
|
|
055ed11eb2 | ||
|
|
5bd187f8f5 | ||
|
|
d4013f6e42 | ||
|
|
1e965880bd | ||
|
|
555fa4450d | ||
|
|
2fb0fb27d7 | ||
|
|
414c2cdf38 | ||
|
|
0b4a7e5df7 | ||
|
|
5bf2e25d8f | ||
|
|
be1a76fbca | ||
|
|
b8dff0f570 | ||
|
|
da6ffc2f4f | ||
|
|
4d6f0e4602 | ||
|
|
19c4f29659 | ||
|
|
bb2d84e487 | ||
|
|
b02ca15b6b | ||
|
|
7d599ef1aa | ||
|
|
4cb656fe75 | ||
|
|
9972844e46 | ||
|
|
b26f058a21 |
5 changed files with 392 additions and 156 deletions
43
.gitignore
vendored
43
.gitignore
vendored
|
|
@ -14,3 +14,46 @@ clog
|
|||
/php-twig-1.24.2-33093f6e310e6976baeac7b14f3a6ec02f2d79b7.tar.gz
|
||||
/php-twig-1.26.0-81c2b5fd36581370c7731387f05dcdb577050513.tar.gz
|
||||
/php-twig-1.26.1-a09d8ee17ac1cfea29ed60c83960ad685c6a898d.tar.gz
|
||||
/php-twig-1.27.0-3c6c0033fd3b5679c6e1cb60f4f9766c2b424d97.tar.gz
|
||||
/php-twig-1.28.0-60ae30368f7ac50a95de032f16c1e882b0f69813.tar.gz
|
||||
/php-twig-1.28.1-fff80c4a7ae1d47a81dfec10c76cbcb939170b45.tar.gz
|
||||
/php-twig-1.28.2-b22ce0eb070e41f7cba65d78fe216de29726459c.tar.gz
|
||||
/php-twig-1.30.0-c6ff71094fde15d12398eaba029434b013dc5e59.tar.gz
|
||||
/php-twig-1.31.0-ddc9e3e20ee9c0b6908f401ac8353635b750eca7.tar.gz
|
||||
/php-twig-1.32.0-9935b662e24d6e634da88901ab534cc12e8c728f.tar.gz
|
||||
/php-twig-1.33.0-05cf49921b13f6f01d3cfdf9018cfa7a8086fd5a.tar.gz
|
||||
/php-twig-1.33.2-dd6ca96227917e1e85b41c7c3cc6507b411e0927.tar.gz
|
||||
/php-twig-1.34.2-55e4beb721a044db9e31ae0470024fc205b6a008.tar.gz
|
||||
/php-twig-1.34.3-451c6f4197e113e24c1c85bc3fc8c2d77adeff2e.tar.gz
|
||||
/php-twig-1.34.4-f878bab48edb66ad9c6ed626bf817f60c6c096ee.tar.gz
|
||||
/php-twig-1.35.0-daa657073e55b0a78cce8fdd22682fddecc6385f.tar.gz
|
||||
/php-twig-1.35.1-ffda54d85cc3aec3ba499c8c0eda9b2176edfe83.tar.gz
|
||||
/php-twig-1.35.2-9c24f2cd39dc1906b76879e099970b7e53724601.tar.gz
|
||||
/php-twig-1.35.3-b48680b6eb7d16b5025b9bfc4108d86f6b8af86f.tar.gz
|
||||
/php-twig-1.35.4-7e081e98378a1e78c29cc9eba4aefa5d78a05d2a.tar.gz
|
||||
/php-twig-1.36.0-730c9c4471b5152d23061feb02b03382264c8a15.tar.gz
|
||||
/php-twig-1.37.0-66be9366c76cbf23e82e7171d47cbfa54a057a62.tar.gz
|
||||
/php-twig-1.37.1-66be9366c76cbf23e82e7171d47cbfa54a057a62.tar.gz
|
||||
/php-twig-1.38.2-874adbd9222f928f6998732b25b01b41dff15b0c.tar.gz
|
||||
/php-twig-1.38.3-5df0ef0ca2d08a6f087384c7f31530fb84889f28.tar.gz
|
||||
/php-twig-1.38.4-7732e9e7017d751313811bd118de61302e9c8b35.tar.gz
|
||||
/php-twig-1.39.1-23e7b6f0cfa1d7ba3de69f30d8e05cf957412fec.tar.gz
|
||||
/php-twig-1.40.0-2ba4eaf6b0649760a2cdbc0ada19486f9c1b4125.tar.gz
|
||||
/php-twig-1.40.1-35889516bbd6bbe46a600c2c33b03515df4a076e.tar.gz
|
||||
/php-twig-1.41.0-575cd5028362da591facde1ef5d7b94553c375c9.tar.gz
|
||||
/php-twig-1.42.0-2983fcf2e20a4afe95f07e61d89a7590b3c8df2e.tar.gz
|
||||
/php-twig-1.42.1-671347603760a88b1e7288aaa9378f33687d7edf.tar.gz
|
||||
/php-twig-1.42.2-21707d6ebd05476854805e4f91b836531941bcd4.tar.gz
|
||||
/php-twig-1.42.3-201baee843e0ffe8b0b956f336dd42b2a92fae4e.tar.gz
|
||||
/php-twig-1.42.4-e587180.tgz
|
||||
/php-twig-1.42.5-87b2ea9.tgz
|
||||
/php-twig-1.43.0-597a03e.tgz
|
||||
/php-twig-1.43.1-2311602.tgz
|
||||
/php-twig-1.44.0-e7c93a4.tgz
|
||||
/php-twig-1.44.1-04b15d4.tgz
|
||||
/php-twig-1.44.2-138c493.tgz
|
||||
/php-twig-1.44.3-920a9b9.tgz
|
||||
/php-twig-1.44.4-4d40042.tgz
|
||||
/php-twig-1.44.5-dd43533.tgz
|
||||
/php-twig-1.44.6-ae39480.tgz
|
||||
/php-twig-1.44.7-0887422.tgz
|
||||
|
|
|
|||
52
composer.json
Normal file
52
composer.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"name": "twig/twig",
|
||||
"type": "library",
|
||||
"description": "Twig, the flexible, fast, and secure template language for PHP",
|
||||
"keywords": ["templating"],
|
||||
"homepage": "https://twig.symfony.com",
|
||||
"license": "BSD-3-Clause",
|
||||
"minimum-stability": "dev",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Fabien Potencier",
|
||||
"email": "fabien@symfony.com",
|
||||
"homepage": "http://fabien.potencier.org",
|
||||
"role": "Lead Developer"
|
||||
},
|
||||
{
|
||||
"name": "Twig Team",
|
||||
"role": "Contributors"
|
||||
},
|
||||
{
|
||||
"name": "Armin Ronacher",
|
||||
"email": "armin.ronacher@active-4.com",
|
||||
"role": "Project Founder"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.2.5",
|
||||
"symfony/polyfill-ctype": "^1.8"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/phpunit-bridge": "^4.4.9|^5.0.9",
|
||||
"psr/container": "^1.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0" : {
|
||||
"Twig_" : "lib/"
|
||||
},
|
||||
"psr-4" : {
|
||||
"Twig\\" : "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4" : {
|
||||
"Twig\\Tests\\" : "tests"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.44-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
28
makesrc.sh
Executable file
28
makesrc.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
NAME=$(basename $PWD)
|
||||
OWNER=$(sed -n '/^%global github_owner/{s/.* //;p}' $NAME.spec)
|
||||
PROJECT=$(sed -n '/^%global github_name/{s/.* //;p}' $NAME.spec)
|
||||
VERSION=$(sed -n '/^%global github_version/{s/.* //;p}' $NAME.spec)
|
||||
COMMIT=$(sed -n '/^%global github_commit/{s/.* //;p}' $NAME.spec)
|
||||
SHORT=${COMMIT:0:7}
|
||||
|
||||
echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n"
|
||||
|
||||
echo "Cloning..."
|
||||
rm -rf $PROJECT-$COMMIT
|
||||
git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT
|
||||
|
||||
echo "Getting commit..."
|
||||
pushd $PROJECT-$COMMIT
|
||||
git checkout $COMMIT
|
||||
cp composer.json ../composer.json
|
||||
popd
|
||||
|
||||
echo "Archiving..."
|
||||
tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs $PROJECT-$COMMIT
|
||||
|
||||
echo "Cleaning..."
|
||||
rm -rf $PROJECT-$COMMIT
|
||||
|
||||
echo "Done."
|
||||
423
php-twig.spec
423
php-twig.spec
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Fedora spec file for php-twig
|
||||
#
|
||||
# Copyright (c) 2014-2016 Shawn Iwinski <shawn.iwinski@gmail.com>
|
||||
# Copyright (c) 2014-2022 Shawn Iwinski <shawn.iwinski@gmail.com>
|
||||
# Remi Collet <remi@fedoraproject.org>
|
||||
#
|
||||
# License: MIT
|
||||
|
|
@ -10,55 +10,46 @@
|
|||
# Please preserve changelog entries
|
||||
#
|
||||
|
||||
# Build using "--without tests" to disable tests
|
||||
%bcond_without tests
|
||||
|
||||
%global github_owner twigphp
|
||||
%global github_name Twig
|
||||
%global github_version 1.26.1
|
||||
%global github_commit a09d8ee17ac1cfea29ed60c83960ad685c6a898d
|
||||
|
||||
%if "%{php_version}" < "7"
|
||||
%global with_ext 1
|
||||
%else
|
||||
%global with_ext 0
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%global github_version 1.44.7
|
||||
%global github_commit 0887422319889e442458e48e2f3d9add1a172ad5
|
||||
%global github_short %(c=%{github_commit}; echo ${c:0:7})
|
||||
|
||||
# Lib
|
||||
%global composer_vendor twig
|
||||
%global composer_project twig
|
||||
|
||||
# Ext
|
||||
%global ext_name twig
|
||||
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
|
||||
%if "%{php_version}" < "5.6"
|
||||
%global ini_name %{ext_name}.ini
|
||||
%else
|
||||
%global ini_name 40-%{ext_name}.ini
|
||||
%endif
|
||||
|
||||
# "php": ">=5.2.7"
|
||||
%global php_min_ver 5.2.7
|
||||
|
||||
# Build using "--without tests" to disable tests
|
||||
%global with_tests 0%{!?_without_tests:1}
|
||||
# "php": ">=7.2.5"
|
||||
%global php_min_ver 7.2.5
|
||||
|
||||
%{!?phpdir: %global phpdir %{_datadir}/php}
|
||||
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
|
||||
|
||||
Name: php-%{composer_project}
|
||||
Version: %{github_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: The flexible, fast, and secure template engine for PHP
|
||||
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
# Automatically converted from old format: BSD - review is highly recommended.
|
||||
License: LicenseRef-Callaway-BSD
|
||||
URL: http://twig.sensiolabs.org
|
||||
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
|
||||
Source0: %{name}-%{github_version}-%{github_short}.tgz
|
||||
Source1: makesrc.sh
|
||||
|
||||
BuildRequires: php-devel >= %{php_min_ver}
|
||||
BuildArch: noarch
|
||||
# as we use phpunit9 (for assertFileDoesNotExist)
|
||||
BuildRequires: php-devel >= 7.3
|
||||
# Tests
|
||||
%if %{with_tests}
|
||||
BuildRequires: %{_bindir}/phpunit
|
||||
## phpcompatinfo (computed from version 1.26.0)
|
||||
%if %{with tests}
|
||||
BuildRequires: (php-composer(symfony/debug) >= 3.4 with php-composer(symfony/debug) < 4)
|
||||
BuildRequires: (php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 2)
|
||||
%global phpunit %{_bindir}/phpunit9
|
||||
BuildRequires: %{phpunit}
|
||||
## phpcompatinfo (computed from version 1.42.2)
|
||||
BuildRequires: php-ctype
|
||||
BuildRequires: php-date
|
||||
BuildRequires: php-dom
|
||||
|
|
@ -68,13 +59,16 @@ BuildRequires: php-json
|
|||
BuildRequires: php-mbstring
|
||||
BuildRequires: php-pcre
|
||||
BuildRequires: php-reflection
|
||||
BuildRequires: php-simplexml
|
||||
BuildRequires: php-spl
|
||||
%endif
|
||||
# Autoloader
|
||||
BuildRequires: php-fedora-autoloader-devel
|
||||
|
||||
# Lib
|
||||
## composer.json
|
||||
Requires: php(language) >= %{php_min_ver}
|
||||
## phpcompatinfo (computed from version 1.26.0)
|
||||
## phpcompatinfo (computed from version 1.42.2)
|
||||
Requires: php-ctype
|
||||
Requires: php-date
|
||||
Requires: php-dom
|
||||
|
|
@ -84,12 +78,10 @@ Requires: php-json
|
|||
Requires: php-mbstring
|
||||
Requires: php-pcre
|
||||
Requires: php-reflection
|
||||
Requires: php-simplexml
|
||||
Requires: php-spl
|
||||
# Ext
|
||||
%if %{with_ext}
|
||||
Requires: php(zend-abi) = %{php_zend_api}
|
||||
Requires: php(api) = %{php_core_api}
|
||||
%endif
|
||||
# Autoloader
|
||||
Requires: php-composer(fedora/autoloader)
|
||||
|
||||
# Lib
|
||||
## Composer
|
||||
|
|
@ -99,25 +91,10 @@ Obsoletes: php-twig-Twig < %{version}-%{release}
|
|||
Provides: php-twig-Twig = %{version}-%{release}
|
||||
## PEAR
|
||||
Provides: php-pear(pear.twig-project.org/Twig) = %{version}
|
||||
# Ext
|
||||
%if %{with_ext}
|
||||
## Rename
|
||||
Obsoletes: php-twig-ctwig < %{version}-%{release}
|
||||
Provides: php-twig-ctwig = %{version}-%{release}
|
||||
Provides: php-twig-ctwig%{?_isa} = %{version}-%{release}
|
||||
## PECL
|
||||
Provides: php-pecl(pear.twig-project.org/CTwig) = %{version}
|
||||
Provides: php-pecl(pear.twig-project.org/CTwig)%{?_isa} = %{version}
|
||||
%endif
|
||||
|
||||
# This pkg was the only one in this channel so the channel is no longer needed
|
||||
Obsoletes: php-channel-twig
|
||||
Obsoletes: php-channel-twig < 1.4
|
||||
|
||||
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
|
||||
# Filter shared private
|
||||
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
|
||||
%{?filter_setup}
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
|
@ -139,141 +116,277 @@ Autoloader: %{phpdir}/Twig/autoload.php
|
|||
%prep
|
||||
%setup -qn %{github_name}-%{github_commit}
|
||||
|
||||
%if %{with_ext}
|
||||
: Ext -- NTS
|
||||
mv ext/%{ext_name} ext/NTS
|
||||
%if %{with_zts}
|
||||
: Ext -- ZTS
|
||||
cp -pr ext/NTS ext/ZTS
|
||||
%endif
|
||||
|
||||
: Ext -- Create configuration file
|
||||
cat > %{ini_name} << 'INI'
|
||||
; Enable %{ext_name} extension module
|
||||
extension=%{ext_name}.so
|
||||
INI
|
||||
%endif
|
||||
: Move the PSR-4 compat library
|
||||
mv src lib/Twig/psr4
|
||||
|
||||
: Create lib autoloader
|
||||
cat <<'AUTOLOAD' | tee lib/Twig/autoload.php
|
||||
<?php
|
||||
/**
|
||||
* Autoloader for %{name} and its' dependencies
|
||||
*
|
||||
* Created by %{name}-%{version}-%{release}
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/Autoloader.php';
|
||||
Twig_Autoloader::register();
|
||||
AUTOLOAD
|
||||
|
||||
: Disable deprecated warning
|
||||
sed -e '/trigger_error/d' -i lib/Twig/Autoloader.php
|
||||
phpab --template fedora --output lib/Twig/autoload.php lib
|
||||
|
||||
|
||||
%build
|
||||
%if %{with_ext}
|
||||
: Ext -- NTS
|
||||
pushd ext/NTS
|
||||
%{_bindir}/phpize
|
||||
%configure --with-php-config=%{_bindir}/php-config
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
: Ext -- ZTS
|
||||
%if %{with_zts}
|
||||
pushd ext/ZTS
|
||||
%{_bindir}/zts-phpize
|
||||
%configure --with-php-config=%{_bindir}/zts-php-config
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
%endif
|
||||
%endif
|
||||
: nothing
|
||||
|
||||
|
||||
%install
|
||||
: Lib
|
||||
: PSR-0 and PSR-4 Libraries
|
||||
mkdir -p %{buildroot}%{phpdir}
|
||||
cp -rp lib/* %{buildroot}%{phpdir}/
|
||||
|
||||
%if %{with_ext}
|
||||
: Ext -- NTS
|
||||
make -C ext/NTS install INSTALL_ROOT=%{buildroot}
|
||||
install -D -m 0644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
|
||||
: Ext -- ZTS
|
||||
%if %{with_zts}
|
||||
make -C ext/ZTS install INSTALL_ROOT=%{buildroot}
|
||||
install -D -m 0644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%check
|
||||
: Library version check
|
||||
%{_bindir}/php -r 'require_once "%{buildroot}%{phpdir}/Twig/autoload.php";
|
||||
exit(version_compare("%{version}", Twig_Environment::VERSION, "=") ? 0 : 1);'
|
||||
|
||||
%if %{with_ext}
|
||||
: Extension version check
|
||||
EXT_VERSION=`grep PHP_TWIG_VERSION ext/NTS/php_twig.h | awk '{print $3}' | sed 's/"//g'` \
|
||||
%{_bindir}/php -r 'exit(version_compare("%{version}", getenv("EXT_VERSION"), "=") ? 0 : 1);'
|
||||
%{_bindir}/php -r 'require_once "%{buildroot}%{phpdir}/Twig/autoload.php";
|
||||
exit(version_compare("%{version}", Twig\Environment::VERSION, "=") ? 0 : 1);'
|
||||
|
||||
: Extension NTS minimal load test
|
||||
%{_bindir}/php --no-php-ini \
|
||||
--define extension=ext/NTS/modules/%{ext_name}.so \
|
||||
--modules | grep %{ext_name}
|
||||
%if %{with tests}
|
||||
: Generate autoloader
|
||||
mkdir vendor
|
||||
cat << 'EOF' | tee vendor/autoload.php
|
||||
<?php
|
||||
require_once '%{buildroot}%{phpdir}/Twig/autoload.php';
|
||||
\Fedora\Autoloader\Autoload::addPsr4('Twig\\Tests\\', dirname(__DIR__) . '/tests');
|
||||
\Fedora\Autoloader\Dependencies::required(array(
|
||||
'%{phpdir}/Symfony3/Component/Debug/autoload.php',
|
||||
'%{phpdir}/Psr/Container/autoload.php',
|
||||
));
|
||||
EOF
|
||||
|
||||
%if %{with_zts}
|
||||
: Extension ZTS minimal load test
|
||||
%{__ztsphp} --no-php-ini \
|
||||
--define extension=ext/ZTS/modules/%{ext_name}.so \
|
||||
--modules | grep %{ext_name}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{with_tests}
|
||||
: Skip tests known to fail
|
||||
sed -e 's#function testGetAttributeExceptions#function SKIP_testGetAttributeExceptions#' \
|
||||
-e 's/function testGetAttributeWithTemplateAsObject/function skip_testGetAttributeWithTemplateAsObject/' \
|
||||
-i test/Twig/Tests/TemplateTest.php
|
||||
%ifarch ppc64
|
||||
sed 's/function testGetAttributeWithTemplateAsObject/function SKIP_testGetAttributeWithTemplateAsObject/' \
|
||||
-i test/Twig/Tests/TemplateTest.php
|
||||
%endif
|
||||
: Disable listener from symfony/phpunit-bridge # ^4.4.9|^5.0.9
|
||||
sed -e '/listener/d' phpunit.xml.dist > phpunit.xml
|
||||
|
||||
: Test suite without extension
|
||||
%{_bindir}/phpunit --bootstrap %{buildroot}%{phpdir}/Twig/autoload.php --verbose
|
||||
|
||||
%if %{with_ext}
|
||||
: Test suite with extension
|
||||
%{_bindir}/php --define extension=ext/NTS/modules/%{ext_name}.so \
|
||||
%{_bindir}/phpunit --bootstrap %{buildroot}%{phpdir}/Twig/autoload.php --verbose
|
||||
%endif
|
||||
ret=0
|
||||
for SCL in "php %{phpunit}" php74 php80 php81 php82; do
|
||||
if which $SCL; then
|
||||
set $SCL
|
||||
$1 ${2:-%{_bindir}/phpunit9} $SKIP \
|
||||
--verbose || RETURN_CODE=1
|
||||
fi
|
||||
done
|
||||
exit $RETURN_CODE
|
||||
%else
|
||||
: Tests skipped
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%doc CHANGELOG README.rst composer.json
|
||||
# Lib
|
||||
%{phpdir}/Twig
|
||||
%if %{with_ext}
|
||||
# Ext
|
||||
## NTS
|
||||
%config(noreplace) %{php_inidir}/%{ini_name}
|
||||
%{php_extdir}/%{ext_name}.so
|
||||
## ZTS
|
||||
%if %{with_zts}
|
||||
%config(noreplace) %{php_ztsinidir}/%{ini_name}
|
||||
%{php_ztsextdir}/%{ext_name}.so
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.7-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.7-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Sep 4 2024 Miroslav Suchý <msuchy@redhat.com> - 1.44.7-7
|
||||
- convert license to SPDX
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.7-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.7-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Sep 29 2022 Remi Collet <remi@remirepo.net> - 1.44.7-1
|
||||
- update to 1.44.7
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Nov 25 2021 Remi Collet <remi@remirepo.net> - 1.44.6-1
|
||||
- update to 1.44.6 (no change)
|
||||
- drop patch merged upstream
|
||||
|
||||
* Wed Sep 22 2021 Remi Collet <remi@remirepo.net> - 1.44.5-1
|
||||
- update to 1.44.5
|
||||
- add patch for test suite from https://github.com/twigphp/Twig/pull/3563
|
||||
|
||||
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.4-2
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon May 17 2021 Remi Collet <remi@remirepo.net> - 1.44.4-1
|
||||
- update to 1.44.4
|
||||
|
||||
* Wed May 12 2021 Remi Collet <remi@remirepo.net> - 1.44.3-1
|
||||
- update to 1.44.3
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jan 6 2021 Remi Collet <remi@remirepo.net> - 1.44.2-1
|
||||
- update to 1.44.2
|
||||
|
||||
* Wed Oct 28 2020 Remi Collet <remi@remirepo.net> - 1.44.1-1
|
||||
- update to 1.44.1
|
||||
|
||||
* Wed Oct 21 2020 Remi Collet <remi@remirepo.net> - 1.44.0-1
|
||||
- update to 1.44.0
|
||||
- raise dependency on PHP 7.2.5
|
||||
|
||||
* Tue Aug 11 2020 Remi Collet <remi@remirepo.net> - 1.43.1-1
|
||||
- update to 1.43.1
|
||||
- switch to phpunit9
|
||||
- skip 1 more test with PHP 8.0
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.43.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 6 2020 Remi Collet <remi@remirepo.net> - 1.43.0-1
|
||||
- update to 1.43.0
|
||||
- raise dependency on PHP 7.1.3
|
||||
- switch to phpunit8
|
||||
|
||||
* Wed Feb 12 2020 Remi Collet <remi@remirepo.net> - 1.42.5-1
|
||||
- update to 1.42.5
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.42.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Nov 12 2019 Remi Collet <remi@remirepo.net> - 1.42.4-1
|
||||
- update to 1.42.4
|
||||
- sources from git snapshot
|
||||
|
||||
* Tue Aug 27 2019 Remi Collet <remi@remirepo.net> - 1.42.3-1
|
||||
- update to 1.42.3
|
||||
- use symfony/debug v3
|
||||
- use phpunit v7
|
||||
- raise dependency on PHP 5.5
|
||||
- drop support of the C extension
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.42.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Tue Jun 18 2019 Shawn Iwinski <shawn@iwin.ski> - 1.42.2-1
|
||||
- Update to 1.42.2
|
||||
|
||||
* Tue Jun 4 2019 Remi Collet <remi@remirepo.net> - 1.42.1-1
|
||||
- update to 1.42.1
|
||||
|
||||
* Mon Jun 3 2019 Remi Collet <remi@remirepo.net> - 1.42.0-1
|
||||
- update to 1.42.0
|
||||
|
||||
* Wed May 15 2019 Remi Collet <remi@remirepo.net> - 1.41.0-1
|
||||
- update to 1.41.0
|
||||
|
||||
* Tue Apr 30 2019 Remi Collet <remi@remirepo.net> - 1.40.1-1
|
||||
- update to 1.40.1
|
||||
|
||||
* Mon Apr 29 2019 Remi Collet <remi@remirepo.net> - 1.40.0-1
|
||||
- update to 1.40.0
|
||||
|
||||
* Wed Apr 17 2019 Remi Collet <remi@remirepo.net> - 1.39.1-1
|
||||
- update to 1.39.1
|
||||
|
||||
* Mon Mar 25 2019 Remi Collet <remi@remirepo.net> - 1.38.4-1
|
||||
- update to 1.38.4
|
||||
|
||||
* Fri Mar 22 2019 Remi Collet <remi@remirepo.net> - 1.38.3-1
|
||||
- update to 1.38.3
|
||||
|
||||
* Wed Mar 13 2019 Remi Collet <remi@remirepo.net> - 1.38.2-1
|
||||
- update to 1.38.2
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.37.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 14 2019 Remi Collet <remi@remirepo.net> - 1.37.1-1
|
||||
- update to 1.37.1
|
||||
- bump dependency on PHP 5.4
|
||||
|
||||
* Tue Dec 18 2018 Remi Collet <remi@remirepo.net> - 1.36.0-1
|
||||
- update to 1.36.0
|
||||
|
||||
* Fri Jul 13 2018 Remi Collet <remi@remirepo.net> - 1.35.4-1
|
||||
- update to 1.35.4
|
||||
|
||||
* Tue Mar 20 2018 Remi Collet <remi@remirepo.net> - 1.35.3-1
|
||||
- update to 1.35.3
|
||||
|
||||
* Sun Mar 4 2018 Remi Collet <remi@remirepo.net> - 1.35.2-1
|
||||
- Update to 1.35.2
|
||||
|
||||
* Sat Mar 3 2018 Remi Collet <remi@remirepo.net> - 1.35.1-1
|
||||
- Update to 1.35.1
|
||||
- use range dependencies on F27+
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.35.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Sep 28 2017 Remi Collet <remi@remirepo.net> - 1.35.0-1
|
||||
- Update to 1.35.0
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.34.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.34.4-2
|
||||
- Rebuild due to bug in RPM (RHBZ #1468476)
|
||||
|
||||
* Wed Jul 5 2017 Remi Collet <remi@remirepo.net> - 1.34.4-1
|
||||
- Update to 1.34.4
|
||||
|
||||
* Thu Jun 8 2017 Remi Collet <remi@remirepo.net> - 1.34.3-1
|
||||
- Update to 1.34.3
|
||||
|
||||
* Tue Jun 6 2017 Remi Collet <remi@remirepo.net> - 1.34.2-1
|
||||
- Update to 1.34.2
|
||||
- raise dependency on PHP 5.3.3
|
||||
- add namespaced compat library
|
||||
- switch to fedora/autoloader
|
||||
- drop build dependency on symfony/phpunit-bridge
|
||||
|
||||
* Mon Apr 24 2017 Remi Collet <remi@remirepo.net> - 1.33.2-1
|
||||
- Update to 1.33.2
|
||||
|
||||
* Thu Mar 23 2017 Remi Collet <remi@remirepo.net> - 1.33.0-1
|
||||
- Update to 1.33.0
|
||||
|
||||
* Mon Feb 27 2017 Remi Collet <remi@fedoraproject.org> - 1.32.0-1
|
||||
- Update to 1.32.0
|
||||
- add build dependency on symfony/phpunit-bridge, symfony/debug
|
||||
and psr/container
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2017 Remi Collet <remi@fedoraproject.org> - 1.31.0-1
|
||||
- Update to 1.31.0
|
||||
|
||||
* Thu Dec 29 2016 Remi Collet <remi@fedoraproject.org> - 1.30.0-1
|
||||
- Update to 1.30.0
|
||||
|
||||
* Thu Nov 24 2016 Remi Collet <remi@fedoraproject.org> - 1.28.2-1
|
||||
- Update to 1.28.2
|
||||
|
||||
* Tue Nov 22 2016 Remi Collet <remi@fedoraproject.org> - 1.28.1-1
|
||||
- Update to 1.28.1
|
||||
|
||||
* Fri Nov 18 2016 Remi Collet <remi@fedoraproject.org> - 1.28.0-1
|
||||
- Update to 1.28.0
|
||||
|
||||
* Wed Oct 26 2016 Remi Collet <remi@fedoraproject.org> - 1.27.0-1
|
||||
- Update to 1.27.0
|
||||
|
||||
* Thu Oct 6 2016 Remi Collet <remi@fedoraproject.org> - 1.26.1-1
|
||||
- Update to 1.26.1
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
970c8ffa3ab068af746c9e166e70f8ae php-twig-1.26.1-a09d8ee17ac1cfea29ed60c83960ad685c6a898d.tar.gz
|
||||
SHA512 (php-twig-1.44.7-0887422.tgz) = 7dbf734b7113dd0e1be34710d4a369cd902ab955346c4348a003a9844c8d55316f0f0713fe208d2b62f03cf4c799885432f79162b1c62c7b9304862f5b7c89b0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue