mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-02 18:23:12 +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: git
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%if 0%{?suse_version} && 0%{?is_opensuse}
|
|
||||||
BuildRequires: openSUSE-release
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Patches
|
# Patches
|
||||||
@RPM_PATCH_LIST@
|
@RPM_PATCH_LIST@
|
||||||
|
@ -25,9 +25,6 @@ Group : Development/Tools
|
|||||||
License : Apache-2.0
|
License : Apache-2.0
|
||||||
|
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
%if 0%{?suse_version} && 0%{?is_opensuse}
|
|
||||||
BuildRequires: openSUSE-release
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{!?el7 || !?suse_version:Requires: qemu-lite >= @qemu_lite_obs_fedora_version@ }
|
%{!?el7 || !?suse_version:Requires: qemu-lite >= @qemu_lite_obs_fedora_version@ }
|
||||||
|
|
||||||
@ -55,11 +52,10 @@ Overview
|
|||||||
%prep
|
%prep
|
||||||
mkdir local
|
mkdir local
|
||||||
tar -C local -xzf ../SOURCES/go%{GO_VERSION}.linux-@GO_ARCH@.tar.gz
|
tar -C local -xzf ../SOURCES/go%{GO_VERSION}.linux-@GO_ARCH@.tar.gz
|
||||||
|
%autosetup -N -S git
|
||||||
# Patches
|
# Patches
|
||||||
@RPM_APPLY_PATCHES@
|
@RPM_APPLY_PATCHES@
|
||||||
|
|
||||||
%setup -q
|
|
||||||
%autosetup -S git
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export GOROOT=$HOME/rpmbuild/BUILD/local/go
|
export GOROOT=$HOME/rpmbuild/BUILD/local/go
|
||||||
|
Loading…
Reference in New Issue
Block a user