From c784597487338bee948cd78d0a24eb72e8f2af6b Mon Sep 17 00:00:00 2001 From: Martin Gieseking Date: Wed, 15 Jan 2020 11:29:46 +0100 Subject: [PATCH] updated to version 1.1.8 --- .gitignore | 1 + snappy-gtest.patch | 4 ++-- snappy-version-macros.patch | 17 ----------------- snappy.spec | 11 ++++++----- sources | 2 +- 5 files changed, 10 insertions(+), 25 deletions(-) delete mode 100755 snappy-version-macros.patch diff --git a/.gitignore b/.gitignore index 0d9b1cc..8eb997f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /snappy-1.1.3.tar.gz /snappy-1.1.4.tar.gz /snappy-1.1.7.tar.gz +/snappy-1.1.8.tar.gz diff --git a/snappy-gtest.patch b/snappy-gtest.patch index 94ad525..c553fc3 100644 --- a/snappy-gtest.patch +++ b/snappy-gtest.patch @@ -1,8 +1,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -118,7 +118,7 @@ - "${PROJECT_SOURCE_DIR}/snappy-test.cc" +@@ -212,7 +212,7 @@ + "snappy-test.cc" ) target_compile_definitions(snappy_unittest PRIVATE -DHAVE_CONFIG_H) - target_link_libraries(snappy_unittest snappy ${GFLAGS_LIBRARIES}) diff --git a/snappy-version-macros.patch b/snappy-version-macros.patch deleted file mode 100755 index c46ef64..0000000 --- a/snappy-version-macros.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/snappy-stubs-public.h.in b/snappy-stubs-public.h.in -index 3fd79bb..bb5b222 100644 ---- a/snappy-stubs-public.h.in -+++ b/snappy-stubs-public.h.in -@@ -48,9 +48,9 @@ - #include - #endif // HAVE_SYS_UIO_H - --#define SNAPPY_MAJOR ${SNAPPY_MAJOR} --#define SNAPPY_MINOR ${SNAPPY_MINOR} --#define SNAPPY_PATCHLEVEL ${SNAPPY_PATCHLEVEL} -+#define SNAPPY_MAJOR ${PROJECT_VERSION_MAJOR} -+#define SNAPPY_MINOR ${PROJECT_VERSION_MINOR} -+#define SNAPPY_PATCHLEVEL ${PROJECT_VERSION_PATCH} - #define SNAPPY_VERSION \ - ((SNAPPY_MAJOR << 16) | (SNAPPY_MINOR << 8) | SNAPPY_PATCHLEVEL) - diff --git a/snappy.spec b/snappy.spec index 119c743..f715e7c 100644 --- a/snappy.spec +++ b/snappy.spec @@ -1,6 +1,6 @@ Name: snappy -Version: 1.1.7 -Release: 9%{?dist} +Version: 1.1.8 +Release: 1%{?dist} Summary: Fast compression and decompression library License: BSD @@ -9,8 +9,6 @@ Source0: https://github.com/google/snappy/releases/download/%{version}/%{ # add missing dependency on gtest to snappy_unittest Patch0: %{name}-gtest.patch -# fix version macros in snappy-stubs-public.h.in (BZ #1527850) -Patch1: %{name}-version-macros.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -39,7 +37,6 @@ developing applications that use %{name}. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %cmake . @@ -88,6 +85,10 @@ ctest -V %{?_smp_mflags} %changelog +* Wed Jan 15 2020 Martin Gieseking - 1.1.8-1 +- Updated to new release. +- Dropped version-related patch which has been applied upstream (BZ #1527850). + * Fri Jul 26 2019 Fedora Release Engineering - 1.1.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3dbc326..39ac64a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (snappy-1.1.7.tar.gz) = 32046f532606ba545a4e4825c0c66a19be449f2ca2ff760a6fa170a3603731479a7deadb683546e5f8b5033414c50f4a9a29f6d23b7a41f047e566e69eca7caf +SHA512 (snappy-1.1.8.tar.gz) = efe18ff1b3edda1b4b6cefcbc6da8119c05d63afdbf7a784f3490353c74dced76baed7b5f1aa34b99899729192b9d657c33c76de4b507a51553fa8001ae75c1c