File sca-patterns-hae.spec of Package sca-patterns-hae.17697
#
# spec file for package sca-patterns-hae
#
# Copyright (c) 2020 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 mode 544
%define category HAE
Name: sca-patterns-hae
Version: 1.3.1
Release: 0
Summary: Supportconfig Analysis Patterns for HAE
License: GPL-2.0-only
Group: System/Monitoring
URL: https://github.com/g23guy/sca-patterns-hae
Source: %{name}-%{version}.tar.gz
BuildRequires: fdupes
Requires: sca-patterns-base
BuildArch: noarch
%description
Supportconfig Analysis (SCA) appliance patterns to identify known
issues relating to all versions of High Availability Extension (HAE)
clustering
See %{_docdir}/sca-patterns-base/COPYING.GPLv2
%prep
%setup -q
%build
%install
pwd;ls -la
install -d %{buildroot}/%{patdir}/%{category}
install -m %{mode} patterns/HAE/* %{buildroot}/%{patdir}/%{category}
%fdupes %{buildroot}
%files
%defattr(-,%{patuser},%{patgrp})
%dir %{patdirbase}
%dir %{patdir}
%dir %{patdir}/%{category}
%attr(%{mode},%{patuser},%{patgrp}) %{patdir}/%{category}/*
%changelog