summaryrefslogtreecommitdiffstats
path: root/php-pecl-raphf.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-raphf.spec')
-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