From 003261c8adf45e3063a5c870e57a4c0615e0f569 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Jun 2020 10:13:02 +0200 Subject: update to 0.11.0 rename to HdrHistogram_c to match Fedora drop patch merged upstream --- .gitignore | 2 + compat_reports/0.10.0_to_0.11.0/compat_report.html | 485 +++++++++++++++++++++ hdrhistogram.spec | 24 +- libhdr_histogram.xml | 2 +- 4 files changed, 505 insertions(+), 8 deletions(-) create mode 100644 compat_reports/0.10.0_to_0.11.0/compat_report.html diff --git a/.gitignore b/.gitignore index 1ab5c4f..01f0400 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ +clog package-*.xml *.tgz +*.tar.bz2 *.tar.gz *.tar.xz *.tar.xz.asc diff --git a/compat_reports/0.10.0_to_0.11.0/compat_report.html b/compat_reports/0.10.0_to_0.11.0/compat_report.html new file mode 100644 index 0000000..e0ad810 --- /dev/null +++ b/compat_reports/0.10.0_to_0.11.0/compat_report.html @@ -0,0 +1,485 @@ + + + + + + + + + + +libhdr_histogram: 0.10.0 to 0.11.0 compatibility report + + + +

API compatibility report for the libhdr_histogram library between 0.10.0 and 0.11.0 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibhdr_histogram
Version #10.10.0
Version #20.11.0
Archx86_64
GCC Version9
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files6
Total Libraries1
Total Symbols / Types81 / 34
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-0
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Header Files  6 


+
+hdr_histogram.h
+hdr_histogram_log.h
+hdr_interval_recorder.h
+hdr_thread.h
+hdr_time.h
+hdr_writer_reader_phaser.h
+
+
to the top
+

Libraries  1 


+
+libhdr_histogram.so.6.1.0
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibhdr_histogram
Version #10.10.0
Version #20.11.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files6
Total Libraries1
Total Symbols / Types81 / 34
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-0
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Header Files  6 


+
+hdr_histogram.h
+hdr_histogram_log.h
+hdr_interval_recorder.h
+hdr_thread.h
+hdr_time.h
+hdr_writer_reader_phaser.h
+
+
to the top
+

Libraries  1 


+
+libhdr_histogram.so.6.1.0
+
+
to the top
+



+ +
+ + diff --git a/hdrhistogram.spec b/hdrhistogram.spec index 881011e..4d5f0c8 100644 --- a/hdrhistogram.spec +++ b/hdrhistogram.spec @@ -1,4 +1,4 @@ -# remirepo spec file for hdrhistogram +# remirepo spec file for HdrHistogram_c # # Copyright (c) 2016-2020 Remi Collet # License: CC-BY-SA @@ -7,24 +7,22 @@ # Please, preserve the changelog entries # -%global gh_commit f400fa0de945d458dc83201bf5a369db5220899e +%global gh_commit 04cb4a110aea00e2c995af3eaa317fe9046b944f %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 6 -Name: hdrhistogram +Name: HdrHistogram_c Summary: A High Dynamic Range (HDR) Histogram -Version: 0.10.0 +Version: 0.11.0 Release: 1%{?dist} License: CC0 or BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz -Patch0: %{gh_project}-static.patch - %if 0%{?rhel} == 6 || 0%{?rhel} == 7 BuildRequires: cmake3 >= 3.5 BuildRequires: devtoolset-6-toolchain @@ -36,6 +34,7 @@ BuildRequires: gcc-c++ BuildRequires: zlib-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Obsoletes: hdrhistogram < 0.11 %description @@ -53,6 +52,7 @@ by the Java implementation. The current supported features are: %package devel Summary: Header files and development libraries for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} +Obsoletes: hdrhistogram-devel < 0.11 %description devel This package contains the header files and development libraries @@ -62,6 +62,7 @@ for %{name}. %package libs Summary: A High Dynamic Range (HDR) Histogram C library Group: System Environment/Libraries +Obsoletes: hdrhistogram-libs < 0.11 %description libs This package contains the %{libname} library. @@ -69,7 +70,6 @@ This package contains the %{libname} library. %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p1 -b .pr84 mkdir docs cp -pr examples docs/examples @@ -101,6 +101,11 @@ rm %{buildroot}/%{_bindir}/*test %check make test +if grep -r static %{buildroot}%{_libdir}/cmake; then + : cmake configuration file contain reference to static library + exit 1 +fi + %if 0%{?fedora} < 28 && 0%{?rhel} < 8 %post libs -p /sbin/ldconfig @@ -130,6 +135,11 @@ make test %changelog +* Wed Jun 17 2020 Remi Collet - 0.11.0-1 +- update to 0.11.0 +- rename to HdrHistogram_c to match Fedora +- drop patch merged upstream + * Mon Jun 15 2020 Remi Collet - 0.10.0-1 - update to 0.10.0 - soname bump to 6 diff --git a/libhdr_histogram.xml b/libhdr_histogram.xml index b722015..1ea0347 100644 --- a/libhdr_histogram.xml +++ b/libhdr_histogram.xml @@ -9,7 +9,7 @@ -0.10.0 +0.11.0 -- cgit