Accepting request 1138822 from home:dancermak:branches:Virtualization:containers
Enable manpage generation OBS-URL: https://build.opensuse.org/request/show/1138822 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/containerd?expand=0&rev=168
This commit is contained in:
parent
05de9e69c0
commit
20e48a9c6b
@ -1,2 +1 @@
|
||||
addFilter ("^containerd(-kubic)?.*: W: statically-linked-binary /usr/sbin/containerd-shim")
|
||||
addFilter ("^containerd(-kubic)?-test.noarch: [WE]: (hidden-file-or-dir|script-without-shebang|devel-file-in-non-devel-package|env-script-interpreter).* /usr/src/containerd/.*")
|
||||
addFilter ("^containerd(-kubic)?.*: E: statically-linked-binary /usr/sbin/containerd-shim*")
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 11:12:05 UTC 2024 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- Enable manpage generation
|
||||
- Make devel package noarch
|
||||
- adjust rpmlint filters
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 12:12:00 UTC 2024 - Danish Prakash <danish.prakash@suse.com>
|
||||
|
||||
|
@ -91,6 +91,7 @@ separately from Docker.
|
||||
Summary: Source code for containerd
|
||||
Group: Development/Libraries/Go
|
||||
Requires: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel
|
||||
This package contains the source code needed for building packages that
|
||||
@ -110,8 +111,8 @@ make \
|
||||
BUILDTAGS="$BUILDTAGS" \
|
||||
VERSION="v%{version}" \
|
||||
REVISION="%{git_version}"
|
||||
# TODO: Fix man-page generation.
|
||||
#make man
|
||||
|
||||
make man
|
||||
|
||||
cp -r "$PROJECT/bin" bin
|
||||
|
||||
@ -135,13 +136,12 @@ echo "# See containerd-config.toml(5) for documentation." >%{buildroot}/%{_sysco
|
||||
install -Dp -m644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
|
||||
|
||||
# Man pages.
|
||||
# TODO: Fix man page generation.
|
||||
#for file in man/*
|
||||
#do
|
||||
# section="${file##*.}"
|
||||
# install -D -m644 "$file" "%{buildroot}/%{_mandir}/man$section/$(basename "$file")"
|
||||
#done
|
||||
#ln -s ctr.1 %{buildroot}/%{_mandir}/man1/%{name}-ctr.1
|
||||
for file in man/*
|
||||
do
|
||||
section="${file##*.}"
|
||||
install -D -m644 "$file" "%{buildroot}/%{_mandir}/man$section/$(basename "$file")"
|
||||
done
|
||||
mv %{buildroot}/%{_mandir}/man8/{ctr.8,%{name}-ctr.8}
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
@ -166,14 +166,12 @@ install -Dp -m644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
|
||||
%{_sbindir}/containerd
|
||||
%{_sbindir}/containerd-shim*
|
||||
%{_unitdir}/%{name}.service
|
||||
# TODO: Fix man page generation.
|
||||
#%{_mandir}/man*/%{name}*
|
||||
#%exclude %{_mandir}/man1/*ctr.1*
|
||||
%{_mandir}/man*/%{name}*
|
||||
%exclude %{_mandir}/man8/*ctr.8*
|
||||
|
||||
%files ctr
|
||||
%{_sbindir}/containerd-ctr
|
||||
# TODO: Fix man page generation.
|
||||
#%{_mandir}/man1/*ctr.1*
|
||||
%{_sbindir}/%{name}-ctr
|
||||
%{_mandir}/man8/%{name}-ctr.8*
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user