- remove redhat conflict.

OBS-URL: https://build.opensuse.org/package/show/security/scap-security-guide?expand=0&rev=15
This commit is contained in:
Marcus Meissner 2021-02-26 08:45:34 +00:00 committed by Git OBS Bridge
parent 9b5a187ad8
commit 5923abee34
2 changed files with 42 additions and 37 deletions

View File

@ -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>

View File

@ -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
@ -43,14 +44,12 @@
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
Url: https://github.com/ComplianceAsCode/content License: BSD-3-Clause
%if "%{_vendor}" == "debbuild"
Packager: Uyuni packagers <uyuni-devel@lists.opensuse.org>
Group: admin
%else
Group: Productivity/Security Group: Productivity/Security
URL: https://github.com/ComplianceAsCode/content
%if "%{_vendor}" == "debbuild"
%else
%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
@ -58,8 +57,8 @@ 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
@ -102,8 +101,8 @@ BuildRequires: python3-Jinja2
%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
@ -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.
@ -133,6 +132,7 @@ files to run a compliance test on various Redhat products, CentOS, Oracle Linux,
%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.
@ -144,6 +144,7 @@ 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