Browse Source

php-pecl-apcu package update

Signed-off-by: webbuilder_pel7x64builder0 <webbuilder@powerel.org>
master
webbuilder_pel7x64builder0 5 years ago
parent
commit
92796eef7f
  1. 1
      SOURCES/apcu-panel.conf
  2. 1
      SOURCES/apcu.conf.php
  3. 16
      SPECS/php-pecl-apcu.spec

1
SOURCES/apcu-panel.conf

@ -14,3 +14,4 @@ Alias /apcu-panel /usr/share/apcu-panel @@ -14,3 +14,4 @@ Alias /apcu-panel /usr/share/apcu-panel
Allow from ::1
</IfModule>
</Directory>


1
SOURCES/apcu.conf.php

@ -20,3 +20,4 @@ define('DATE_FORMAT', 'Y/m/d H:i:s'); // US @@ -20,3 +20,4 @@ define('DATE_FORMAT', 'Y/m/d H:i:s'); // US
define('GRAPH_SIZE',200); // Image size

//define('PROXY', 'tcp://127.0.0.1:8080');


16
SPECS/php-pecl-apcu.spec

@ -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


Loading…
Cancel
Save