[atoum] Fix BR + license handling
Remi Collet
remi at fedoraproject.org
Tue Mar 24 12:01:07 UTC 2015
commit 1d56d81feceb0e4c7d59ebcc8aec3832a3174e7b
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Mar 24 13:01:02 2015 +0100
Fix BR + license handling
atoum.spec | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/atoum.spec b/atoum.spec
index 811a079..1756e83 100644
--- a/atoum.spec
+++ b/atoum.spec
@@ -10,7 +10,8 @@ Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz
BuildArch: noarch
-BuildRequires: php-common >= 5.3.3
+BuildRequires: php(language) >= 5.3.3
+BuildRequires: php-cli
BuildRequires: php-dom
BuildRequires: php-date
BuildRequires: php-hash
@@ -22,7 +23,7 @@ BuildRequires: php-mbstring
BuildRequires: php-pecl(Xdebug) >= 2.2.1
BuildRequires: php-xml
-Requires: php-common >= 5.3.3
+Requires: php(language) >= 5.3.3
Requires: php-dom
Requires: php-date
Requires: php-hash
@@ -34,7 +35,7 @@ Requires: php-mbstring
Requires: php-pecl(Xdebug) >= 2.2.1
Requires: php-xml
-provides: php-composer(atoum/atoum) = %{version}
+Provides: php-composer(atoum/atoum) = %{version}
%description
@@ -97,7 +98,9 @@ php runner.php --directories .
%files
-%doc ABOUT COPYING composer.json CREDITS.md FAQ.md README.md
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc ABOUT composer.json CREDITS.md FAQ.md README.md
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
More information about the scm-commits
mailing list