Browse Source

php-pecl-igbinary doc changes

Signed-off-by: webbuilder_pel7x64builder0 <webbuilder@powerel.org>
master
webbuilder_pel7x64builder0 6 years ago
parent
commit
f5d6a8d17e
  1. 10
      SPECS/php-pecl-igbinary.spec

10
SPECS/php-pecl-igbinary.spec

@ -129,9 +129,9 @@ for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
do [ -f $i ] && install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i do [ -f $i ] && install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
[ -f tests/$i ] && install -Dpm 644 tests/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/$i [ -f tests/$i ] && install -Dpm 644 tests/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/$i
done done
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 #do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done #done




%check %check
@ -177,7 +177,7 @@ REPORT_EXIT_STATUS=1 \




%files %files
%doc %{pecl_docdir}/%{pecl_name} #%doc %{pecl_docdir}/%{pecl_name}
%config(noreplace) %{php_inidir}/%{ini_name} %config(noreplace) %{php_inidir}/%{ini_name}
%{php_extdir}/%{pecl_name}.so %{php_extdir}/%{pecl_name}.so
%{pecl_xmldir}/%{name}.xml %{pecl_xmldir}/%{name}.xml
@ -189,7 +189,7 @@ REPORT_EXIT_STATUS=1 \




%files devel %files devel
%doc %{pecl_testdir}/%{pecl_name} #%doc %{pecl_testdir}/%{pecl_name}
%{php_incldir}/ext/%{pecl_name} %{php_incldir}/ext/%{pecl_name}


%if %{with_zts} %if %{with_zts}

Loading…
Cancel
Save