summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-11-19 07:36:20 +0100
committerRemi Collet <fedora@famillecollet.com>2014-11-19 07:36:20 +0100
commit0470ed2fc84870f48bd277298c51fe7e418041d1 (patch)
treec3816c9a043f0b1a7e128011f56dbbd6fb7217df
parent3e65829902618bed2051bf9bb0adcd8ffd80f1ee (diff)
php-solarium: fix license handling + composer provide
-rw-r--r--php-solarium.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-solarium.spec b/php-solarium.spec
index e258cae..5c171bb 100644
--- a/php-solarium.spec
+++ b/php-solarium.spec
@@ -15,7 +15,7 @@
Name: php-%{gh_project}
Summary: Solarium PHP Solr client library
Version: 3.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.solarium-project.org/
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz
@@ -43,6 +43,8 @@ Requires: php-json
Requires: php-pcre
Requires: php-spl
+Provides: php-composer(solarium/solarium) = %{version}
+
%description
Solarium is a PHP Solr client library that accurately model Solr concepts.
@@ -102,11 +104,17 @@ phpunit \
%files
%defattr(-,root,root,-)
-%doc composer.json COPYING README.md examples
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc composer.json README.md examples
%{_datadir}/php/Solarium
%changelog
+* Tue Nov 18 2014 Remi Collet <remi@fedoraproject.org> - 3.3.0-2
+- provide php-composer(solarium/solarium)
+- fix license handling
+
* Mon Nov 17 2014 Remi Collet <remi@fedoraproject.org> - 3.3.0-1
- update to 3.3.0