summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-16 12:48:50 +0200
committerRemi Collet <remi@php.net>2024-10-16 12:48:50 +0200
commit846fcbfb4a23a9e6f802ae8853f5f76c79a53db8 (patch)
treec2e42ffa24d385ac737e20f55e9a390ba4c6881d
parent19cb52df164be99ccde7dd770dd8bebeac2dc299 (diff)
modernizeHEADmaster
-rw-r--r--php-pecl-raphf.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-raphf.spec b/php-pecl-raphf.spec
index cd71de5..2d768a5 100644
--- a/php-pecl-raphf.spec
+++ b/php-pecl-raphf.spec
@@ -73,7 +73,7 @@ These are the files needed to compile programs using %{name}.
%prep
%setup -qc
-%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}
+sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
cd %{sources}
%patch -P0 -p1 -b .pr9
@@ -190,7 +190,7 @@ REPORT_EXIT_STATUS=1 \
%files
-%{?_licensedir:%license %{sources}/LICENSE}
+%license %{sources}/LICENSE
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml