summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-03-01 11:30:54 +0100
committerRemi Collet <remi@php.net>2022-03-01 11:30:54 +0100
commit1af4da8c4ecff2982aef984c23a75d77cf329e0e (patch)
tree359aeb6d5992c3d77f98811828883172adef5dac
parentc13dc0f5006ad1f4299255a83a858098e6bfc2d1 (diff)
fix pkgconfig file using patch from https://github.com/HdrHistogram/HdrHistogram_c/pull/105
-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