scap-security-guide-0.1.32-1

This commit is contained in:
Martin Preisler 2017-03-30 22:39:41 -04:00
parent f939429268
commit 3a4ccfa2de

View File

@ -1,17 +1,15 @@
Name: scap-security-guide
Version: 0.1.31
Release: 3%{?dist}
Version: 0.1.32
Release: 1%{?dist}
Summary: Security guidance and baselines in SCAP formats
Group: Applications/System
License: Public Domain
URL: https://github.com/OpenSCAP/scap-security-guide/
Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v0.1.31/scap-security-guide-0.1.31.tar.gz
Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v%{version}/scap-security-guide-%{version}.tar.gz
BuildArch: noarch
BuildRequires: libxslt, expat, python
BuildRequires: python-lxml
BuildRequires: openscap-scanner >= 0.9.1
Requires: xml-common
Requires: openscap-scanner >= 0.9.1
BuildRequires: libxslt, expat, python, openscap-scanner >= 1.2.5, python-lxml, cmake >= 2.8
Requires: xml-common, openscap-scanner >= 1.2.5
Obsoletes: openscap-content < 0:0.9.13
Provides: openscap-content
@ -41,25 +39,33 @@ present in %{name} package.
%setup -q
%build
%cmake
%make_build
%install
%make_install
# TODO: Remove these after support for them has been added to cmake build system
mkdir -p %{buildroot}%{_datadir}/%{name}/kickstart
cp -a RHEL/6/kickstart/*-ks.cfg %{buildroot}%{_datadir}/%{name}/kickstart
cp -a RHEL/7/kickstart/*-ks.cfg %{buildroot}%{_datadir}/%{name}/kickstart
%files
%{_datadir}/scap/ssg
%{_datadir}/xml/scap/ssg/content
%{_datadir}/%{name}/kickstart
%lang(en) %{_mandir}/en/man8/scap-security-guide.8.*
%lang(en) %{_mandir}/man8/scap-security-guide.8.*
%doc %{_docdir}/%{name}/LICENSE
%doc %{_docdir}/%{name}/README.md
# compatibility symlink
%{_datadir}/xml/scap/ssg/content
%doc %{_docdir}/%{name}/Contributors.md
%files doc
%doc %{_docdir}/%{name}/guides/*.html
%doc %{_docdir}/%{name}/tables/*.{,x}html
%changelog
* Thu Mar 30 2017 Martin Preisler <mpreisle@redhat.com> - 0.1.32-1
- updated to latest upstream release
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.31-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild