Hello community,
here is the log from the commit of package patterns-containers for
openSUSE:Factory checked in at 2020-02-29 21:20:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/patterns-containers (Old)
and /work/SRC/openSUSE:Factory/.patterns-containers.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patterns-containers"
Sat Feb 29 21:20:15 2020 rev:18 rq:779530 version:5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/patterns-containers/patterns-containers.changes
2020-02-25 16:04:27.560323491 +0100
+++
/work/SRC/openSUSE:Factory/.patterns-containers.new.26092/patterns-containers.changes
2020-02-29 21:20:20.898021812 +0100
@@ -1,0 +2,5 @@
+Wed Feb 26 15:37:12 UTC 2020 - Richard Brown <[email protected]>
+
+- Prevent building of kubic-specific patterns in SLE/Leap
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ patterns-containers.spec ++++++
--- /var/tmp/diff_new_pack.RkQ9yX/_old 2020-02-29 21:20:21.350022707 +0100
+++ /var/tmp/diff_new_pack.RkQ9yX/_new 2020-02-29 21:20:21.350022707 +0100
@@ -106,6 +106,8 @@
%description container_runtime_kubernetes
This pattern installs the default container runtime packages for kubernetes
clustered systems.
+# Kubic specific packages shouldn't build for SLE/Leap
+%if ! 0%{?sle_version}
%package kubic_admin
Summary: Kubic Admin Node
Group: Metapackages
@@ -156,7 +158,7 @@
%description kubic_loadbalancer
This pattern installs the the software required for an openSUSE Kubic
Loadbalancer Node.
-
+%endif
%package kubernetes_utilities
Summary: Utilities to manage kubernetes
@@ -190,9 +192,12 @@
echo 'This file marks the pattern kubeadm to be installed.'
>%buildroot/usr/share/doc/packages/patterns-containers/kubeadm.txt
echo 'This file marks the pattern container_runtime to be installed.'
>%buildroot/usr/share/doc/packages/patterns-containers/container_runtime.txt
echo 'This file marks the pattern container_runtime_kubernetes to be
installed.'
>%buildroot/usr/share/doc/packages/patterns-containers/container_runtime_kubernetes.txt
+# Kubic specific packages shouldn't build for SLE/Leap
+%if ! 0%{?sle_version}
echo 'This file marks the pattern kubic_admin to be installed.'
>%buildroot/usr/share/doc/packages/patterns-containers/kubic_admin.txt
echo 'This file marks the pattern kubic_worker to be installed.'
>%buildroot/usr/share/doc/packages/patterns-containers/kubic_worker.txt
echo 'This file marks the pattern kubic_loadbalancer to be installed.'
>%buildroot/usr/share/doc/packages/patterns-containers/kubic_loadbalancer.txt
+%endif
echo 'This file marks the pattern kubernetes_utilities to be installed.'
>%buildroot/usr/share/doc/packages/patterns-containers/kubernetes_utilities.txt
%files kubeadm
@@ -210,6 +215,8 @@
%dir %{_docdir}/patterns-containers
%{_docdir}/patterns-containers/container_runtime_kubernetes.txt
+# Kubic specific packages shouldn't build for SLE/Leap
+%if ! 0%{?sle_version}
%files kubic_admin
%defattr(-,root,root)
%dir %{_docdir}/patterns-containers
@@ -224,6 +231,7 @@
%defattr(-,root,root)
%dir %{_docdir}/patterns-containers
%{_docdir}/patterns-containers/kubic_loadbalancer.txt
+%endif
%files kubernetes_utilities
%defattr(-,root,root)