diff --git a/duperemove.spec b/duperemove.spec index 3b9ea70..56a6826 100644 --- a/duperemove.spec +++ b/duperemove.spec @@ -1,6 +1,6 @@ Name: duperemove Version: 0.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tools for deduping file systems License: GPLv2 URL: https://github.com/markfasheh/%{name} @@ -12,6 +12,10 @@ BuildRequires: libgcrypt-devel BuildRequires: xxhash-devel BuildRequires: libatomic BuildRequires: gcc +# Enable devtoolset so we get libatomic in EPEL +%if 0%{?rhel} == 7 +BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel +%endif %description Duperemove is a simple tool for finding duplicated extents and @@ -28,6 +32,9 @@ rm -f xxhash.c xxhash.h %build %set_build_flags +%if 0%{?rhel} +. /opt/rh/devtoolset-7/enable +%endif %make_build %install @@ -46,6 +53,9 @@ rm -f xxhash.c xxhash.h %{_sbindir}/show-shared-extents %changelog +* Sat Oct 20 2018 Jonathan Dieter - 0.11-3 +- Add devsettool BR and build for EPEL + * Fri Oct 19 2018 Jonathan Dieter - 0.11-2 - Add missing BR - Fix build to use build flags