From 771eda1c8d76c964f83e943216cf05070a7240fc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Nov 2020 14:12:35 +0100 Subject: v1.1.1 --- php-react-event-loop.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'php-react-event-loop.spec') diff --git a/php-react-event-loop.spec b/php-react-event-loop.spec index ae3f2b6..9e123a9 100644 --- a/php-react-event-loop.spec +++ b/php-react-event-loop.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-react-event-loop # -# Copyright (c) 2017-2019 Shawn Iwinski +# Copyright (c) 2017-2020 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner reactphp %global github_name event-loop -%global github_version 1.1.0 -%global github_commit a0ecac955c67b57c40fe4a1b88a7cca1b58c982d +%global github_version 1.1.1 +%global github_commit 6d24de090cd59cfc830263cfba965be77b563c13 %global composer_vendor react %global composer_project event-loop @@ -22,7 +22,7 @@ %global php_min_ver 5.4.0 # Build using "--without tests" to disable tests -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests %{!?phpdir: %global phpdir %{_datadir}/php} @@ -33,11 +33,15 @@ Summary: Event loop abstraction layer that libraries can use for evented I License: MIT URL: https://reactphp.org/event-loop/ -Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz + +# GitHub export does not include tests +# Run php-react-event-loop-get-source.sh to create full source +Source0: %{name}-%{github_version}-%{github_commit}.tar.gz +Source1: %{name}-get-source.sh BuildArch: noarch # Tests -%if %{with_tests} +%if %{with tests} ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: phpunit7 @@ -115,7 +119,7 @@ find %{buildroot}%{phpdir}/React/EventLoop | sed 's#%{buildroot}##' | sort %check -%if %{with_tests} +%if %{with tests} : Create tests bootstrap cat <<'BOOTSTRAP' | tee bootstrap.php - 1.1.1-1 +- update to 1.1.1 + * Sat Dec 14 2019 Shawn Iwinski - 1.1.0-1 - Update to 1.1.0 (RHBZ #1599719) - Use PHPUnit 7 -- cgit