diff --git a/duperemove.spec b/duperemove.spec index e252cbe..0eebdf0 100644 --- a/duperemove.spec +++ b/duperemove.spec @@ -1,6 +1,6 @@ Name: duperemove Version: 0.11.1 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: Tools for deduping file systems License: GPLv2 URL: https://github.com/markfasheh/%{name} @@ -12,8 +12,8 @@ BuildRequires: libgcrypt-devel BuildRequires: xxhash-devel BuildRequires: libatomic BuildRequires: gcc -# Enable devtoolset so we get libatomic in EPEL -%if 0%{?rhel} == 7 +# Enable devtoolset so we get libatomic in EPEL-7 +%if 0%{?el7} BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel %endif @@ -32,7 +32,7 @@ rm -f xxhash.c xxhash.h %build %set_build_flags -%if 0%{?rhel} +%if 0%{?el7} . /opt/rh/devtoolset-7/enable %endif %make_build @@ -53,6 +53,9 @@ rm -f xxhash.c xxhash.h %{_sbindir}/show-shared-extents %changelog +* Tue Dec 10 2019 Jonathan Dieter - 0.11.1-1.1 +- Fix build for EPEL-8 + * Sun Dec 08 2019 Jonathan Dieter - 0.11.1-1 - New release