rebuilt with -mod=readonly and -modcacherw; install man-pages and autocompletion support [release 1.7.15-2mamba;Sun Apr 14 2024]
This commit is contained in:
parent
5005da2931
commit
935db1ddc6
@ -1,3 +1,4 @@
|
|||||||
# containerd
|
# containerd
|
||||||
|
|
||||||
A daemon to control OCI container runtimes.
|
A daemon to control OCI container runtimes.
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
%define _commit 09814d48d50816305a8e6c1a4ae3e2bcc4ba725a
|
|
||||||
Name: containerd
|
Name: containerd
|
||||||
Version: 1.7.15
|
Version: 1.7.15
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A daemon to control OCI container runtimes
|
Summary: A daemon to control OCI container runtimes
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -19,7 +18,7 @@ BuildRequires: gcc-go
|
|||||||
%description
|
%description
|
||||||
A daemon to control OCI container runtimes.
|
A daemon to control OCI container runtimes.
|
||||||
|
|
||||||
#% debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -32,12 +31,12 @@ sed -i 's,/sbin,/usr/bin,;s,/usr/local,/usr,' containerd.service
|
|||||||
%build
|
%build
|
||||||
export GOPATH=$PWD
|
export GOPATH=$PWD
|
||||||
cd src/github.com/containerd/containerd
|
cd src/github.com/containerd/containerd
|
||||||
export GOFLAGS="-trimpath"
|
export GOFLAGS="-trimpath -mod=readonly -modcacherw"
|
||||||
|
|
||||||
# Required since Go 1.16
|
%make VERSION=v%{version} \
|
||||||
export GO111MODULE=off
|
GO_BUILD_FLAGS="${GOFLAGS}" GO_GCFLAGS="" EXTRA_LDFLAGS="-buildid="
|
||||||
|
|
||||||
%make VERSION=v%{version}.m REVISION=%{_commit}.m
|
%make VERSION=v%{version} man
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -45,6 +44,11 @@ cd src/github.com/containerd/containerd
|
|||||||
%makeinstall DESTDIR=%{buildroot} PREFIX=%{_prefix} BINDIR=%{_bindir}
|
%makeinstall DESTDIR=%{buildroot} PREFIX=%{_prefix} BINDIR=%{_bindir}
|
||||||
install -Dm644 containerd.service %{buildroot}%{_unitdir}/containerd.service
|
install -Dm644 containerd.service %{buildroot}%{_unitdir}/containerd.service
|
||||||
|
|
||||||
|
install -Dm644 man/*.8 -t %{buildroot}%{_mandir}/man8
|
||||||
|
install -Dm644 man/*.5 -t %{buildroot}%{_mandir}/man5
|
||||||
|
install -Dm644 contrib/autocomplete/ctr %{buildroot}%{_datadir}/bash-completion/completions/ctr
|
||||||
|
install -Dm644 contrib/autocomplete/zsh_autocomplete %{buildroot}%{_datadir}/zsh/site-functions/_ctr
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post containerd
|
%systemd_post containerd
|
||||||
:
|
:
|
||||||
@ -69,9 +73,18 @@ install -Dm644 containerd.service %{buildroot}%{_unitdir}/containerd.service
|
|||||||
%{_bindir}/containerd-stress
|
%{_bindir}/containerd-stress
|
||||||
%{_bindir}/ctr
|
%{_bindir}/ctr
|
||||||
%{_unitdir}/containerd.service
|
%{_unitdir}/containerd.service
|
||||||
|
%{_datadir}/bash-completion/completions/ctr
|
||||||
|
%{_datadir}/zsh/site-functions/_ctr
|
||||||
|
%{_mandir}/man5/containerd-config.toml.5*
|
||||||
|
%{_mandir}/man8/containerd-config.8*
|
||||||
|
%{_mandir}/man8/containerd.8*
|
||||||
|
%{_mandir}/man8/ctr.8*
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.15-2mamba
|
||||||
|
- rebuilt with -mod=readonly and -modcacherw; install man-pages and autocompletion support
|
||||||
|
|
||||||
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 1.7.15-1mamba
|
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 1.7.15-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user