- remove redhat conflict.
OBS-URL: https://build.opensuse.org/package/show/security/scap-security-guide?expand=0&rev=15
This commit is contained in:
parent
9b5a187ad8
commit
5923abee34
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 26 08:45:24 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- remove redhat conflict.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 7 10:42:34 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
Sun Feb 7 10:42:34 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openscap-content-stig
|
# spec file for package scap-security-guide
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,9 +12,10 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if ! (0%{?fedora} || 0%{?rhel} > 5)
|
%if ! (0%{?fedora} || 0%{?rhel} > 5)
|
||||||
%if "%{_vendor}" == "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
%global __python /usr/bin/python3
|
%global __python /usr/bin/python3
|
||||||
@ -41,75 +42,73 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: scap-security-guide
|
Name: scap-security-guide
|
||||||
Version: 0.1.54
|
Version: 0.1.54
|
||||||
Release: 0
|
Release: 0
|
||||||
License: BSD-3-Clause
|
Summary: XCCDF files for SUSE Linux and openSUSE
|
||||||
Summary: XCCDF files for SUSE Linux and openSUSE
|
License: BSD-3-Clause
|
||||||
Url: https://github.com/ComplianceAsCode/content
|
Group: Productivity/Security
|
||||||
|
URL: https://github.com/ComplianceAsCode/content
|
||||||
%if "%{_vendor}" == "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
Packager: Uyuni packagers <uyuni-devel@lists.opensuse.org>
|
|
||||||
Group: admin
|
|
||||||
%else
|
%else
|
||||||
Group: Productivity/Security
|
|
||||||
%endif
|
%endif
|
||||||
Source: https://github.com/ComplianceAsCode/content/archive/v%{version}.tar.gz
|
Source: https://github.com/ComplianceAsCode/content/archive/v%{version}.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
||||||
%if "%{_vendor}" == "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
BuildRequires: libopenscap8
|
BuildRequires: libopenscap8
|
||||||
BuildRequires: libxslt1.1
|
BuildRequires: libxml2-utils
|
||||||
BuildRequires: libxml2-utils
|
BuildRequires: libxslt1.1
|
||||||
BuildRequires: xsltproc
|
BuildRequires: xsltproc
|
||||||
%else
|
%else
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: openscap-utils
|
BuildRequires: openscap-utils
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel} == 8
|
%if 0%{?rhel} == 8
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: python3-xml
|
BuildRequires: python3-xml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
BuildRequires: PyYAML
|
BuildRequires: PyYAML
|
||||||
%else
|
%else
|
||||||
%if 0%{?rhel} == 8
|
%if 0%{?rhel} == 8
|
||||||
BuildRequires: python3-pyyaml
|
BuildRequires: python3-pyyaml
|
||||||
%else
|
%else
|
||||||
%if "%{_vendor}" == "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
BuildRequires: python3-yaml
|
BuildRequires: python3-yaml
|
||||||
%else
|
%else
|
||||||
BuildRequires: python3-PyYAML
|
BuildRequires: python3-PyYAML
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
BuildRequires: python-jinja2
|
BuildRequires: python-jinja2
|
||||||
%else
|
%else
|
||||||
%if 0%{?rhel} == 8
|
%if 0%{?rhel} == 8
|
||||||
BuildRequires: python3-jinja2
|
BuildRequires: python3-jinja2
|
||||||
%else
|
%else
|
||||||
%if "%{_vendor}" == "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
BuildRequires: python3-jinja2
|
BuildRequires: python3-jinja2
|
||||||
%else
|
%else
|
||||||
BuildRequires: python3-Jinja2
|
BuildRequires: python3-Jinja2
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: libxml2
|
BuildRequires: expat
|
||||||
BuildRequires: expat
|
BuildRequires: libxml2
|
||||||
# not on SLES currently
|
# not on SLES currently
|
||||||
%if 0%{?is_opensuse} || 0%{?fedora} || "%{_vendor}" == "debbuild"
|
%if 0%{?is_opensuse} || 0%{?fedora} || "%{_vendor}" == "debbuild"
|
||||||
BuildRequires: ansible
|
BuildRequires: ansible
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Security Content Automation Protocol (SCAP) Security Guide for SUSE Linux.
|
Security Content Automation Protocol (SCAP) Security Guide for SUSE Linux.
|
||||||
@ -120,8 +119,8 @@ Language), CPE (Common Platform Enumeration) and DS (Data Stream)
|
|||||||
files to run a compliance test on SLE12, SLE15 and openSUSE
|
files to run a compliance test on SLE12, SLE15 and openSUSE
|
||||||
|
|
||||||
%package redhat
|
%package redhat
|
||||||
Conflicts: scap-security-guide
|
Summary: XCCDF files for RHEL, CentOS, Fedora and ScientificLinux
|
||||||
Summary: XCCDF files for RHEL, CentOS, Fedora and ScientificLinux
|
Group: admin
|
||||||
|
|
||||||
%description redhat
|
%description redhat
|
||||||
Security Content Automation Protocol (SCAP) Security Guide for Redhat/Fedora/CentOS/OracleLinux/ScientificLinux.
|
Security Content Automation Protocol (SCAP) Security Guide for Redhat/Fedora/CentOS/OracleLinux/ScientificLinux.
|
||||||
@ -132,7 +131,8 @@ Language), CPE (Common Platform Enumeration) and DS (Data Stream)
|
|||||||
files to run a compliance test on various Redhat products, CentOS, Oracle Linux, Fedora and ScientificLinux.
|
files to run a compliance test on various Redhat products, CentOS, Oracle Linux, Fedora and ScientificLinux.
|
||||||
|
|
||||||
%package debian
|
%package debian
|
||||||
Summary: XCCDF files for Debian
|
Summary: XCCDF files for Debian
|
||||||
|
Group: admin
|
||||||
|
|
||||||
%description debian
|
%description debian
|
||||||
Security Content Automation Protocol (SCAP) Security Guide for Debian.
|
Security Content Automation Protocol (SCAP) Security Guide for Debian.
|
||||||
@ -143,7 +143,8 @@ Language), CPE (Common Platform Enumeration) and DS (Data Stream)
|
|||||||
files to run a compliance test on Debian.
|
files to run a compliance test on Debian.
|
||||||
|
|
||||||
%package ubuntu
|
%package ubuntu
|
||||||
Summary: XCCDF files for Ubuntu
|
Summary: XCCDF files for Ubuntu
|
||||||
|
Group: admin
|
||||||
|
|
||||||
%description ubuntu
|
%description ubuntu
|
||||||
Security Content Automation Protocol (SCAP) Security Guide for Ubuntu.
|
Security Content Automation Protocol (SCAP) Security Guide for Ubuntu.
|
||||||
@ -256,7 +257,6 @@ cd build/
|
|||||||
%{_datadir}/xml/scap/ssg/content/*-centos*
|
%{_datadir}/xml/scap/ssg/content/*-centos*
|
||||||
%{_datadir}/xml/scap/ssg/content/*-sl7*
|
%{_datadir}/xml/scap/ssg/content/*-sl7*
|
||||||
|
|
||||||
|
|
||||||
%files debian
|
%files debian
|
||||||
%if "%{_vendor}" != "debbuild"
|
%if "%{_vendor}" != "debbuild"
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user