From 846fcbfb4a23a9e6f802ae8853f5f76c79a53db8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 16 Oct 2024 12:48:50 +0200 Subject: modernize --- php-pecl-raphf.spec | 4 ++-- 1 file 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 -- cgit