mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 17:52:40 +00:00
pkgs: Fix spec file.
- Remove not needed require - call %autosetup before apply patches. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
6b11ed27a3
commit
6e2677c456
@ -26,9 +26,6 @@ License : Apache-2.0
|
||||
|
||||
BuildRequires: git
|
||||
BuildRequires: systemd
|
||||
%if 0%{?suse_version} && 0%{?is_opensuse}
|
||||
BuildRequires: openSUSE-release
|
||||
%endif
|
||||
|
||||
# Patches
|
||||
@RPM_PATCH_LIST@
|
||||
|
@ -25,9 +25,6 @@ Group : Development/Tools
|
||||
License : Apache-2.0
|
||||
|
||||
BuildRequires: git
|
||||
%if 0%{?suse_version} && 0%{?is_opensuse}
|
||||
BuildRequires: openSUSE-release
|
||||
%endif
|
||||
|
||||
%{!?el7 || !?suse_version:Requires: qemu-lite >= @qemu_lite_obs_fedora_version@ }
|
||||
|
||||
@ -55,11 +52,10 @@ Overview
|
||||
%prep
|
||||
mkdir local
|
||||
tar -C local -xzf ../SOURCES/go%{GO_VERSION}.linux-@GO_ARCH@.tar.gz
|
||||
%autosetup -N -S git
|
||||
# Patches
|
||||
@RPM_APPLY_PATCHES@
|
||||
|
||||
%setup -q
|
||||
%autosetup -S git
|
||||
|
||||
%build
|
||||
export GOROOT=$HOME/rpmbuild/BUILD/local/go
|
||||
|
Loading…
Reference in New Issue
Block a user