diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2016-04-12 12:31:39 +0200 |
---|---|---|
committer | Jan Chaloupka <jchaloup@redhat.com> | 2016-04-12 13:23:13 +0200 |
commit | 55d26f3533a36669d25c9ce71d49b5bd03ae6d16 (patch) | |
tree | 2792eca50313df15cb812928d29cd66069348174 /runc.spec | |
parent | 46375ab7770763f50f5dfef1cc9c09c90bd631f0 (diff) | |
download | runc-55d26f3533a36669d25c9ce71d49b5bd03ae6d16.tar.gz runc-55d26f3533a36669d25c9ce71d49b5bd03ae6d16.tar.xz runc-55d26f3533a36669d25c9ce71d49b5bd03ae6d16.zip |
Ship man pages too
- resolves: #1326115
Diffstat (limited to 'runc.spec')
-rw-r--r-- | runc.spec | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -35,7 +35,7 @@ Epoch: 1 Epoch: 0 %endif Version: 0.0.9 -Release: 0.2.git%{shortcommit}%{?dist} +Release: 0.3.git%{shortcommit}%{?dist} Summary: CLI for running Open Containers License: ASL 2.0 URL: https://%{provider_prefix} @@ -46,6 +46,8 @@ ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} # 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} +BuildRequires: go-md2man + %if ! 0%{?with_bundled} BuildRequires: golang(github.com/Sirupsen/logrus) BuildRequires: golang(github.com/codegangsta/cli) @@ -179,6 +181,13 @@ export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath} install -d -p %{buildroot}%{_bindir} install -p -m 755 bin/%{name} %{buildroot}%{_bindir} +# generate man pages +man/md2man-all.sh + +# install man pages +install -d -p %{buildroot}%{_mandir}/man8 +install -p -m 0644 man/man8/*.8 %{buildroot}%{_mandir}/man8/. + # source codes for building projects %if 0%{?with_devel} install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ @@ -256,6 +265,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %license LICENSE %doc MAINTAINERS_GUIDE.md PRINCIPLES.md README.md CONTRIBUTING.md %{_bindir}/%{name} +%{_mandir}/man8/. %if 0%{?with_devel} %files devel -f devel.file-list @@ -272,6 +282,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %endif %changelog +* Tue Apr 12 2016 jchaloup <jchaloup@redhat.com> - 1:0.0.9-0.3.git94dc520 +- Ship man pages too + resolves: #1326115 + * Wed Apr 06 2016 jchaloup <jchaloup@redhat.com> - 1:0.0.9-0.2.git94dc520 - Extend supported architectures to golang_arches Disable failing test |