Sync from SUSE:SLFO:Main patterns-ha revision 720f14a5ec7d4e2010e05228bc09a233

This commit is contained in:
Adrian Schröter 2025-02-12 13:39:04 +01:00
commit ec6024fe91
4 changed files with 113 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

8
patterns-ha-rpmlintrc Normal file
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");

4
patterns-ha.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Jan 30 12:34:45 UTC 2025 - abriel@suse.com
- Initial version

78
patterns-ha.spec Normal file
View File

@ -0,0 +1,78 @@
#
# spec file for package patterns-ha
#
# Copyright (c) 2025 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-ha
Version: 16.0
Release: 0
Summary: Patterns for SLES HA
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 ha_sles
#%pattern_primaryfunctions
Summary: High Availability
Group: Metapackages
Provides: pattern() = ha_sles
Provides: pattern-category() = HA-SLES
Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 3000
Provides: pattern-visible()
Requires: conntrack-tools
Requires: corosync
Recommends: corosync-qdevice
Requires: crmsh
Requires: csync2
#Requires: ctdb
Requires: drbd
Requires: drbd-utils
#Requires: fence-agents - ignore for now, currently unknown package, pending submission
#Requires: ha-cluster-bootstrap
#Requires: ha-cluster-webui
#Requires: lvm2-lockd
Requires: pacemaker
#Requires: release-notes-ha
Requires: resource-agents
Requires: sbd
Requires: chrony
#Recommends: cluster-md-kmp-default
%description ha_sles
Provide tools to ensure a high degree of operational continuity and reduce the downtimes of your system.
%prep
%build
%install
mkdir -p %{buildroot}%{_docdir}/patterns-ha/
echo 'This file marks the pattern ha_sles to be installed.' > %{buildroot}%{_docdir}/patterns-ha/ha_sles.txt
%files ha_sles
%dir %{_docdir}/patterns-ha
%{_docdir}/patterns-ha/ha_sles.txt
%changelog