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 Name: scap-security-guide
Version: 0.1.51 Version: 0.1.51
Release: 3%{?dist} Release: 4%{?dist}
Summary: Security guidance and baselines in SCAP formats Summary: Security guidance and baselines in SCAP formats
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/ComplianceAsCode/content/ URL: https://github.com/ComplianceAsCode/content/
@ -41,16 +41,13 @@ present in %{name} package.
%prep %prep
%setup -q %setup -q
mkdir build
%build %build
cd build %cmake
%cmake ../ %cmake_build
%make_build
%install %install
cd build %cmake_install
%make_install
%files %files
%{_datadir}/xml/scap/ssg/content %{_datadir}/xml/scap/ssg/content
@ -67,6 +64,11 @@ cd build
%doc %{_docdir}/%{name}/tables/*.html %doc %{_docdir}/%{name}/tables/*.html
%changelog %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 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.51-3
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild