diff --git a/nano.spec b/nano.spec index 2c80ca8..1908b9a 100644 --- a/nano.spec +++ b/nano.spec @@ -14,6 +14,7 @@ Patch2: 0002-use-futimens-if-available-instead-of-utime.patch BuildRequires: file-devel BuildRequires: gettext-devel +BuildRequires: git BuildRequires: groff BuildRequires: ncurses-devel BuildRequires: sed @@ -26,9 +27,7 @@ Requires(preun): /sbin/install-info GNU nano is a small and friendly text editor. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 +%autosetup -S git # do not run autotools, we have already reflected the configure.ac # changes in configure and config.h.in @@ -90,6 +89,7 @@ exit 0 %changelog * Thu Aug 11 2016 Kamil Dudka - 2.6.3-1 +- use %%autosetup in %%prep - build out of source tree - do not recode man pages, they are UTF-8 encoded since v2.3.6 - new upstream release