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/
|
URL: http://people.redhat.com/~rjones/virt-what/
|
||||||
Source0: http://people.redhat.com/~rjones/virt-what/files/%{name}-%{version}.tar.gz
|
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
|
# This is provided by the build root, but we make it explicit
|
||||||
# anyway in case this was dropped from the build root in future.
|
# anyway in case this was dropped from the build root in future.
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -76,8 +78,7 @@ Current types of virtualization detected:
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -S git
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user