Browse Source

php-pecl-apcu change to documentation

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

10
SPECS/php-pecl-apcu.spec

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


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

%files
%license NTS/LICENSE
%doc %{pecl_docdir}/%{pecl_name}
#%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml

%config(noreplace) %{php_inidir}/%{ini_name}
@ -199,7 +199,7 @@ REPORT_EXIT_STATUS=1 \ @@ -199,7 +199,7 @@ REPORT_EXIT_STATUS=1 \


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

%if %{with_zts}

Loading…
Cancel
Save