summaryrefslogtreecommitdiffstats
path: root/php-zstd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zstd.spec')
-rw-r--r--php-zstd.spec17
1 files changed, 9 insertions, 8 deletions
diff --git a/php-zstd.spec b/php-zstd.spec
index 8a88b43..585db05 100644
--- a/php-zstd.spec
+++ b/php-zstd.spec
@@ -6,6 +6,10 @@
#
# Please, preserve the changelog entries
#
+
+# we don't want -z defs linker flag
+%undefine _strict_symbol_defs_build
+
%if 0%{?scl:1}
%global sub_prefix %{scl_prefix}
%scl_package php-zstd
@@ -19,8 +23,7 @@
%global with_libzstd 0
%endif
-
-%global gh_commit 8ca4cf45c200bcfa80469703d2f3a2ab46918a45
+%global gh_commit 8cd85458b188bcaec89e4a5ca8bc4f641149a02d
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner kjdev
%global gh_project php-ext-zstd
@@ -31,7 +34,7 @@
Summary: Zstd Extension for PHP
Name: %{?sub_prefix}php-%{pecl_name}
-Version: 0.4.11
+Version: 0.4.12
%if 0%{?gh_date:1}
Release: 0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
@@ -49,9 +52,6 @@ Source0: %{pkg_name}-%{version}-%{gh_short}.tgz
# retrieve a recursive git snapshot with submodule
Source1: makesrc.sh
-# https://github.com/kjdev/php-ext-zstd/pull/7
-Patch0: https://patch-diff.githubusercontent.com/raw/kjdev/php-ext-zstd/pull/7.patch
-
BuildRequires: %{?scl_prefix}php-devel
%if %{?with_libzstd}
BuildRequires: libzstd-devel >= 1.3
@@ -112,8 +112,6 @@ These are the files needed to compile programs using %{name}.
mv %{gh_project}-%{gh_commit} NTS
cd NTS
-%patch0 -p1
-
# replace symlink
rm LICENSE-zstd
mv zstd/LICENSE LICENSE-zstd
@@ -243,6 +241,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Jan 31 2018 Remi Collet <remi@remirepo.net> - 0.4.12-1
+- update to 0.4.12 (no change, PR merged upstream)
+
* Tue Jan 30 2018 Remi Collet <remi@remirepo.net> - 0.4.11-1
- new package, version 0.4.11
- add patch to build with system libzstd from