From 84827b1ee80b94702e0bb1936d6f52fa481ba6cd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 30 Nov 2017 07:22:58 +0100 Subject: Update to 1.1.0 allow Symfony 2, 3 and 4 --- php-composer-ca-bundle.spec | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) (limited to 'php-composer-ca-bundle.spec') diff --git a/php-composer-ca-bundle.spec b/php-composer-ca-bundle.spec index decdea1..c8727b2 100644 --- a/php-composer-ca-bundle.spec +++ b/php-composer-ca-bundle.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 36344aeffdc37711335563e6108cda86566432a6 +%global gh_commit 943b2c4fcad1ef178d16a713c2468bf7e579c288 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner composer %global gh_project ca-bundle @@ -14,7 +14,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-composer-ca-bundle -Version: 1.0.9 +Version: 1.1.0 Release: 1%{?dist} Summary: Lets you find a path to the system CA @@ -24,7 +24,6 @@ URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to get everything, despite .gitattributes Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh -Source2: %{name}-autoload.php # Never bundle a CA file Patch0: %{name}-rpm.patch @@ -36,13 +35,13 @@ BuildRequires: php-openssl BuildRequires: php-pcre BuildRequires: php-cli # From composer.json, "require": { -# "phpunit/phpunit": "^4.5", +# "phpunit/phpunit": "^4.8.35", # "psr/log": "^1.0", -# "symfony/process": "^2.5 || ^3.0" +# "symfony/process": "^2.5 || ^3.0 || ^4.0" BuildRequires: phpunit BuildRequires: php-composer(psr/log) < 2 BuildRequires: php-composer(psr/log) >= 1.0 -BuildRequires: php-composer(symfony/process) < 3 +BuildRequires: php-composer(symfony/process) < 5 BuildRequires: php-composer(symfony/process) >= 2.5 # Autoloader BuildRequires: php-composer(fedora/autoloader) @@ -76,11 +75,18 @@ Autoloader: %{php_home}/Composer/CaBundle/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} -cp %{SOURCE2} src/autoload.php %patch0 -p0 -b .rpm - find src -name \*.rpm -exec rm {} \; +cat << 'EOF' | tee src/autoload.php + - 1.1.0-1 +- Update to 1.1.0 +- allow Symfony 2, 3 and 4 + * Tue Nov 14 2017 Remi Collet - 1.0.9-1 - Update to 1.0.9 (no change) -- cgit