diff --git a/openscap.spec b/openscap.spec index beb71a4..c19f106 100644 --- a/openscap.spec +++ b/openscap.spec @@ -1,6 +1,6 @@ Name: openscap Version: 1.3.3 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 Summary: Set of open source libraries enabling integration of the SCAP line of standards License: LGPLv2+ @@ -120,12 +120,10 @@ Tool for scanning Atomic containers. %prep %autosetup -p1 -mkdir build %build -cd build %cmake -DENABLE_DOCS=ON .. -make %{?_smp_mflags} +%cmake_build make docs %check @@ -134,8 +132,7 @@ ctest -V %{?_smp_mflags} %endif %install -cd build -%make_install +%cmake_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' @@ -198,6 +195,10 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %{_mandir}/man8/oscap-podman.8* %changelog +* Tue Jul 14 2020 Tom Stellard - 1:1.3.3-4 +- Update spec file to use new cmake macros +- https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds + * Tue May 26 2020 Miro HronĨok - 1:1.3.3-3 - Rebuilt for Python 3.9