summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-04-13 17:39:03 +0200
committerRemi Collet <remi@remirepo.net>2017-04-13 17:39:03 +0200
commit489c9188b36fce7bec16d67c12dac20a4a694e0f (patch)
tree496a8fd8ecd63c7aa89e496239f1daa1e3246ec1
parent24e7035a5735af5718afe11b34672739e1726528 (diff)
v2.0.3
-rw-r--r--.gitignore7
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-igbinary.spec25
3 files changed, 24 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1ab5c4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/REFLECTION b/REFLECTION
index 4ac60ba..e0a28da 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #96 igbinary version 2.0.1 ] {
+Extension [ <persistent> extension #96 igbinary version 2.0.3 ] {
- Dependencies {
Dependency [ standard (Required) ]
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 0ec0e4a..e5f58fb 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -28,7 +28,7 @@
Summary: Replacement for the standard PHP serializer
Name: %{?sub_prefix}php-pecl-igbinary
-Version: 2.0.1
+Version: 2.0.3
%if 0%{?gh_date}
Release: 0.6.%{gh_date}git%{gh_short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Source0: https://github.com/%{extname}/%{extname}/archive/%{gh_commit}/%{extname}-%{version}-%{gh_short}.tar.gz
@@ -41,7 +41,6 @@ Group: System Environment/Libraries
URL: http://pecl.php.net/package/igbinary
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-devel >= 5.2.0
BuildRequires: %{?sub_prefix}php-pecl-apcu-devel
@@ -82,6 +81,10 @@ Obsoletes: php70w-pecl-%{extname}
Obsoletes: php71u-pecl-%{extname}
Obsoletes: php71w-pecl-%{extname}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-pecl-%{extname}
+Obsoletes: php72w-pecl-%{extname}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -170,6 +173,8 @@ EOF
%build
+%{?dtsenable}
+
cd NTS
%{_bindir}/phpize
%configure --with-php-config=%{_bindir}/php-config
@@ -184,7 +189,7 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
+%{?dtsenable}
make install -C NTS INSTALL_ROOT=%{buildroot}
@@ -251,10 +256,6 @@ REPORT_EXIT_STATUS=1 \
%endif
-%clean
-rm -rf %{buildroot}
-
-
%if 0%{?fedora} < 24
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
@@ -276,7 +277,6 @@ fi
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/COPYING}
%doc %{pecl_docdir}/%{extname}
%config(noreplace) %{php_inidir}/%{ini_name}
@@ -291,7 +291,6 @@ fi
%files devel
-%defattr(-,root,root,-)
%doc %{pecl_testdir}/%{extname}
%{php_incldir}/ext/%{extname}
@@ -301,6 +300,14 @@ fi
%changelog
+* Thu Apr 13 2017 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
+- update to 2.0.3
+- tarball generated from github (not yet available on pecl)
+- add patch "Don't call __wakeup if Serializable::unserialize() was used
+ to build object" from https://github.com/igbinary/igbinary/pull/130
+- add patch "Fix test suite for PHP 7.2"
+ from https://github.com/igbinary/igbinary/pull/131
+
* Tue Dec 20 2016 Remi Collet <remi@fedoraproject.org> - 2.0.1-1
- Update to 2.0.1