summaryrefslogtreecommitdiffstats
path: root/php-pecl-protobuf.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-08-01 08:12:20 +0200
committerRemi Collet <remi@php.net>2024-08-01 08:12:20 +0200
commitc832b809e49fd3c178e37d28011f14cd8d25073b (patch)
tree1eec2ac21469375e8e6e13471125e20cc13e5fd6 /php-pecl-protobuf.spec
parent3ab4b75c26e6ae4ae5fd8fe54887547d75059d01 (diff)
update to 4.27.3
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r--php-pecl-protobuf.spec6
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}