[php-google-apiclient/f21] use new %license directory, add composer/packagist Provides:

Adam Williamson adamwill at fedoraproject.org
Sat Dec 20 23:00:07 UTC 2014


commit 83ec1e61db34add4ff0c2770955c670dc8494b22
Author: Adam Williamson <awilliam at redhat.com>
Date:   Sat Dec 20 14:59:42 2014 -0800

    use new %license directory, add composer/packagist Provides:

 php-google-apiclient.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/php-google-apiclient.spec b/php-google-apiclient.spec
index db5121e..a207164 100644
--- a/php-google-apiclient.spec
+++ b/php-google-apiclient.spec
@@ -9,7 +9,7 @@
 
 Name:          php-google-apiclient
 Version:       %{github_version}
-Release:       0.2%{?github_release}%{?dist}
+Release:       0.3%{?github_release}%{?dist}
 Summary:       Client library for Google APIs
 
 Group:         Development/Libraries
@@ -37,6 +37,8 @@ Requires:      php-openssl
 Requires:      php-reflection
 Requires:      php-spl
 
+Provides:      php-composer(google/apiclient) = %{version}
+
 %description
 Google APIs Client Library for PHP provides access to many Google APIs.
 It is designed for PHP client-application developers and offers simple,
@@ -106,7 +108,9 @@ grep '%{_sysconfdir}/pki/tls/certs/ca-bundle.crt' --quiet \
 
 
 %files
-%doc LICENSE *.md composer.json
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc *.md composer.json
 %{_datadir}/php/Google
 
 %files examples
@@ -114,6 +118,10 @@ grep '%{_sysconfdir}/pki/tls/certs/ca-bundle.crt' --quiet \
 
 
 %changelog
+* Sat Dec 20 2014 Adam Williamson <awilliam at redhat.com> - 1.0.6-0.3.beta
+- use new %license directory
+- add Packagist/Composer provide
+
 * Fri Nov 07 2014 Adam Williamson <awilliam at redhat.com> - 1.0.6-0.2.beta
 - apply CA trust store path substitution to Curl as well as Stream
 


More information about the scm-commits mailing list