From 3086e70b60e8f05c616a1c62fbfb2de4b98e999b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 Feb 2015 08:00:12 +0100 Subject: php-phpdocumentor-reflection-docblock: add LICENSE --- php-phpdocumentor-reflection-docblock.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'php-phpdocumentor-reflection-docblock.spec') diff --git a/php-phpdocumentor-reflection-docblock.spec b/php-phpdocumentor-reflection-docblock.spec index 99fe151..23491f1 100644 --- a/php-phpdocumentor-reflection-docblock.spec +++ b/php-phpdocumentor-reflection-docblock.spec @@ -14,15 +14,17 @@ Name: php-phpdocumentor-reflection-docblock Version: 2.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DocBlock parser Group: Development/Libraries -# https://github.com/phpDocumentor/ReflectionDocBlock/issues/40 License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz +# https://github.com/phpDocumentor/ReflectionDocBlock/issues/40 +Source1: https://raw.githubusercontent.com/phpDocumentor/ReflectionDocBlock/master/LICENSE + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3.3 @@ -53,6 +55,8 @@ DocBlocks or otherwise retrieve information that is embedded in a DocBlock. %prep %setup -q -n %{gh_project}-%{gh_commit} +cp %{SOURCE1} LICENSE + %build phpab \ @@ -85,13 +89,16 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} -#license LICENSE +%license LICENSE %doc *.md %doc composer.json %{_datadir}/php/phpDocumentor %changelog +* Tue Feb 3 2015 Remi Collet - 2.0.3-2 +- add LICENSE from upstream repository + * Fri Dec 19 2014 Remi Collet - 2.0.3-1 - initial package - open https://github.com/phpDocumentor/ReflectionDocBlock/issues/40 -- cgit