Use autosetup + git to apply patches.
This commit is contained in:
parent
60cf6fe03e
commit
2d60237cc8
@ -7,6 +7,8 @@ License: GPLv2+
|
||||
URL: http://people.redhat.com/~rjones/virt-what/
|
||||
Source0: http://people.redhat.com/~rjones/virt-what/files/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: git
|
||||
|
||||
# This is provided by the build root, but we make it explicit
|
||||
# anyway in case this was dropped from the build root in future.
|
||||
BuildRequires: gcc
|
||||
@ -76,8 +78,7 @@ Current types of virtualization detected:
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
%autosetup -S git
|
||||
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user