Sync from SUSE:SLFO:Main sca-patterns-sle15 revision 6b0d392c50c0aceda89ce7675c0f7d5c

This commit is contained in:
Adrian Schröter 2024-09-13 16:06:11 +02:00
commit 232ea0b880
4 changed files with 699 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

BIN
sca-patterns-sle15-1.5.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

584
sca-patterns-sle15.changes Normal file

File diff suppressed because one or more lines are too long

89
sca-patterns-sle15.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package sca-patterns-sle15
#
# Copyright (c) 2024 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/
#
%define sca_common sca
%define patdirbase /usr/lib/%{sca_common}
%define patdir %{patdirbase}/patterns
%define patuser root
%define patgrp root
%define patmode 755
%define category SLE
Name: sca-patterns-sle15
Version: 1.5.7
Release: 0
Summary: Supportconfig Analysis Patterns for SLE15
License: GPL-2.0-only
URL: https://github.com/g23guy/sca-patterns-sle15
Group: System/Monitoring
Source: %{name}-%{version}.tar.gz
BuildRequires: fdupes
Requires: sca-patterns-base >= 1.5.0
BuildArch: noarch
%description
Supportconfig Analysis (SCA) appliance patterns to identify known
issues relating to all versions of SLE15.
See %{_docdir}/sca-patterns-base/COPYING.GPLv2
%prep
%setup -q
%build
%install
pwd;ls -la
install -d %{buildroot}/%{patdir}/%{category}
install -d %{buildroot}/%{patdir}/%{category}/sle15all
install -d %{buildroot}/%{patdir}/%{category}/sle15sp0
install -d %{buildroot}/%{patdir}/%{category}/sle15sp1
install -d %{buildroot}/%{patdir}/%{category}/sle15sp2
install -d %{buildroot}/%{patdir}/%{category}/sle15sp3
install -d %{buildroot}/%{patdir}/%{category}/sle15sp4
install -d %{buildroot}/%{patdir}/%{category}/sle15sp5
install -m %{patmode} patterns/%{category}/sle15all/* %{buildroot}/%{patdir}/%{category}/sle15all
install -m %{patmode} patterns/%{category}/sle15sp0/* %{buildroot}/%{patdir}/%{category}/sle15sp0
install -m %{patmode} patterns/%{category}/sle15sp1/* %{buildroot}/%{patdir}/%{category}/sle15sp1
install -m %{patmode} patterns/%{category}/sle15sp2/* %{buildroot}/%{patdir}/%{category}/sle15sp2
install -m %{patmode} patterns/%{category}/sle15sp3/* %{buildroot}/%{patdir}/%{category}/sle15sp3
install -m %{patmode} patterns/%{category}/sle15sp4/* %{buildroot}/%{patdir}/%{category}/sle15sp4
install -m %{patmode} patterns/%{category}/sle15sp5/* %{buildroot}/%{patdir}/%{category}/sle15sp5
%fdupes %{buildroot}
%files
%defattr(-,%{patuser},%{patgrp})
%dir %{patdirbase}
%dir %{patdir}
%dir %{patdir}/%{category}
%dir %{patdir}/%{category}/sle15all
%dir %{patdir}/%{category}/sle15sp0
%dir %{patdir}/%{category}/sle15sp1
%dir %{patdir}/%{category}/sle15sp2
%dir %{patdir}/%{category}/sle15sp3
%dir %{patdir}/%{category}/sle15sp4
%dir %{patdir}/%{category}/sle15sp5
%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/sle15all/*
%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/sle15sp0/*
%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/sle15sp1/*
%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/sle15sp2/*
%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/sle15sp3/*
%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/sle15sp4/*
%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/sle15sp5/*
%changelog