buildah-1.21.4-2.el9
- add buildah-copy helper - Related: #1970747 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
95068b06d3
commit
802967c642
@ -20,7 +20,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
|
||||
|
||||
Name: buildah
|
||||
Version: 1.21.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A command line tool used for creating OCI Images
|
||||
License: ASL 2.0
|
||||
URL: https://%{name}.io
|
||||
@ -99,6 +99,7 @@ export LDFLAGS="$LDFLAGS -X main.buildInfo=`date +%s` -X main.cniVersion=${CNI_V
|
||||
rm -f src/github.com/containers/storage/drivers/register/register_btrfs.go
|
||||
%gobuild -o bin/%{name} %{import_path}/cmd/%{name}
|
||||
%gobuild -o imgtype %{import_path}/tests/imgtype
|
||||
%gobuild -o bin/copy %{import_path}/tests/copy
|
||||
GOMD2MAN=go-md2man %{__make} -C docs
|
||||
|
||||
%install
|
||||
@ -107,6 +108,7 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} install install.completions
|
||||
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
|
||||
cp -pav tests/. %{buildroot}/%{_datadir}/%{name}/test/system
|
||||
cp imgtype %{buildroot}/%{_bindir}/%{name}-imgtype
|
||||
cp bin/copy %{buildroot}/%{_bindir}/%{name}-copy
|
||||
make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install
|
||||
|
||||
#define license tag if not already defined
|
||||
@ -124,9 +126,14 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install
|
||||
%files tests
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}-imgtype
|
||||
%{_bindir}/%{name}-copy
|
||||
%{_datadir}/%{name}/test
|
||||
|
||||
%changelog
|
||||
* Mon Jul 26 2021 Jindrich Novy <jnovy@redhat.com> - 1.21.4-2
|
||||
- add buildah-copy helper
|
||||
- Related: #1970747
|
||||
|
||||
* Mon Jul 26 2021 Jindrich Novy <jnovy@redhat.com> - 1.21.4-1
|
||||
- update to the latest content of https://github.com/containers/buildah/tree/release-1.21
|
||||
(https://github.com/containers/buildah/commit/9c83683)
|
||||
|
@ -13,6 +13,7 @@ env | grep -v LS_COLORS= | sort | sed -e 's/^/ /'
|
||||
|
||||
export BUILDAH_BINARY=/usr/bin/buildah
|
||||
export IMGTYPE_BINARY=/usr/bin/buildah-imgtype
|
||||
export COPY_BINARY=/usr/bin/buildah-copy
|
||||
|
||||
###############################################################################
|
||||
# BEGIN setup/teardown
|
||||
|
Loading…
Reference in New Issue
Block a user