summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-22 16:19:37 +0200
committerRemi Collet <remi@remirepo.net>2017-08-22 16:19:37 +0200
commit8d34ffa044e29305481c9d5376ade6ec4386ddd3 (patch)
tree49f68f4b51815c801605a12eae8f92292493d160
parenta21f0b7eb0a3991688b0c10c4731cb77ffeb2070 (diff)
honour default RPM build options
-rw-r--r--hdrhistogram-fpic.patch2
-rw-r--r--hdrhistogram.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/hdrhistogram-fpic.patch b/hdrhistogram-fpic.patch
index 305bf81..53546b0 100644
--- a/hdrhistogram-fpic.patch
+++ b/hdrhistogram-fpic.patch
@@ -7,7 +7,7 @@
- set(CMAKE_C_FLAGS "-Wall -Wno-unknown-pragmas -Wextra -Wshadow -Winit-self -Wmissing-prototypes -D_GNU_SOURCE")
- set(CMAKE_C_FLAGS_DEBUG "-O0 -g")
- set(CMAKE_C_FLAGS_RELEASE "-O3 -g")
-+ set(CMAKE_C_FLAGS "-fPIC -D_GNU_SOURCE")
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -D_GNU_SOURCE")
endif()
if(WIN32)
diff --git a/hdrhistogram.spec b/hdrhistogram.spec
index 3173915..ca938d0 100644
--- a/hdrhistogram.spec
+++ b/hdrhistogram.spec
@@ -17,7 +17,7 @@
Name: hdrhistogram
Summary: A High Dynamic Range (HDR) Histogram
Version: 0.9.6
-Release: 1%{?dist}
+Release: 2%{?dist}
License: CC0 or BSD
Group: System Environment/Libraries
@@ -124,6 +124,9 @@ make test
%changelog
+* Tue Aug 22 2017 Remi Collet <remi@fedoraproject.org> - 0.9.6-2
+- honour default RPM build options
+
* Fri Apr 21 2017 Remi Collet <remi@fedoraproject.org> - 0.9.6-1
- update to 0.9.6