Adapt for meson build

This commit is contained in:
Daniel Berteaud 2022-04-21 09:05:10 +02:00
parent f0117e3086
commit 7c1deb6a92
1 changed files with 3 additions and 4 deletions

View File

@ -28,13 +28,12 @@ of scanned pages before performing optical character recognition
%setup -q %setup -q
%build %build
autoreconf -fis CFLAGS="-march=native" meson --buildtype=debugoptimized builddir
%configure --prefix=%{_prefix} meson compile -C builddir
%{__make}
%install %install
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=%{buildroot} DESTDIR=%{buildroot} meson install
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT