[php-aws-sdk] Updated to 2.7.1 (BZ #1151012)

Shawn Iwinski siwinski at fedoraproject.org
Mon Oct 20 06:42:39 UTC 2014


commit ccce6a351c87fa2337577d9dcf8069b826ece1c3
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Mon Oct 20 02:42:02 2014 -0400

    Updated to 2.7.1 (BZ #1151012)
    
    - Doctrine Cache, Monolog, and Symfony YAML are now optional

 .gitignore       |    1 +
 php-aws-sdk.spec |   54 +++++++++++++++++++++++++++++++++++++++++-------------
 sources          |    2 +-
 3 files changed, 43 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b9a1797..8d1221e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /sdk-2.6.1.tgz
 /php-aws-sdk-2.6.15-4eaf38f0297533d48f013be7e1ffa1cb2c912e2f.tar.gz
 /php-aws-sdk-2.6.16-36434f2cd96ea78844478d897fb568a1866bce5a.tar.gz
+/php-aws-sdk-2.7.1-937a39ca3cee98d31a7410a17db24e0496c41494.tar.gz
diff --git a/php-aws-sdk.spec b/php-aws-sdk.spec
index f53b9e7..10606ff 100644
--- a/php-aws-sdk.spec
+++ b/php-aws-sdk.spec
@@ -13,8 +13,8 @@
 
 %global github_owner     aws
 %global github_name      aws-sdk-php
-%global github_version   2.6.16
-%global github_commit    36434f2cd96ea78844478d897fb568a1866bce5a
+%global github_version   2.7.1
+%global github_commit    937a39ca3cee98d31a7410a17db24e0496c41494
 
 %global composer_vendor  aws
 %global composer_project aws-sdk-php
@@ -24,9 +24,18 @@
 
 # "php": ">=5.3.3"
 %global php_min_ver      5.3.3
-# "guzzle/guzzle": ">=3.7.0,<=3.9.9"
-%global guzzle_min_ver   3.7.0
-%global guzzle_max_ver   3.9.9
+# "guzzle/guzzle": "~3.7"
+%global guzzle_min_ver   3.7
+%global guzzle_max_ver   4.0
+# "doctrine/cache": "~1.0"
+%global cache_min_ver    1.0
+%global cache_max_ver    2.0
+# "monolog/monolog": "~1.4"
+%global monolog_min_ver  1.4
+%global monolog_max_ver  2.0
+# "symfony/yaml": "~2.1"
+%global yaml_min_ver     2.1
+%global yaml_max_ver     3.0
 
 Name:      php-aws-sdk
 Version:   %{github_version}
@@ -45,22 +54,26 @@ Requires:  php(language)     >= %{php_min_ver}
 Requires:  php-guzzle-Guzzle >= %{guzzle_min_ver}
 Requires:  php-guzzle-Guzzle <  %{guzzle_max_ver}
 # composer.json: optional
-Requires:  php-composer(doctrine/cache)
-Requires:  php-composer(monolog/monolog)
 Requires:  php-openssl
-Requires:  php-symfony-yaml
-# phpcompatinfo (computed from version 2.6.16)
+# phpcompatinfo (computed from version 2.7.1)
 Requires:  php-curl
 Requires:  php-date
 Requires:  php-hash
 Requires:  php-json
-Requires:  php-openssl
 Requires:  php-pcre
 Requires:  php-reflection
 Requires:  php-session
 Requires:  php-simplexml
 Requires:  php-spl
 
+# Optional package version checks
+Conflicts: php-composer(doctrine/cache)  <  %{cache_min_ver}
+Conflicts: php-composer(doctrine/cache)  >= %{cache_max_ver}
+Conflicts: php-composer(monolog/monolog) <  %{monolog_min_ver}
+Conflicts: php-composer(monolog/monolog) >= %{monolog_max_ver}
+Conflicts: php-symfony-yaml              <  %{yaml_min_ver}
+Conflicts: php-symfony-yaml              >= %{yaml_max_ver}
+
 # Composer
 Provides:  php-composer(%{composer_vendor}/%{composer_project}) = %{version}
 # PEAR
@@ -74,14 +87,25 @@ Amazon Web Services SDK for PHP enables developers to build solutions for
 Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud
 (Amazon EC2), Amazon SimpleDB, and more.
 
+Optional:
+* APC (php-pecl-apcu):
+      Allows service description opcode caching, request and response caching,
+      and credentials caching
+* Doctrine Cache (php-doctrine-cache):
+      Adds support for caching of credentials and responses
+* Monolog (php-Monolog):
+      Adds support for logging HTTP requests and responses
+* Symfony YAML (php-symfony-yaml):
+      Eases the ability to write manifests for creating jobs in AWS
+      Import/Export
+
 
 %prep
 %setup -qn %{github_name}-%{github_commit}
 
-# Fix rpmlint issues:
+# Fix rpmlint issue:
 #     W: spurious-executable-perm /usr/share/doc/php-aws-sdk/composer.json
-#     E: script-without-shebang /usr/share/php/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatchTransfer.php
-chmod a-x composer.json src/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatchTransfer.php
+chmod a-x composer.json
 
 
 %build
@@ -117,6 +141,10 @@ fi
 
 
 %changelog
+* Mon Oct 20 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 2.7.1-1
+- Updated to 2.7.1 (BZ #1151012)
+- Doctrine Cache, Monolog, and Symfony YAML are now optional
+
 * Tue Sep 23 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 2.6.16-1
 - Updated to 2.6.16 (BZ #1142985)
 
diff --git a/sources b/sources
index 8b772da..b614dfc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ca6496283a3637feab22d3605c77fd1b  php-aws-sdk-2.6.16-36434f2cd96ea78844478d897fb568a1866bce5a.tar.gz
+9a13fc7b3a055080c3b5da49a1363639  php-aws-sdk-2.7.1-937a39ca3cee98d31a7410a17db24e0496c41494.tar.gz


More information about the scm-commits mailing list