Update for new CMake out of source builds

Fix FTBS in Rawhide/F33
https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds

Resolves: RHBZ#1863741
This commit is contained in:
Jan Černý 2020-08-04 09:23:31 +02:00
parent d119e01e6c
commit 53abd55a48

View File

@ -1,6 +1,6 @@
Name: scap-security-guide
Version: 0.1.51
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Security guidance and baselines in SCAP formats
License: BSD-3-Clause
URL: https://github.com/ComplianceAsCode/content/
@ -41,16 +41,13 @@ present in %{name} package.
%prep
%setup -q
mkdir build
%build
cd build
%cmake ../
%make_build
%cmake
%cmake_build
%install
cd build
%make_install
%cmake_install
%files
%{_datadir}/xml/scap/ssg/content
@ -67,6 +64,11 @@ cd build
%doc %{_docdir}/%{name}/tables/*.html
%changelog
* Tue Aug 04 2020 Jan Černý <jcerny@redhat.com> - 0.1.51-4
- Update for new CMake out of source builds
https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
- Fix FTBS in Rawhide/F33 (RHBZ#1863741)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.51-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild