diff options
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r-- | php-pecl-protobuf.spec | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec index 7e7ce53..f0fde08 100644 --- a/php-pecl-protobuf.spec +++ b/php-pecl-protobuf.spec @@ -55,8 +55,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO # Don't install/register tests sed -e 's/role="test"/role="src"/' \ -e '/utf8_range/s/role="doc"/role="src"/' \ - %{?_licensedir: -e '/LICENSE/s/role="doc"/role="src"/' } \ - %{!?_licensedir:-e '/LICENSE/s/role="src"/role="doc"/' } \ + -e '/LICENSE/s/role="doc"/role="src"/' \ -i package.xml cd %{sources} @@ -148,8 +147,7 @@ done %files -%{?_licensedir:%license %{sources}/LICENSE*} -%{!?_licensedir:%doc %{pecl_docdir}/%{pecl_name}} +%license %{sources}/LICENSE* %{pecl_xmldir}/%{name}.xml %config(noreplace) %{php_inidir}/%{ini_name} |