|
|
@ -16,7 +16,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
Name: php-pecl-apcu |
|
|
|
Name: php-pecl-apcu |
|
|
|
Summary: APC User Cache |
|
|
|
Summary: APC User Cache |
|
|
|
Version: 5.1.17 |
|
|
|
Version: 5.1.18 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz |
|
|
|
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz |
|
|
|
Source1: %{pecl_name}.ini |
|
|
|
Source1: %{pecl_name}.ini |
|
|
@ -84,7 +84,6 @@ mv %{pecl_name}-%{version} NTS |
|
|
|
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml |
|
|
|
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml |
|
|
|
|
|
|
|
|
|
|
|
cd NTS |
|
|
|
cd NTS |
|
|
|
|
|
|
|
|
|
|
|
# Sanity check, really often broken |
|
|
|
# Sanity check, really often broken |
|
|
|
extver=$(sed -n '/#define PHP_APCU_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) |
|
|
|
extver=$(sed -n '/#define PHP_APCU_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) |
|
|
|
if test "x${extver}" != "x%{version}"; then |
|
|
|
if test "x${extver}" != "x%{version}"; then |
|
|
@ -151,9 +150,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 +185,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 +198,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} |
|
|
@ -216,6 +215,9 @@ REPORT_EXIT_STATUS=1 \ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Mon Oct 28 2019 Remi Collet <remi@remirepo.net> - 5.1.18-1 |
|
|
|
|
|
|
|
- update to 5.1.18 |
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 8 2019 Remi Collet <remi@remirepo.net> - 5.1.17-1 |
|
|
|
* Fri Feb 8 2019 Remi Collet <remi@remirepo.net> - 5.1.17-1 |
|
|
|
- update to 5.1.17 |
|
|
|
- update to 5.1.17 |
|
|
|
|
|
|
|
|
|
|
|