diff --git a/editorconfig.spec b/editorconfig.spec index 2822481..578815b 100644 --- a/editorconfig.spec +++ b/editorconfig.spec @@ -11,7 +11,7 @@ editors. Name: editorconfig Summary: Parser for EditorConfig files written in C Version: 0.12.3 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD URL: https://github.com/%{name}/%{srcname} @@ -52,16 +52,12 @@ This package contains the files needed for development. %build -mkdir build && pushd build -%cmake .. -make -popd +%cmake +%cmake_build %install -pushd build -%make_install -popd +%cmake_install # Remove static library rm %{buildroot}/%{_libdir}/libeditorconfig_static.a @@ -91,6 +87,9 @@ rm %{buildroot}/%{_libdir}/libeditorconfig_static.a %changelog +* Sat Aug 01 2020 Fabio Valentini - 0.12.3-7 +- Adapt to new cmake macros. + * Sat Aug 01 2020 Fedora Release Engineering - 0.12.3-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild