Accepting request 619577 from devel:CaaSP:Head:ControllerNode
autosubmit from concourse OBS-URL: https://build.opensuse.org/request/show/619577 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/buildah?expand=0&rev=5
This commit is contained in:
17
buildah.spec
17
buildah.spec
@@ -16,24 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
%define commmit fbf46d33c4e01199281c7a69e68605ec7d611fd3
|
||||
%define project github.com/projectatomic/buildah
|
||||
%define commit e073df11aa75bd20a8e01cad1956e1fabc7c9895
|
||||
# Build with libostree-devel in Tumbleweed, Leap 15 and SLES 15
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%define with_libostree 1
|
||||
%endif
|
||||
Name: buildah
|
||||
Version: 0.12
|
||||
Version: 1.1
|
||||
Release: 0
|
||||
Summary: Build OCI containers
|
||||
Summary: Tool for building OCI containers
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
Url: https://github.com/projectatomic/buildah
|
||||
Source0: %{name}-git.%{commit}.tar.xz
|
||||
URL: https://github.com/projectatomic/buildah
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: %{name}-rpmlintrc
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: device-mapper-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git
|
||||
BuildRequires: glib2-devel-static
|
||||
BuildRequires: glibc-devel-static
|
||||
BuildRequires: go-go-md2man
|
||||
@@ -43,7 +44,7 @@ BuildRequires: libassuan-devel
|
||||
BuildRequires: libbtrfs-devel
|
||||
BuildRequires: libgpgme-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRequires: golang(API) >= 1.7
|
||||
BuildRequires: golang(API) >= 1.9
|
||||
Requires: libcontainers-common
|
||||
Requires: libcontainers-image
|
||||
Requires: libcontainers-storage
|
||||
@@ -67,7 +68,7 @@ Buildah provides a command line tool which can be used to:
|
||||
- Delete a working container or an image
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-git.%{commit}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# We can't use symlinks here because go-list gets confused by symlinks, so we
|
||||
@@ -93,7 +94,7 @@ go build -tags "$BUILDTAGS" \
|
||||
%{project}/cmd/buildah
|
||||
|
||||
# Build manpages
|
||||
make %{?_smp_mflags} docs
|
||||
make %{?_smp_mflags} -C docs
|
||||
|
||||
%check
|
||||
# Too many tests fail due to the restricted permissions in the build enviroment.
|
||||
|
Reference in New Issue
Block a user