- Build man pages only on platforms where gc compiler is available.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=13
This commit is contained in:
parent
a2023564fb
commit
fc329e1c4c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 24 09:02:03 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
- Build man pages only on platforms where gc compiler is available.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 22 08:48:11 UTC 2015 - fcastelli@suse.com
|
Mon Jun 22 08:48:11 UTC 2015 - fcastelli@suse.com
|
||||||
|
|
||||||
|
@ -55,8 +55,8 @@ BuildRequires: glibc-devel-static
|
|||||||
BuildRequires: gcc5-go >= 5.0
|
BuildRequires: gcc5-go >= 5.0
|
||||||
%else
|
%else
|
||||||
BuildRequires: go >= 1.4
|
BuildRequires: go >= 1.4
|
||||||
%endif
|
|
||||||
BuildRequires: go-go-md2man
|
BuildRequires: go-go-md2man
|
||||||
|
%endif
|
||||||
BuildRequires: libapparmor-devel
|
BuildRequires: libapparmor-devel
|
||||||
BuildRequires: libbtrfs-devel >= 3.8
|
BuildRequires: libbtrfs-devel >= 3.8
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
@ -155,8 +155,10 @@ export DOCKER_GITCOMMIT=%{git_version}
|
|||||||
EOF
|
EOF
|
||||||
) > docker_build_env
|
) > docker_build_env
|
||||||
. ./docker_build_env
|
. ./docker_build_env
|
||||||
|
%ifnarch ppc ppc64 s390x ppc64p7 ppc64le
|
||||||
./hack/make.sh dynbinary
|
./hack/make.sh dynbinary
|
||||||
man/md2man-all.sh
|
man/md2man-all.sh
|
||||||
|
%endif
|
||||||
# remove other than systemd
|
# remove other than systemd
|
||||||
# otherwise the resulting package will have extra requires
|
# otherwise the resulting package will have extra requires
|
||||||
rm -rf hack/make/.build-deb
|
rm -rf hack/make/.build-deb
|
||||||
@ -198,11 +200,13 @@ install -D -m 644 %SOURCE100 %{buildroot}/var/adm/fillup-templates/sysconfig.doc
|
|||||||
install -D -m 644 %SOURCE4 %{buildroot}/var/adm/fillup-templates/sysconfig.docker
|
install -D -m 644 %SOURCE4 %{buildroot}/var/adm/fillup-templates/sysconfig.docker
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifnarch ppc ppc64 s390x ppc64p7 ppc64le
|
||||||
# install manpages
|
# install manpages
|
||||||
install -d %{buildroot}%{_mandir}/man1
|
install -d %{buildroot}%{_mandir}/man1
|
||||||
install -p -m 644 man/man1/*.1 %{buildroot}%{_mandir}/man1
|
install -p -m 644 man/man1/*.1 %{buildroot}%{_mandir}/man1
|
||||||
install -d %{buildroot}%{_mandir}/man5
|
install -d %{buildroot}%{_mandir}/man5
|
||||||
install -p -m 644 man/man5/Dockerfile.5 %{buildroot}%{_mandir}/man5
|
install -p -m 644 man/man5/Dockerfile.5 %{buildroot}%{_mandir}/man5
|
||||||
|
%endif
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
echo "creating group docker..."
|
echo "creating group docker..."
|
||||||
@ -230,9 +234,11 @@ groupadd -r docker 2>/dev/null || :
|
|||||||
%{_unitdir}/%{name}.socket
|
%{_unitdir}/%{name}.socket
|
||||||
%{_prefix}/lib/udev/rules.d/80-%{name}.rules
|
%{_prefix}/lib/udev/rules.d/80-%{name}.rules
|
||||||
/var/adm/fillup-templates/sysconfig.docker
|
/var/adm/fillup-templates/sysconfig.docker
|
||||||
|
%ifnarch ppc ppc64 s390x ppc64p7 ppc64le
|
||||||
%{_mandir}/man1/docker-*.1.gz
|
%{_mandir}/man1/docker-*.1.gz
|
||||||
%{_mandir}/man1/docker.1.gz
|
%{_mandir}/man1/docker.1.gz
|
||||||
%{_mandir}/man5/Dockerfile.5.gz
|
%{_mandir}/man5/Dockerfile.5.gz
|
||||||
|
%endif
|
||||||
|
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user