From 8bd1a44b3f9acd4982da747c6fcf7f8d6808a650 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 1 Aug 2020 22:19:51 +0200 Subject: [PATCH] adapt to new cmake macros --- editorconfig.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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