btrfs available on eln, remove rhel conditional
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
22e5e8a916
commit
ae1a7fdc76
@ -32,9 +32,6 @@ License: ASL 2.0 and BSD and ISC and MIT
|
|||||||
URL: %{git0}
|
URL: %{git0}
|
||||||
ExclusiveArch: %{go_arches}
|
ExclusiveArch: %{go_arches}
|
||||||
Source0: %{git0}/archive/%{built_tag}.tar.gz
|
Source0: %{git0}/archive/%{built_tag}.tar.gz
|
||||||
%if 0%{?fedora}
|
|
||||||
BuildRequires: btrfs-progs-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: golang >= 1.16.6
|
BuildRequires: golang >= 1.16.6
|
||||||
BuildRequires: go-md2man
|
BuildRequires: go-md2man
|
||||||
@ -119,9 +116,6 @@ done
|
|||||||
export GOPATH=$(pwd):$(pwd)/vendor
|
export GOPATH=$(pwd):$(pwd)/vendor
|
||||||
|
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
%if 0%{?rhel} >= 8
|
|
||||||
export BUILDTAGS='exclude_graphdriver_btrfs btrfs_noversion'
|
|
||||||
%endif
|
|
||||||
%gobuild -o bin/%{name} ./cmd/%{name}
|
%gobuild -o bin/%{name} ./cmd/%{name}
|
||||||
pushd docs
|
pushd docs
|
||||||
for file in $(ls | grep 1.md)
|
for file in $(ls | grep 1.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user