From 1af4da8c4ecff2982aef984c23a75d77cf329e0e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Mar 2022 11:30:54 +0100 Subject: fix pkgconfig file using patch from https://github.com/HdrHistogram/HdrHistogram_c/pull/105 --- hdrhistogram.spec | 5 +++++ 1 file changed, 5 insertions(+) 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 - 0.11.1-2 - bump soname to 106 and rename to HdrHistogram_c6php to allow -- cgit