From b92cb64669ca811bf214c0eafcf039246c8f0b35 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Dec 04 2017 23:56:26 +0000 Subject: remove git and ostree from build deps makes module building easier until we have git and ostree in modules. Signed-off-by: Lokesh Mandvekar --- diff --git a/skopeo.spec b/skopeo.spec index 0524de8..f78634e 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -51,7 +51,6 @@ Source3: mounts.conf BuildRequires: go-srpm-macros BuildRequires: compiler(go-compiler) %endif -BuildRequires: git # 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: golang-github-cpuguy83-go-md2man @@ -60,7 +59,6 @@ BuildRequires: libassuan-devel # Dependencies for containers/storage BuildRequires: btrfs-progs-devel BuildRequires: pkgconfig(devmapper) -BuildRequires: ostree-devel BuildRequires: glib2-devel Requires: %{repo}-containers = %{version}-%{release} @@ -186,7 +184,7 @@ This package installs a default signature store configuration and a default policy under `/etc/containers/`. %prep -%autosetup -Sgit -n %{name}-%{commit0} +%setup -q -n %{name}-%{commit0} %build mkdir -p src/github.com/projectatomic @@ -207,7 +205,7 @@ export GOPATH=$(pwd):%{gopath} export GOPATH=$(pwd):$(pwd)/vendor:%{gopath} %endif -make binary-local docs +BUILDTAGS+='containers_image_ostree_stub' make binary-local docs %install make DESTDIR=%{buildroot} install