|
|
406ab82 |
# Generated by go2rpm
|
|
|
406ab82 |
%bcond_without check
|
|
|
406ab82 |
|
|
|
406ab82 |
# https://github.com/Microsoft/opengcs
|
|
|
406ab82 |
%global goipath github.com/Microsoft/opengcs
|
|
|
406ab82 |
Version: 0.3.9
|
|
|
406ab82 |
|
|
|
406ab82 |
%gometa
|
|
|
406ab82 |
|
|
|
406ab82 |
%global common_description %{expand:
|
|
|
406ab82 |
Guest Compute Service for Linux Hyper-V Container.}
|
|
|
406ab82 |
|
|
|
406ab82 |
%global golicenses LICENSE
|
|
|
406ab82 |
%global godocs docs README.md
|
|
|
406ab82 |
|
|
|
406ab82 |
Name: %{goname}
|
|
|
1268133 |
Release: 5%{?dist}
|
|
|
406ab82 |
Summary: Guest Compute Service for Linux Hyper-V Container
|
|
|
406ab82 |
|
|
|
406ab82 |
License: MIT
|
|
|
406ab82 |
URL: %{gourl}
|
|
|
406ab82 |
Source0: %{gosource}
|
|
|
406ab82 |
|
|
|
406ab82 |
BuildRequires: golang(github.com/containerd/containerd/sys)
|
|
|
406ab82 |
BuildRequires: golang(github.com/docker/docker/pkg/archive)
|
|
|
406ab82 |
BuildRequires: golang(github.com/docker/docker/pkg/symlink)
|
|
|
406ab82 |
BuildRequires: golang(github.com/linuxkit/virtsock/pkg/vsock)
|
|
|
406ab82 |
BuildRequires: golang(github.com/mattn/go-shellwords)
|
|
|
406ab82 |
BuildRequires: golang(github.com/opencontainers/runtime-spec/specs-go)
|
|
|
406ab82 |
BuildRequires: golang(github.com/pkg/errors)
|
|
|
406ab82 |
BuildRequires: golang(github.com/sirupsen/logrus)
|
|
|
406ab82 |
BuildRequires: golang(github.com/vishvananda/netlink)
|
|
|
406ab82 |
BuildRequires: golang(github.com/vishvananda/netns)
|
|
|
406ab82 |
BuildRequires: golang(golang.org/x/sys/unix)
|
|
|
406ab82 |
|
|
|
406ab82 |
%if %{with check}
|
|
|
406ab82 |
# Tests
|
|
|
406ab82 |
BuildRequires: golang(github.com/onsi/ginkgo)
|
|
|
406ab82 |
BuildRequires: golang(github.com/onsi/gomega)
|
|
|
406ab82 |
%endif
|
|
|
406ab82 |
|
|
|
406ab82 |
%description
|
|
|
406ab82 |
%{common_description}
|
|
|
406ab82 |
|
|
|
406ab82 |
%gopkg
|
|
|
406ab82 |
|
|
|
406ab82 |
%prep
|
|
|
406ab82 |
%goprep
|
|
|
406ab82 |
find . -name "*.go" -exec sed -i "s|github.com/docker/containerd|github.com/containerd/containerd|" "{}" +;
|
|
|
406ab82 |
|
|
|
406ab82 |
%install
|
|
|
406ab82 |
%gopkginstall
|
|
|
406ab82 |
|
|
|
406ab82 |
%if %{with check}
|
|
|
406ab82 |
%check
|
|
|
406ab82 |
# https://github.com/microsoft/opengcs/issues/309
|
|
|
406ab82 |
%gocheck -d service/gcs/bridge -d service/gcs/core/gcs -d service/gcs/runtime/runc
|
|
|
406ab82 |
%endif
|
|
|
406ab82 |
|
|
|
406ab82 |
%gopkgfiles
|
|
|
406ab82 |
|
|
|
406ab82 |
%changelog
|
|
|
1268133 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-5
|
|
|
1268133 |
- Second attempt - Rebuilt for
|
|
|
1268133 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1268133 |
|
|
|
7b8d7ad |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4
|
|
|
7b8d7ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7b8d7ad |
|
|
|
8d7384c |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-3
|
|
|
8d7384c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
8d7384c |
|
|
|
ad632d8 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-2
|
|
|
ad632d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ad632d8 |
|
|
|
406ab82 |
* Sun May 05 18:42:19 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.9-1
|
|
|
406ab82 |
- Initial package
|