summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-02-01 15:30:09 +0100
committerRemi Collet <remi@remirepo.net>2019-02-01 15:30:09 +0100
commitf86338547a306bee6402d58585ee3b55e710b40a (patch)
treeca91e8f1795a80768cba0fc4834d678c34ff328e
parent12fe867d503edb3ad52062062313a3867759ac77 (diff)
fix licensefedora
-rw-r--r--php-pecl-pcov.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-pecl-pcov.spec b/php-pecl-pcov.spec
index 692b0c2..ba8d93b 100644
--- a/php-pecl-pcov.spec
+++ b/php-pecl-pcov.spec
@@ -44,7 +44,7 @@ mv %{pecl_name}-%{version} NTS
# Don't install/register tests
sed -e 's/role="test"/role="src"/' \
- %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
+ -e '/LICENSE/s/role="doc"/role="src"/' \
-i package.xml
cd NTS
@@ -157,6 +157,7 @@ REPORT_EXIT_STATUS=1 \
%files
+%license NTS/LICENSE
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml