summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-26 11:22:01 +0100
committerRemi Collet <remi@remirepo.net>2018-02-26 11:22:01 +0100
commitb8f4cad21cb57bb434304016954e3b9074cc025d (patch)
treed0a9fa79448915e5acffa73456ee7937de65678f
parent354e319ca3aa144b676ecb9ce920c6407cf55fa4 (diff)
F28 cleanup
-rw-r--r--hdrhistogram.spec18
1 files changed, 8 insertions, 10 deletions
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 <remi@remirepo.net> - 0.9.7-2
+- F28 cleanup
+
* Fri Sep 15 2017 Remi Collet <remi@remirepo.net> - 0.9.7-1
- update to 0.9.7