summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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