diff --git a/unpaper.spec b/unpaper.spec index 2e605b2..9b0eeda 100644 --- a/unpaper.spec +++ b/unpaper.spec @@ -28,13 +28,12 @@ of scanned pages before performing optical character recognition %setup -q %build -autoreconf -fis -%configure --prefix=%{_prefix} -%{__make} +CFLAGS="-march=native" meson --buildtype=debugoptimized builddir +meson compile -C builddir %install %{__rm} -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=%{buildroot} +DESTDIR=%{buildroot} meson install %clean %{__rm} -rf $RPM_BUILD_ROOT