From 0470ed2fc84870f48bd277298c51fe7e418041d1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Nov 2014 07:36:20 +0100 Subject: php-solarium: fix license handling + composer provide --- php-solarium.spec | 12 ++++++++++-- 1 file 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 - 3.3.0-2 +- provide php-composer(solarium/solarium) +- fix license handling + * Mon Nov 17 2014 Remi Collet - 3.3.0-1 - update to 3.3.0 -- cgit