From c832b809e49fd3c178e37d28011f14cd8d25073b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 1 Aug 2024 08:12:20 +0200 Subject: update to 4.27.3 --- php-pecl-protobuf.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'php-pecl-protobuf.spec') 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} -- cgit