From b8f4cad21cb57bb434304016954e3b9074cc025d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Feb 2018 11:22:01 +0100 Subject: F28 cleanup --- hdrhistogram.spec | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'hdrhistogram.spec') diff --git a/hdrhistogram.spec b/hdrhistogram.spec index 0ba7c4b..02ed4bb 100644 --- a/hdrhistogram.spec +++ b/hdrhistogram.spec @@ -1,6 +1,6 @@ # remirepo spec file for hdrhistogram # -# Copyright (c) 2016-2017 Remi Collet +# Copyright (c) 2016-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -19,7 +19,6 @@ Summary: A High Dynamic Range (HDR) Histogram Version: 0.9.7 Release: 1%{?dist} License: CC0 or BSD -Group: System Environment/Libraries 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 @@ -47,7 +46,6 @@ by the Java implementation. The current supported features are: %package devel Summary: Header files and development libraries for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -77,12 +75,7 @@ grep CMAKE_C_FLAGS CMakeLists.txt %build export CFLAGS="%{optflags} -Wno-unknown-pragmas -std=gnu99" -%if 0%{?rhel} == 5 -%cmake28 . -%else %cmake . -%endif - make %{_smp_mflags} @@ -100,9 +93,11 @@ rm %{buildroot}/%{_bindir}/*test make test -%post libs -p /sbin/ldconfig - +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 +%post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig +%endif + %files @@ -124,6 +119,9 @@ make test %changelog +* Mon Feb 26 2018 Remi Collet - 0.9.7-2 +- F28 cleanup + * Fri Sep 15 2017 Remi Collet - 0.9.7-1 - update to 0.9.7 -- cgit