From 9b1b7e9bcc8043d512f0fe24bae4d6d0236277fa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 2 Oct 2020 07:43:18 +0200 Subject: update to 0.3.7 drop patch merged upstream --- php-lz4.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'php-lz4.spec') diff --git a/php-lz4.spec b/php-lz4.spec index 0748ff6..856900c 100644 --- a/php-lz4.spec +++ b/php-lz4.spec @@ -19,7 +19,7 @@ %global with_liblz4 0 %endif -%global gh_commit 3daf64b7981416115ecc0a94d9b43d8290e2ce14 +%global gh_commit eba37043ec2bbceabb4134e46ef301f10827d3d7 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-lz4 @@ -30,11 +30,11 @@ Summary: LZ4 Extension for PHP Name: %{?sub_prefix}php-lz4 -Version: 0.3.6 +Version: 0.3.7 %if 0%{?gh_date:1} -Release: 3%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: MIT Group: Development/Languages @@ -43,10 +43,6 @@ Source0: %{pkg_name}-%{version}-%{gh_short}.tgz # retrieve a recursive git snapshot with submodule Source1: makesrc.sh -Patch0: https://github.com/kjdev/php-ext-lz4/commit/9f78918579daa110baa7aa70eaa969ba1c23725d.patch -Patch1: https://github.com/kjdev/php-ext-lz4/commit/ef4f39b2149765cac1f9a7bc5a360e09e9e506e6.patch -Patch2: https://patch-diff.githubusercontent.com/raw/kjdev/php-ext-lz4/pull/26.patch - BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel %if %{?with_liblz4} @@ -89,10 +85,6 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO mv %{gh_project}-%{gh_commit} NTS cd NTS -%patch0 -p1 -b .up0 -%patch1 -p1 -b .up1 -%patch2 -p1 -b .pr26 - %if %{?with_liblz4} # Use the system library rm -r lz4 @@ -207,6 +199,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Oct 2 2020 Remi Collet - 0.3.7-1 +- update to 0.3.7 +- drop patch merged upstream + * Wed Sep 30 2020 Remi Collet - 0.3.6-4 - rebuild for PHP 8.0.0RC1 -- cgit