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 --- composer.json | 7 ++----- php-composer-ca-bundle-autoload.php | 7 ------- php-composer-ca-bundle-rpm.patch | 14 +++++++------- php-composer-ca-bundle.spec | 36 ++++++++++++++++++++++++++---------- 4 files changed, 35 insertions(+), 29 deletions(-) delete mode 100644 php-composer-ca-bundle-autoload.php diff --git a/composer.json b/composer.json index 7f41acd..b713cc7 100644 --- a/composer.json +++ b/composer.json @@ -27,12 +27,9 @@ "php": "^5.3.2 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.5", + "phpunit/phpunit": "^4.8.35", "psr/log": "^1.0", - "symfony/process": "^2.5 || ^3.0" - }, - "suggest": { - "symfony/process": "This is necessary to reliably check whether openssl_x509_parse is vulnerable on older php versions, but can be ignored on PHP 5.5.6+" + "symfony/process": "^2.5 || ^3.0 || ^4.0" }, "autoload": { "psr-4": { diff --git a/php-composer-ca-bundle-autoload.php b/php-composer-ca-bundle-autoload.php deleted file mode 100644 index c2a4244..0000000 --- a/php-composer-ca-bundle-autoload.php +++ /dev/null @@ -1,7 +0,0 @@ -= 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