diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-04 08:55:55 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-04 08:55:55 +0200 |
commit | c89c6a3de41fd3a5720db4dcf2f951c50f700e8b (patch) | |
tree | 71c3079127ab192e8e419b777b8ac0cd1fe9add8 /php-zetacomponents-unit-test.spec | |
parent | 6459e3d7b9479167f071db1895082686fc2b8f66 (diff) |
php-zetacomponents-unit-test: add LICENSE
Diffstat (limited to 'php-zetacomponents-unit-test.spec')
-rw-r--r-- | php-zetacomponents-unit-test.spec | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/php-zetacomponents-unit-test.spec b/php-zetacomponents-unit-test.spec index 7da0f76..701876a 100644 --- a/php-zetacomponents-unit-test.spec +++ b/php-zetacomponents-unit-test.spec @@ -16,7 +16,7 @@ Name: php-%{gh_owner}-%{cname} Version: 1.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zeta UnitTest Component Group: Development/Libraries @@ -26,6 +26,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit # https://github.com/zetacomponents/UnitTest/pull/5 Patch0: %{name}-pr5.patch +# Upstream +Patch1: %{name}-upstream.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -36,6 +38,8 @@ Requires: php(language) > 5.3 Requires: php-pcre Requires: php-reflection Requires: php-spl +Requires: php-composer(phpunit/phpunit) +# Also use Exception for Base, skipped to avoid circular dep. Provides: php-composer(%{gh_owner}/%{cname}) = %{version} @@ -53,6 +57,7 @@ the mailing list. %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 +%patch1 -p1 %build @@ -81,7 +86,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} -%license NOTICE CREDITS +%license LICENSE* CREDITS %doc ChangeLog %doc composer.json %doc docs design @@ -92,6 +97,9 @@ rm -rf %{buildroot} %changelog +* Thu Jun 4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.2-2 +- add upstream patch for LICENSE file + * Wed Jun 3 2015 Remi Collet <remi@fedoraproject.org> - 1.0.2-1 - initial package - open https://github.com/zetacomponents/UnitTest/issues/4 License |