Sync from SUSE:ALP:Source:Standard:1.0 patterns-container revision ccdc8147346ef8287e55a2e54c705fa5

This commit is contained in:
Adrian Schröter 2024-04-17 09:41:36 +02:00
commit 0701320126
4 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,14 @@
-------------------------------------------------------------------
Tue Dec 19 10:20:31 UTC 2023 - Jiri Srain <jsrain@suse.com>
- add obsolete for microos patterns
-------------------------------------------------------------------
Mon Nov 27 08:42:09 UTC 2023 - Jiri Srain <jsrain@suse.com>
- added missing libcontainers-sles-mounts (bsc#1216443)
-------------------------------------------------------------------
Thu Jun 15 10:43:50 UTC 2023 - jsrain@suse.com
- initial version

View File

@ -0,0 +1,8 @@
addFilter("W: no-binary");
addFilter("W: unexpanded-macro.*pattern-category");
addFilter("W: explicit-lib-dependency");
addFilter("W: devel-package-with-non-devel-group");
addFilter("W: conflicts-with-provides");
addFilter("W: description-shorter-than-summary");
addFilter("W: suse-branding-specific-branding-req");
addFilter("W: useless-provides");

93
patterns-container.spec Normal file
View File

@ -0,0 +1,93 @@
#
# spec file for package patterns-container
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: patterns-container
Version: 0.1
Release: 0
Summary: Patterns for SUSE Linux Framework One
License: MIT
Group: Metapackages
URL: http://en.opensuse.org/Patterns
Source0: %name.rpmlintrc
ExclusiveArch: x86_64 %arm32 aarch64 ppc64le s390x riscv64
%description
This is an internal package that is used to create the patterns as part
of the installation source setup. Installation of this package does
not make sense.
%package runtime_podman
Summary: SUSE podman runtime pattern
Group: Metapackages
Provides: pattern() = container_runtime_podman
Provides: pattern-category() = SLFO
Provides: pattern-icon() = pattern-kubic
Provides: pattern-order() = 9020
Obsoletes: patterns-microos-container_runtime
Provides: patterns-microos-container_runtime
Requires: podman
Requires: netavark
Requires: aardvark-dns
%if !0%{?is_opensuse}
Requires: libcontainers-sles-mounts
%endif
%description runtime_podman
This provides default podman installation on SUSE Linux Framework One
%package runtime_docker
Summary: SUSE Docker runtime support
Group: Metapackages
Provides: pattern() = container_runtime_docker
Provides: pattern-category() = SLFO
Provides: pattern-icon() = pattern-kubic
Provides: pattern-order() = 9030
Provides: pattern-visible()
Requires: docker
%if !0%{?is_opensuse}
Requires: libcontainers-sles-mounts
%endif
%description runtime_docker
This provides default Docker installation on SUSE Linux Framework One
%prep
# empty on purpose
%build
# empty on purpose
%install
mkdir -p %{buildroot}%{_docdir}/patterns-container/
PATTERNS='
runtime_podman runtime_docker
'
for i in $PATTERNS; do
echo "This file marks the pattern $i to be installed." \
> %{buildroot}%{_docdir}/patterns-container/${i}.txt
done
%files runtime_podman
%dir %{_docdir}/patterns-container
%{_docdir}/patterns-container/runtime_podman.txt
%files runtime_docker
%dir %{_docdir}/patterns-container
%{_docdir}/patterns-container/runtime_docker.txt
%changelog