From c92a5fbef1db7ef4124b7164c86621f543d7cce8dbdd06742a5fba82bae4cf96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 00:29:34 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main sca-patterns-alp1 revision aedb974ef6f64f1ba137f6d31317dede --- .gitattributes | 23 ++++++++++++ sca-patterns-alp1-2.0.1.tar.gz | 3 ++ sca-patterns-alp1.changes | 11 ++++++ sca-patterns-alp1.spec | 69 ++++++++++++++++++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 sca-patterns-alp1-2.0.1.tar.gz create mode 100644 sca-patterns-alp1.changes create mode 100644 sca-patterns-alp1.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/sca-patterns-alp1-2.0.1.tar.gz b/sca-patterns-alp1-2.0.1.tar.gz new file mode 100644 index 0000000..ec92824 --- /dev/null +++ b/sca-patterns-alp1-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d7a4f23f5221910393f3f3d0a30b1bce819c0fe5d3e354f750a5cf2911c1450 +size 7021 diff --git a/sca-patterns-alp1.changes b/sca-patterns-alp1.changes new file mode 100644 index 0000000..80110f9 --- /dev/null +++ b/sca-patterns-alp1.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Tue Jan 9 17:49:46 UTC 2024 - jason.record@suse.com + +- Removed 00_template.py (bsc#1218660) + +------------------------------------------------------------------- +Wed Dec 6 19:18:50 UTC 2023 - jason.record@suse.com + +- Initial commit + +--- diff --git a/sca-patterns-alp1.spec b/sca-patterns-alp1.spec new file mode 100644 index 0000000..f916b31 --- /dev/null +++ b/sca-patterns-alp1.spec @@ -0,0 +1,69 @@ +# +# spec file for package sca-patterns-alp1 +# +# 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 ALP + +Name: sca-patterns-alp1 +Version: 2.0.1 +Release: 0 +Summary: Supportconfig Analysis Patterns for ALP1 +License: GPL-2.0-only +URL: https://github.com/g23guy/sca-patterns-alp1 +Group: System/Monitoring +Source: %{name}-%{version}.tar.gz +Requires: sca-patterns-template-gen2 +BuildArch: noarch +BuildRequires: fdupes + +%description +Supportconfig Analysis (SCA) appliance patterns to identify known +issues relating to all versions of SUSE Adaptable Linux Platform (ALP) 1. + +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}/alp1all +install -d %{buildroot}/%{patdir}/%{category}/alp1sp0 +install -m %{patmode} patterns/%{category}/alp1all/* %{buildroot}/%{patdir}/%{category}/alp1all +install -m %{patmode} patterns/%{category}/alp1sp0/* %{buildroot}/%{patdir}/%{category}/alp1sp0 +%fdupes %{buildroot} + +%files +%defattr(-,%{patuser},%{patgrp}) +%dir %{patdirbase} +%dir %{patdir} +%dir %{patdir}/%{category} +%dir %{patdir}/%{category}/alp1all +%dir %{patdir}/%{category}/alp1sp0 +%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/alp1all/* +%attr(%{patmode},%{patuser},%{patgrp}) %{patdir}/%{category}/alp1sp0/* + +%changelog