summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hdrhistogram.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/hdrhistogram.spec b/hdrhistogram.spec
index 1a972e5..f6a7461 100644
--- a/hdrhistogram.spec
+++ b/hdrhistogram.spec
@@ -101,6 +101,9 @@ This package contains the %{libname} library.
sed -e 's/CMAKE_INSTALL_DATAROOTDIR/CMAKE_INSTALL_LIBDIR/' -i CMakeLists.txt
sed -e 's/CMAKR_CURRENT_BINARY_DIR/CMAKE_CURRENT_BINARY_DIR/' -i CMakeLists.txt
+%if 0%{?rhel} == 7
+sed -e '/^Requires.private/d' -i hdr_histogram.pc.in
+%endif
mkdir docs
cp -pr examples docs/examples
@@ -184,6 +187,8 @@ fi
- update to 0.11.1
- add pkgconfig file, fix its installation using patch from
https://github.com/HdrHistogram/HdrHistogram_c/pull/104
+- fix pkgconfig file using patch from
+ https://github.com/HdrHistogram/HdrHistogram_c/pull/105
* Tue Dec 8 2020 Remi Collet <remi@remirepo.net> - 0.11.1-2
- bump soname to 106 and rename to HdrHistogram_c6php to allow