From 691f356ccb16ba9fac263bbd831e07452eed18c1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Jan 2019 12:10:49 +0100 Subject: update to 0.9.8 soname bump to 3 --- hdrhistogram-fpic.patch | 9 +++++---- hdrhistogram.spec | 17 +++++++++-------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/hdrhistogram-fpic.patch b/hdrhistogram-fpic.patch index 53546b0..81c2e45 100644 --- a/hdrhistogram-fpic.patch +++ b/hdrhistogram-fpic.patch @@ -1,10 +1,11 @@ ---- ./CMakeLists.txt.opts 2016-04-06 11:28:38.677132787 +0200 -+++ ./CMakeLists.txt 2016-04-06 11:29:03.131245198 +0200 -@@ -24,9 +24,7 @@ +diff -up ./CMakeLists.txt.fpic ./CMakeLists.txt +--- ./CMakeLists.txt.fpic 2019-01-20 08:57:28.000000000 +0100 ++++ ./CMakeLists.txt 2019-01-21 11:44:06.556633427 +0100 +@@ -24,9 +24,7 @@ set(HDR_SOVERSION ${HDR_SOVERSION_CURREN ENABLE_TESTING() if(UNIX) -- set(CMAKE_C_FLAGS "-Wall -Wno-unknown-pragmas -Wextra -Wshadow -Winit-self -Wmissing-prototypes -D_GNU_SOURCE") +- set(CMAKE_C_FLAGS "-Wall -Wno-unknown-pragmas -Wextra -Wshadow -Winit-self -Wmissing-prototypes -Wpedantic -D_GNU_SOURCE -std=gnu89") - set(CMAKE_C_FLAGS_DEBUG "-O0 -g") - set(CMAKE_C_FLAGS_RELEASE "-O3 -g") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -D_GNU_SOURCE") diff --git a/hdrhistogram.spec b/hdrhistogram.spec index 634ecdb..3681325 100644 --- a/hdrhistogram.spec +++ b/hdrhistogram.spec @@ -1,23 +1,23 @@ # remirepo spec file for hdrhistogram # -# Copyright (c) 2016-2018 Remi Collet +# Copyright (c) 2016-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit d200fc0f68695d4aef1fad5c3c8cc55f8c033014 +%global gh_commit 1b290d45fee1be984dfa08bfe0cc3adf34fe2f5e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner HdrHistogram %global gh_project HdrHistogram_c %global libname libhdr_histogram -%global soname 1 +%global soname 3 Name: hdrhistogram Summary: A High Dynamic Range (HDR) Histogram -Version: 0.9.7 -Release: 3%{?dist} +Version: 0.9.8 +Release: 1%{?dist} License: CC0 or BSD URL: https://github.com/%{gh_owner}/%{gh_project} @@ -84,9 +84,6 @@ make %{_smp_mflags} %install make install DESTDIR="%{buildroot}" -# https://github.com/HdrHistogram/HdrHistogram_c/issues/32 -install -p src/hdr_thread.h %{buildroot}%{_includedir}/hdr/hdr_thread.h - rm %{buildroot}/%{_libdir}/%{libname}_static.a rm %{buildroot}/%{_bindir}/*test @@ -121,6 +118,10 @@ make test %changelog +* Mon Jan 21 2019 Remi Collet - 0.9.8-1 +- update to 0.9.8 +- soname bump to 3 + * Wed Aug 22 2018 Remi Collet - 0.9.7-3 - F29 cleanup -- cgit