From 0eaf1f8d5de0599bc054f5699a39278729a6e329 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 4 Jun 2020 11:25:46 +1000 Subject: [PATCH] Use meson instead of autotools --- libevdev.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/libevdev.spec b/libevdev.spec index 83548a8..278e256 100644 --- a/libevdev.spec +++ b/libevdev.spec @@ -1,6 +1,6 @@ Name: libevdev Version: 1.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Kernel Evdev Device Wrapper Library License: MIT @@ -8,7 +8,7 @@ URL: http://www.freedesktop.org/wiki/Software/libevdev Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz BuildRequires: git-core -BuildRequires: automake libtool gcc +BuildRequires: meson gcc BuildRequires: python3 python3-devel %description @@ -35,15 +35,11 @@ Utilities to handle and/or debug evdev devices. pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python.*') %build -autoreconf --force -v --install || exit 1 -%configure --disable-static --disable-silent-rules --disable-gcov -make %{?_smp_mflags} +%meson -Dtests=disabled -Ddocumentation=disabled -Dcoverity=false +%meson_build %install -make install DESTDIR=%{buildroot} - -# We intentionally don't ship *.la files -rm -f %{buildroot}%{_libdir}/*.la +%meson_install %ldconfig_scriptlets @@ -66,6 +62,9 @@ rm -f %{buildroot}%{_libdir}/*.la %{_bindir}/libevdev-tweak-device %changelog +* Thu Jun 04 2020 Peter Hutterer 1.9.0-2 +- Use meson instead of autotools + * Mon Mar 02 2020 Peter Hutterer 1.9.0-1 - libevdev 1.9.0