|
|
@ -151,9 +151,9 @@ cd NTS |
|
|
|
for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') |
|
|
|
for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') |
|
|
|
do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i |
|
|
|
do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$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 |
|
|
@ -186,7 +186,7 @@ REPORT_EXIT_STATUS=1 \ |
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
%files |
|
|
|
%license NTS/LICENSE |
|
|
|
%license NTS/LICENSE |
|
|
|
%doc %{pecl_docdir}/%{pecl_name} |
|
|
|
#%doc %{pecl_docdir}/%{pecl_name} |
|
|
|
%{pecl_xmldir}/%{name}.xml |
|
|
|
%{pecl_xmldir}/%{name}.xml |
|
|
|
|
|
|
|
|
|
|
|
%config(noreplace) %{php_inidir}/%{ini_name} |
|
|
|
%config(noreplace) %{php_inidir}/%{ini_name} |
|
|
@ -199,7 +199,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} |
|
|
|