adapt to new cmake macros

This commit is contained in:
Fabio Valentini 2020-08-01 22:19:51 +02:00
parent 8b3c261d52
commit 8bd1a44b3f
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

View File

@ -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 <decathorpe@gmail.com> - 0.12.3-7
- Adapt to new cmake macros.
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild