oscap-anaconda-addon/oscap-anaconda-addon.spec
2020-06-28 11:10:28 +08:00

41 lines
1.3 KiB
RPMSpec

Name: oscap-anaconda-addon
Version: 1.0
Release: 3
Summary: Anaconda addon integrating OpenSCAP to the installation process
License: GPLv2+
URL: https://github.com/OpenSCAP/oscap-anaconda-addon
Source0: https://github.com/OpenSCAP/%{name}/releases/download/r%{version}/%{name}-%{version}.tar.gz
# Fix check fail
Patch0001: oscap-anaconda-addon-Bumped-the-schematron-version-to-match-the-SCAP-version.patch
BuildArch: noarch
BuildRequires: gettext python3-devel python3-pycurl python3-mock python3-nose python3-cpio
BuildRequires: openscap openscap-utils openscap-python3 anaconda >= 28.22
Requires: anaconda >= 28.22 python3-cpio openscap openscap-utils openscap-python3
%description
This is an addon that integrates OpenSCAP utilities with the Anaconda installer
and allows installation of systems following restrictions given by a SCAP
content.
%prep
%autosetup -p1
%build
%check
make unittest
%install
make install DESTDIR=%{buildroot}
%find_lang %{name}
%files -f %{name}.lang
%{_datadir}/anaconda/addons/org_fedora_oscap
%doc COPYING ChangeLog README.md
%changelog
* Mon Apr 20 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 1.0-3
- package init