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 Name: editorconfig
Summary: Parser for EditorConfig files written in C Summary: Parser for EditorConfig files written in C
Version: 0.12.3 Version: 0.12.3
Release: 6%{?dist} Release: 7%{?dist}
License: BSD License: BSD
URL: https://github.com/%{name}/%{srcname} URL: https://github.com/%{name}/%{srcname}
@ -52,16 +52,12 @@ This package contains the files needed for development.
%build %build
mkdir build && pushd build %cmake
%cmake .. %cmake_build
make
popd
%install %install
pushd build %cmake_install
%make_install
popd
# Remove static library # Remove static library
rm %{buildroot}/%{_libdir}/libeditorconfig_static.a rm %{buildroot}/%{_libdir}/libeditorconfig_static.a
@ -91,6 +87,9 @@ rm %{buildroot}/%{_libdir}/libeditorconfig_static.a
%changelog %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 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-6
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild