summaryrefslogtreecommitdiffstats
path: root/php-symfony-polyfill.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-symfony-polyfill.spec')
-rw-r--r--php-symfony-polyfill.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/php-symfony-polyfill.spec b/php-symfony-polyfill.spec
index 56800d0..0913870 100644
--- a/php-symfony-polyfill.spec
+++ b/php-symfony-polyfill.spec
@@ -12,8 +12,8 @@
%global github_owner symfony
%global github_name polyfill
-%global github_version 1.17.1
-%global github_commit c36c1b42c49a5519b5424733de58412d6f387209
+%global github_version 1.18.0
+%global github_commit 752850af0626a125022f0ac809a00606189a7ca0
%global composer_vendor symfony
%global composer_project polyfill
@@ -33,7 +33,7 @@
%endif
# Build using "--without tests" to disable tests
-%global with_tests 0%{!?_without_tests:1}
+%bcond_without tests
%{!?phpdir: %global phpdir %{_datadir}/php}
@@ -50,7 +50,7 @@ BuildArch: noarch
# Autoloader
BuildRequires: php-fedora-autoloader-devel
# Tests
-%if %{with_tests}
+%if %{with tests}
BuildRequires: php-composer(phpunit/phpunit)
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
@@ -167,7 +167,7 @@ cp -rp src/* %{buildroot}%{phpdir}/Symfony/Polyfill/
%check
-%if %{with_tests}
+%if %{with tests}
: Upstream tests
RETURN_CODE=0
PHPUNIT=$(which phpunit)
@@ -194,6 +194,9 @@ exit $RETURN_CODE
%changelog
+* Wed Jul 15 2020 Remi Collet <remi@remirepo.net> - 1.18.0-1
+- update to 1.18.0
+
* Thu Jul 2 2020 Remi Collet <remi@remirepo.net> - 1.17.1-1
- update to 1.17.1