diff options
author | Remi Collet <remi@remirepo.net> | 2023-04-01 08:57:51 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-04-01 08:57:51 +0200 |
commit | a8f78d4b163ed493fccde5e557b31bf6b27380c7 (patch) | |
tree | 001b43b7faa22bc9e1facdb487dbcd1e720fffc2 | |
parent | e37211d1873d1af9700d12120be3d37cd5ae42bc (diff) |
add docs
-rw-r--r-- | php-pecl-opentelemetry.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-opentelemetry.spec b/php-pecl-opentelemetry.spec index 89dd181..1f2b0b0 100644 --- a/php-pecl-opentelemetry.spec +++ b/php-pecl-opentelemetry.spec @@ -127,7 +127,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} # Documentation cd %{sources} -for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') +for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done @@ -179,7 +179,7 @@ fi %files -#%%doc %%{pecl_docdir}/%%{pecl_name} +%doc %{pecl_docdir}/%{pecl_name} %{?_licensedir:%license %{sources}/LICENSE*} %{pecl_xmldir}/%{name}.xml |