From e5cb412fd0c2952f900cd671be29f1613e43a482 Mon Sep 17 00:00:00 2001 From: Martin Gieseking Date: Sat, 28 Jan 2017 18:39:22 +0100 Subject: [PATCH] rebuild snappy 1.1.4 with correct tarball --- snappy.spec | 11 ++++++++++- sources | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/snappy.spec b/snappy.spec index 45dd5bc..91683d0 100644 --- a/snappy.spec +++ b/snappy.spec @@ -1,6 +1,6 @@ Name: snappy Version: 1.1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fast compression and decompression library Group: System Environment/Libraries @@ -10,6 +10,9 @@ Source0: https://github.com/google/snappy/releases/download/%{version}/%{ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtest-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool %description Snappy is a compression/decompression library. It does not aim for maximum @@ -36,6 +39,7 @@ developing applications that use %{name}. %build +./autogen.sh %configure CXXFLAGS="%{optflags} -DNDEBUG" --disable-static make %{?_smp_mflags} @@ -73,6 +77,11 @@ make check %changelog +* Sat Jan 28 2017 Martin Gieseking - 1.1.4-2 +- Rebuilt with https://github.com/google/snappy/archive/1.1.4.tar.gz since + %%{source0} contains different and buggy code. + https://groups.google.com/forum/#!topic/snappy-compression/uhELq553TrI + * Sat Jan 28 2017 Martin Gieseking - 1.1.4-1 - Updated to new release. - Added pkgconfig file now coming with the sources. diff --git a/sources b/sources index 5836786..06fc36a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (snappy-1.1.4.tar.gz) = 4f522f1d541e3f00d82ccaf6dda5c6ede28d4db19c53717003d8057261fe8630516ed6ff2a28615da032e0de9c6200b560ed5fce4f8714df9916d50d6a7c2178 +SHA512 (snappy-1.1.4.tar.gz) = 873f655713611f4bdfc13ab2a6d09245681f427fbd4f6a7a880a49b8c526875dbdd623e203905450268f542be24a2dc9dae50e6acc1516af1d2ffff3f96553da