summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-04-15 17:55:10 +0200
committerRemi Collet <fedora@famillecollet.com>2015-04-15 17:55:10 +0200
commit393701cfa3632632a6403418aeddcd8846a5487a (patch)
tree655caccccd2cb9fdea252c412bc44789e88b92fe
parent03691c269ec083f978a29b403b49536963df6c38 (diff)
php-pecl-zip: 1.12.5
-rw-r--r--REFLECTION5
-rw-r--r--php-pecl-zip.spec17
2 files changed, 13 insertions, 9 deletions
diff --git a/REFLECTION b/REFLECTION
index 722e345..d0890cc 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #151 zip version 1.12.4 ] {
+Extension [ <persistent> extension #177 zip version 1.12.5 ] {
- Functions {
Function [ <internal:zip> function zip_open ] {
@@ -69,7 +69,7 @@ Extension [ <persistent> extension #151 zip version 1.12.4 ] {
- Classes [1] {
Class [ <internal:zip> class ZipArchive ] {
- - Constants [69] {
+ - Constants [70] {
Constant [ integer CREATE ] { 1 }
Constant [ integer EXCL ] { 2 }
Constant [ integer CHECKCONS ] { 4 }
@@ -128,6 +128,7 @@ Extension [ <persistent> extension #151 zip version 1.12.4 ] {
Constant [ integer OPSYS_OS_2 ] { 6 }
Constant [ integer OPSYS_MACINTOSH ] { 7 }
Constant [ integer OPSYS_Z_SYSTEM ] { 8 }
+ Constant [ integer OPSYS_Z_CPM ] { 9 }
Constant [ integer OPSYS_WINDOWS_NTFS ] { 10 }
Constant [ integer OPSYS_MVS ] { 11 }
Constant [ integer OPSYS_VSE ] { 12 }
diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec
index fed4482..054a7ad 100644
--- a/php-pecl-zip.spec
+++ b/php-pecl-zip.spec
@@ -27,8 +27,8 @@
Summary: A ZIP archive management extension
Summary(fr): Une extension de gestion des ZIP
Name: %{?scl_prefix}php-pecl-zip
-Version: 1.12.4
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 1.12.5
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
%if %{with_libzip}
License: PHP
%else
@@ -94,6 +94,9 @@ Paquet construit pour PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VE
%prep
%setup -c -q
+# Don't install/register tests
+sed -e 's/role="test"/role="src"/' -i package.xml
+
cd %{pecl_name}-%{version}
%if %{with_libzip}
@@ -155,11 +158,8 @@ make -C %{pecl_name}-zts install INSTALL_ROOT=%{buildroot}
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
-# Test & Documentation
+# Documentation
cd %{pecl_name}-%{version}
-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
@@ -223,7 +223,6 @@ fi
%files
%defattr(-, root, root, -)
%doc %{pecl_docdir}/%{pecl_name}
-%doc %{pecl_testdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
%config(noreplace) %{php_inidir}/%{ini_name}
@@ -236,6 +235,10 @@ fi
%changelog
+* Wed Apr 15 2015 Remi Collet <remi@fedoraproject.org> - 1.12.5-1
+- Update to 1.12.5
+- Don't install/register tests
+
* Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> - 1.12.1-3
- new scriptlets