diff --git a/containerd.spec b/containerd.spec index e003c2a..8b45e9b 100644 --- a/containerd.spec +++ b/containerd.spec @@ -1,6 +1,7 @@ %global goipath github.com/containerd/containerd Version: 1.2.1 %gometa +%bcond_without tests Name: containerd @@ -143,6 +144,12 @@ install -D -p -m 0644 %{S:1} %{buildroot}%{_unitdir}/containerd.service install -D -p -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/containerd/config.toml +%if %{with tests} +%check +%gochecks +%endif + + %post %systemd_post containerd.service @@ -173,6 +180,7 @@ install -D -p -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/containerd/config.toml %changelog * Thu Jan 03 2019 Carl George - 1.2.1-1 - Latest upstream +- Run test suite * Thu Oct 25 2018 Carl George - 1.2.0-1 - Latest upstream