Add devsettool BR for EPEL
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
This commit is contained in:
parent
bbfe156afe
commit
e03676de94
@ -1,6 +1,6 @@
|
|||||||
Name: duperemove
|
Name: duperemove
|
||||||
Version: 0.11
|
Version: 0.11
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Tools for deduping file systems
|
Summary: Tools for deduping file systems
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/markfasheh/%{name}
|
URL: https://github.com/markfasheh/%{name}
|
||||||
@ -12,6 +12,10 @@ BuildRequires: libgcrypt-devel
|
|||||||
BuildRequires: xxhash-devel
|
BuildRequires: xxhash-devel
|
||||||
BuildRequires: libatomic
|
BuildRequires: libatomic
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
# Enable devtoolset so we get libatomic in EPEL
|
||||||
|
%if 0%{?rhel} == 7
|
||||||
|
BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Duperemove is a simple tool for finding duplicated extents and
|
Duperemove is a simple tool for finding duplicated extents and
|
||||||
@ -28,6 +32,9 @@ rm -f xxhash.c xxhash.h
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
|
%if 0%{?rhel}
|
||||||
|
. /opt/rh/devtoolset-7/enable
|
||||||
|
%endif
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -46,6 +53,9 @@ rm -f xxhash.c xxhash.h
|
|||||||
%{_sbindir}/show-shared-extents
|
%{_sbindir}/show-shared-extents
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 20 2018 Jonathan Dieter <jdieter@gmail.com> - 0.11-3
|
||||||
|
- Add devsettool BR and build for EPEL
|
||||||
|
|
||||||
* Fri Oct 19 2018 Jonathan Dieter <jdieter@gmail.com> - 0.11-2
|
* Fri Oct 19 2018 Jonathan Dieter <jdieter@gmail.com> - 0.11-2
|
||||||
- Add missing BR
|
- Add missing BR
|
||||||
- Fix build to use build flags
|
- Fix build to use build flags
|
||||||
|
Loading…
Reference in New Issue
Block a user