upgrade to disable python2
This commit is contained in:
parent
d280f6143e
commit
ea8508192b
Binary file not shown.
BIN
scap-security-guide-0.1.49.tar.bz2
Normal file
BIN
scap-security-guide-0.1.49.tar.bz2
Normal file
Binary file not shown.
@ -1,39 +1,42 @@
|
|||||||
Name: scap-security-guide
|
Name: scap-security-guide
|
||||||
Version: 0.1.39
|
Version: 0.1.49
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Create security policy content for various platforms
|
Summary: Security guidance and baselines in SCAP formats
|
||||||
License: Public Domain
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/OpenSCAP/scap-security-guide
|
URL: https://github.com/ComplianceAsCode/content/
|
||||||
Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2
|
Source0: https://github.com/ComplianceAsCode/content/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
BuildArch: noarch
|
BuildRequires: libxslt, expat, python3, openscap-scanner >= 1.2.5, cmake >= 3.8, python3-jinja2, python3-PyYAML
|
||||||
|
Requires: xml-common, openscap-scanner >= 1.2.5
|
||||||
BuildRequires: libxslt expat python2 openscap-scanner >= 1.2.5 python2-lxml cmake >= 2.8 python2-jinja2 PyYAML
|
Obsoletes: openscap-content < 0:0.9.13
|
||||||
Requires: xml-common openscap-scanner >= 1.2.5
|
Provides: openscap-content
|
||||||
Obsoletes: openscap-content < 0:0.9.13
|
|
||||||
Provides: openscap-content
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The project's aim is to make it as easy as possible to write new and maintain existing security content in all the commonly used formats.
|
The scap-security-guide project provides a guide for configuration of the
|
||||||
The security content can be used to scan bare-metal machines, virtual machines, virtual machine images (qcow2 and others), containers
|
system from the final system's security point of view. The guidance is specified
|
||||||
(including Docker) and container images.
|
in the Security Content Automation Protocol (SCAP) format and constitutes
|
||||||
|
a catalog of practical hardening advice, linked to government requirements
|
||||||
|
where applicable. The project bridges the gap between generalized policy
|
||||||
|
requirements and specific implementation guidelines. The Fedora system
|
||||||
|
administrator can use the oscap CLI tool from openscap-scanner package, or the
|
||||||
|
scap-workbench GUI tool from scap-workbench package to verify that the system
|
||||||
|
conforms to provided guideline. Refer to scap-security-guide(8) manual page for
|
||||||
|
further information.
|
||||||
|
|
||||||
%package help
|
%package doc
|
||||||
Summary: Help documentation and security guides for scap-security-guide
|
Summary: HTML formatted security guides generated from XCCDF benchmarks
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: %{name}-doc = %{version}-%{release}
|
%description doc
|
||||||
Obsoletes: %{name}-doc < %{version}-%{release}
|
The %{name}-doc package contains HTML formatted documents containing
|
||||||
|
hardening guidances that have been generated from XCCDF benchmarks
|
||||||
%description help
|
present in %{name} package.
|
||||||
This package contains help documentation and security guides related to scap-security-guide.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q
|
||||||
|
mkdir build
|
||||||
|
|
||||||
%build
|
%build
|
||||||
install -d build
|
|
||||||
cd build
|
cd build
|
||||||
%cmake ..
|
%cmake ../
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -41,19 +44,22 @@ cd build
|
|||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc %{_docdir}/%{name}/LICENSE
|
|
||||||
%{_datadir}/xml/scap/ssg/content
|
%{_datadir}/xml/scap/ssg/content
|
||||||
%{_datadir}/%{name}/kickstart
|
%{_datadir}/%{name}/kickstart
|
||||||
%{_datadir}/%{name}/ansible
|
%{_datadir}/%{name}/ansible
|
||||||
%{_datadir}/%{name}/bash
|
%{_datadir}/%{name}/bash
|
||||||
%lang(en) %{_mandir}/man8/scap-security-guide.8.*
|
%lang(en) %{_mandir}/man8/scap-security-guide.8.*
|
||||||
|
%doc %{_docdir}/%{name}/LICENSE
|
||||||
%files help
|
|
||||||
%doc %{_docdir}/%{name}/README.md
|
%doc %{_docdir}/%{name}/README.md
|
||||||
%doc %{_docdir}/%{name}/Contributors.md
|
%doc %{_docdir}/%{name}/Contributors.md
|
||||||
|
|
||||||
|
%files doc
|
||||||
%doc %{_docdir}/%{name}/guides/*.html
|
%doc %{_docdir}/%{name}/guides/*.html
|
||||||
%doc %{_docdir}/%{name}/tables/*.html
|
%doc %{_docdir}/%{name}/tables/*.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 28 2020 Anan Fu <fuanan3@huawei.com> - 0.1.49-1
|
||||||
|
- upgrade to disable python2
|
||||||
|
|
||||||
* Mon Oct 14 2019 dongjian <dongjian13@huawei.com> - 0.1.39-4
|
* Mon Oct 14 2019 dongjian <dongjian13@huawei.com> - 0.1.39-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user