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