use %autosetup in %prep

This commit is contained in:
Kamil Dudka 2016-08-11 09:41:21 +02:00
parent 6a83a9dd99
commit e628f4803d

View File

@ -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 <kdudka@redhat.com> - 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