Compare commits

...
Sign in to create a new pull request.

44 commits

Author SHA1 Message Date
Lokesh Mandvekar
97991f0caf no min version requirement on libseccomp for centos
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-12 09:00:45 -05:00
Ed Santiago
c6a8933373 buildah-tests now requires 'jq'
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-10 13:42:40 -07:00
RH Container Bot
8c30ff072a buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 11:11:27 +00:00
RH Container Bot
7fd15342f5 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 10:09:35 +00:00
RH Container Bot
556c89e3f2 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 09:10:47 +00:00
RH Container Bot
e48d668fd2 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 08:11:15 +00:00
RH Container Bot
054991ff9c buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 07:10:25 +00:00
RH Container Bot
681258f807 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 06:10:33 +00:00
RH Container Bot
32faa4d5b4 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 05:11:17 +00:00
RH Container Bot
2b0c2a9505 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 04:28:25 +00:00
RH Container Bot
786f853eed buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 03:10:39 +00:00
RH Container Bot
53cd28aec0 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 02:12:37 +00:00
RH Container Bot
4c4350aa4c buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 01:10:30 +00:00
RH Container Bot
673aa59188 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-08 00:09:27 +00:00
RH Container Bot
32c6bc15a9 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 23:09:30 +00:00
RH Container Bot
87e04b4b9a buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 22:37:07 +00:00
RH Container Bot
ebaff1a55e buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 22:26:24 +00:00
RH Container Bot
bc731a110c buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 22:09:32 +00:00
RH Container Bot
c966745051 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 22:03:41 +00:00
RH Container Bot
2a5fe87a24 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 21:09:33 +00:00
RH Container Bot
d3886bb02e buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 20:10:16 +00:00
RH Container Bot
19a0a91035 buildah-1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-07 20:06:22 +00:00
Lokesh Mandvekar
cb037f3273 import tarball with new name format
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-06 11:12:41 -05:00
Ed Santiago
0aec3a8165 add buildah-tests subpackage
Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-06 08:27:17 -07:00
Lokesh Mandvekar
90bb9e99ec adjust BUILDTAGS for centos
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-05 05:36:55 -05:00
Lokesh Mandvekar
58f8ab245d adjust build dir format
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-05 05:24:33 -05:00
Lokesh Mandvekar
13dc2c9b38 adjust source url
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-05 05:20:26 -05:00
Lokesh Mandvekar
6009b4eaac adjust source url
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-05 05:19:04 -05:00
Lokesh Mandvekar
4000f6b905 adjust libseccomp deps
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-05 05:10:16 -05:00
Lokesh Mandvekar
9fcf25a30f adjust deps and macros for centos obs build
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-05 05:05:57 -05:00
RH Container Bot
66c7bbdf51 buildah-1.13.2-2
- bump to v1.13.2
- autobuilt b8a8a01

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-04 22:17:11 +00:00
RH Container Bot
c813b56991 buildah-1.12.0-2
- bump to v1.12.0
- autobuilt 6cc4656

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-12-13 19:10:21 +00:00
RH Container Bot
a8555fbe96 buildah-1.11.6-2
- bump to v1.11.6
- autobuilt 9513cb8

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-12-06 19:14:03 +00:00
Lokesh Mandvekar
269ba7f4a4 buildah-1.11.4-3
- crun only for fedora ATM

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2019-10-30 13:20:44 +00:00
RH Container Bot
740bb18c4e buildah-1.11.4-2
- bump to v1.11.4
- autobuilt 21b4778

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-10-28 21:16:54 +00:00
Lokesh Mandvekar
749efd55a5 fixes for centos
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2019-10-16 19:14:36 +00:00
Lokesh Mandvekar
0e13b110e6 use BR: go-md2man
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2019-10-16 14:57:19 +00:00
Lokesh Mandvekar
a12a53ae2b buildah-1.11.3-3
- update libseccomp dep for centos

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2019-10-16 10:52:01 -04:00
Lokesh Mandvekar
3c5638e0d6 libseccomp >= 2.4.1-0 for centos
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2019-10-16 10:48:53 -04:00
RH Container Bot
8f1f5a3284 buildah-1.11.3-2
- bump to v1.11.3
- autobuilt bdd78ad

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-10-04 18:17:29 +00:00
Debarshi Ray
2b977dae7e Switch to crun for Cgroups v2 support 2019-10-01 21:52:19 +02:00
Lokesh Mandvekar (Bot)
52ccad4069 buildah-1.11.2-2.git0bafbfe
- bump to v1.11.2
- autobuilt 0bafbfe

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-09-17 19:06:58 +00:00
Lokesh Mandvekar (Bot)
8aaf23bd79 buildah-1.11.1-2.git413bd1f
- bump to v1.11.1
- autobuilt 413bd1f

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-09-12 21:25:36 +00:00
Lokesh Mandvekar
9abba20d38 buildah-1.11.0-1.git2c5da1b
- built tag v1.11.0

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2019-09-05 23:23:15 +05:30
3 changed files with 199 additions and 21 deletions

9
.gitignore vendored
View file

@ -274,3 +274,12 @@
/buildah-96a136e.tar.gz
/buildah-2df08f0.tar.gz
/buildah-a99139c.tar.gz
/buildah-2c5da1b.tar.gz
/buildah-413bd1f.tar.gz
/buildah-0bafbfe.tar.gz
/buildah-bdd78ad.tar.gz
/buildah-21b4778.tar.gz
/buildah-9513cb8.tar.gz
/buildah-6cc4656.tar.gz
/v1.13.2.tar.gz
/v1.14.0.tar.gz

View file

@ -1,5 +1,10 @@
%global with_bundled 1
%if 0%{?fedora}
%global with_debug 1
%else
%global with_debug 0
%endif
%if 0%{?with_debug}
%global _find_debuginfo_dwz_opts %{nil}
@ -8,44 +13,55 @@
%global debug_package %{nil}
%endif
%global provider github
%global provider_tld com
%global project containers
%global repo buildah
%if ! 0%{?gobuild:1}
%define gobuild(o:) GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v -x %{?**};
%endif
%define provider github
%define provider_tld com
%define project containers
%define repo buildah
# https://github.com/containers/buildah
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
%global git0 https://%{import_path}
%global commit0 a99139c1965b4426177fc70ee53a8e8dfdf3b6f9
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%define import_path %{provider}.%{provider_tld}/%{project}/%{repo}
%define git0 https://%{import_path}
%define commit0 5965d9acffad0b70e8760de643b5f488ecadec24
%define shortcommit0 %(c=%{commit0}; echo ${c:0:7})
# Used for comparing with latest upstream tag
# to decide whether to autobuild (non-rawhide only)
%define built_tag v1.14.0
%define built_tag_strip %(b=%{built_tag}; echo ${b:1})
%define download_url https://github.com/containers/%{name}/archive/%{built_tag}.tar.gz
Name: %{repo}
Version: 1.11.0
Release: 0.16.dev.git%{shortcommit0}%{?dist}
Version: 1.14.0
Release: 2%{?dist}
Summary: A command line tool used for creating OCI Images
License: ASL 2.0
URL: https://%{name}.io
Source: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
# 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}
Source: %{download_url}
BuildRequires: golang
BuildRequires: git
BuildRequires: glib2-devel
BuildRequires: libseccomp-static
BuildRequires: ostree-devel
BuildRequires: glibc-static
BuildRequires: golang-github-cpuguy83-md2man
BuildRequires: go-md2man
BuildRequires: gpgme-devel
BuildRequires: device-mapper-devel
BuildRequires: btrfs-progs-devel
BuildRequires: libassuan-devel
BuildRequires: make
Requires: runc >= 1.0.0-17
Requires: containers-common
%if 0%{?fedora}
Requires: crun >= 0.10-1
BuildRequires: btrfs-progs-devel
BuildRequires: device-mapper-devel
BuildRequires: ostree-devel
BuildRequires: libseccomp-static
Recommends: container-selinux
Recommends: slirp4netns >= 0.3-0
Recommends: fuse-overlayfs
%else
#### DO NOT REMOVE - NEEDED FOR CENTOS
BuildRequires: libseccomp-devel
Requires: libseccomp
Requires: container-selinux
Requires: slirp4netns >= 0.3-0
%endif
@ -59,8 +75,23 @@ or
* save container's root file system layer to create a new image
* delete a working container or an image
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{version}-%{release}
Requires: bats
Requires: bzip2
Requires: podman
Requires: golang
Requires: jq
%description tests
%{summary}
This package contains system tests for %{name}
%prep
%autosetup -Sgit -n %{name}-%{commit0}
%autosetup -Sgit -n %{name}-%{built_tag_strip}
sed -i 's/GOMD2MAN =/GOMD2MAN ?=/' docs/Makefile
sed -i '/docs install/d' Makefile
@ -75,7 +106,12 @@ mv vendor src
export GOPATH=$(pwd)/_build:$(pwd)
export BUILDTAGS='seccomp selinux'
%if 0%{?centos}
export BUILDTAGS="exclude_graphdriver_btrfs exclude_graphdriver_devicemapper containers_image_ostree_stub"
%endif
export GO111MODULE=off
%gobuild -o %{name} %{import_path}/cmd/%{name}
%gobuild -o imgtype %{import_path}/tests/imgtype
GOMD2MAN=go-md2man %{__make} -C docs
%install
@ -83,6 +119,10 @@ export GOPATH=$(pwd)/_build:$(pwd):%{gopath}
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install install.completions
make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
cp -pav tests/. %{buildroot}/%{_datadir}/%{name}/test/system
cp imgtype %{buildroot}/%{_bindir}/%{name}-imgtype
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@ -95,7 +135,136 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/%{name}
%files tests
%license LICENSE
%{_bindir}/%{name}-imgtype
%{_datadir}/%{name}/test
%changelog
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Sat Feb 08 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Fri Feb 07 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.14.0-2
- bump to v1.14.0
- autobuilt 5965d9a
* Thu Feb 06 2020 Eduardo Santiago <santiago@redhat.com> - 1.13.2-3
- new -tests subpackage
* Tue Feb 04 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.13.2-2
- bump to v1.13.2
- autobuilt b8a8a01
* Fri Dec 13 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.12.0-2
- bump to v1.12.0
- autobuilt 6cc4656
* Fri Dec 06 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.11.6-2
- bump to v1.11.6
- autobuilt 9513cb8
* Wed Oct 30 2019 Lokesh Mandvekar <lsm5@redhat.com> - 1.11.4-3
- crun only for fedora ATM
* Mon Oct 28 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.11.4-2
- bump to v1.11.4
- autobuilt 21b4778
* Wed Oct 16 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.11.3-3
- update libseccomp dep for centos
* Fri Oct 04 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.11.3-2
- bump to v1.11.3
- autobuilt bdd78ad
* Tue Oct 01 2019 Debarshi Ray <rishi@fedoraproject.org> - 1.11.2-3.git0bafbfe
- Switch to crun for Cgroups v2 support
* Tue Sep 17 2019 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 1.11.2-2.git0bafbfe
- bump to v1.11.2
- autobuilt 0bafbfe
* Thu Sep 12 2019 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 1.11.1-2.git413bd1f
- bump to v1.11.1
- autobuilt 413bd1f
* Thu Sep 05 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.11.0-1.git2c5da1b
- built tag v1.11.0
* Mon Aug 12 2019 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 1.11.0-0.16.dev.gita99139c
- autobuilt a99139c

View file

@ -1 +1 @@
SHA512 (buildah-a99139c.tar.gz) = ab07eb7c0bbc95232005a9c5c7ad16c6f3c29e26483383b98c4fcfdcdb2b79507065b7182324d6285cb16473ace77ba46f4c6b91b7d48b70487e7bdbc0b46b66
SHA512 (v1.14.0.tar.gz) = c2fe27ccff81cc22dcb398f6d57f618015a1f534510888966483002d552c5f233b8899f639dac15d0f299c6c618e6f1d9889e65c745ce4709e7abd9498258a86