diff --git a/unpaper.spec b/unpaper.spec index 9fde284..66b274f 100644 --- a/unpaper.spec +++ b/unpaper.spec @@ -5,8 +5,9 @@ Summary: A post-processing tool for scanned sheets of paper License: GPLv2 URL: https://github.com/unpaper/unpaper -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/unpaper/unpaper/archive/refs/tags/%{name}-%{version}.tar.gz +BuildRequires: autoconf BuildRequires: meson BuildRequires: sphinx Requires: ffmpeg @@ -24,7 +25,7 @@ of scanned pages before performing optical character recognition %setup -q %build -autoconf -fis +%{__autoconf} -fis %configure --prefix=%{_prefix} %{__make}