summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-opentelemetry.spec4
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