[php-guzzlehttp-streams] Updated URL and added php-composer virtual provide

Shawn Iwinski siwinski at fedoraproject.org
Fri Jun 6 23:03:06 UTC 2014


commit 88b8e64dcd4632bf43e2883df35d40f06591b97f
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Fri Jun 6 19:02:39 2014 -0400

    Updated URL and added php-composer virtual provide

 php-guzzlehttp-streams.spec |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/php-guzzlehttp-streams.spec b/php-guzzlehttp-streams.spec
index dd3ea26..496c81e 100644
--- a/php-guzzlehttp-streams.spec
+++ b/php-guzzlehttp-streams.spec
@@ -11,13 +11,13 @@
 
 Name:          php-%{composer_vendor}-%{composer_project}
 Version:       %{github_version}
-Release:       1%{?github_release}%{?dist}
+Release:       2%{?github_release}%{?dist}
 Summary:       Provides a simple abstraction over streams of data
 
 Group:         Development/Libraries
 License:       MIT
-URL:           https://github.com/%{github_owner}/%{github_name}
-Source0:       %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+URL:           http://docs.guzzlephp.org/en/latest/streams.html
+Source0:       https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
 
 BuildArch:     noarch
 # For tests: composer.json
@@ -33,9 +33,7 @@ Requires:      php(language) >= %{php_min_ver}
 Requires:      php-hash
 Requires:      php-spl
 
-# TODO: Provide whichever virtual provide that gets approved in Fedora PHP packaging guidelines
-#Provides:      php-composer(%%{composer_vendor}/%%{composer_project}) = %%{version}
-#Provides:      php-packagist(%%{composer_vendor}/%%{composer_project}) = %%{version}
+Provides:      php-composer(%{composer_vendor}/%{composer_project}) = %{version}
 
 %description
 Provides a simple abstraction over streams of data.
@@ -90,5 +88,9 @@ sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
 
 
 %changelog
+* Fri Jun 06 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.1.0-2
+- Updated URL
+- Added php-composer(%%{composer_vendor}/%%{composer_project}) virtual provide
+
 * Fri May 23 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.1.0-1
 - Initial package


More information about the scm-commits mailing list