Revert "remove git and ostree from build deps"
This reverts commit b92cb64669
.
Modularity changed, and this breaks FAHC. See:
https://github.com/projectatomic/atomic/issues/1158
This commit is contained in:
parent
b92cb64669
commit
e10b235e70
@ -51,6 +51,7 @@ Source3: mounts.conf
|
|||||||
BuildRequires: go-srpm-macros
|
BuildRequires: go-srpm-macros
|
||||||
BuildRequires: compiler(go-compiler)
|
BuildRequires: compiler(go-compiler)
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: git
|
||||||
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
|
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
|
||||||
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
|
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
|
||||||
BuildRequires: golang-github-cpuguy83-go-md2man
|
BuildRequires: golang-github-cpuguy83-go-md2man
|
||||||
@ -59,6 +60,7 @@ BuildRequires: libassuan-devel
|
|||||||
# Dependencies for containers/storage
|
# Dependencies for containers/storage
|
||||||
BuildRequires: btrfs-progs-devel
|
BuildRequires: btrfs-progs-devel
|
||||||
BuildRequires: pkgconfig(devmapper)
|
BuildRequires: pkgconfig(devmapper)
|
||||||
|
BuildRequires: ostree-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
|
|
||||||
Requires: %{repo}-containers = %{version}-%{release}
|
Requires: %{repo}-containers = %{version}-%{release}
|
||||||
@ -184,7 +186,7 @@ This package installs a default signature store configuration and a default
|
|||||||
policy under `/etc/containers/`.
|
policy under `/etc/containers/`.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{commit0}
|
%autosetup -Sgit -n %{name}-%{commit0}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p src/github.com/projectatomic
|
mkdir -p src/github.com/projectatomic
|
||||||
@ -205,7 +207,7 @@ export GOPATH=$(pwd):%{gopath}
|
|||||||
export GOPATH=$(pwd):$(pwd)/vendor:%{gopath}
|
export GOPATH=$(pwd):$(pwd)/vendor:%{gopath}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BUILDTAGS+='containers_image_ostree_stub' make binary-local docs
|
make binary-local docs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
|
Loading…
Reference in New Issue
Block a user