disable python2

This commit is contained in:
jackie_wu 2020-10-29 19:48:20 +08:00
parent 4e2ab1e8fa
commit ece3a4aa89

View File

@ -1,20 +1,16 @@
%define _default_patch_fuzz 2 %define _default_patch_fuzz 2
Name: vboot-utils Name: vboot-utils
Version: 20180531 Version: 20180531
Release: 4 Release: 5
Summary: Chromium OS verified boot utility Summary: Chromium OS verified boot utility
License: BSD License: BSD
URL: https://chromium.googlesource.com/chromiumos/platform/vboot_reference URL: https://chromium.googlesource.com/chromiumos/platform/vboot_reference
ExclusiveArch: aarch64 x86_64 ExclusiveArch: aarch64 x86_64
# https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/2cc35b0f31fe1cf69ce6781e7d502f07c64c93c9.tar.gz
Source0: %{name}-2cc35b0.tar.xz Source0: %{name}-2cc35b0.tar.xz
Patch0001: vboot-utils-00-disable-static-linking.patch Patch0001: vboot-utils-00-disable-static-linking.patch
Patch0002: vboot-utils-cflags.patch Patch0002: vboot-utils-cflags.patch
Patch0003: 0001-fix-unaligned-point-value-with-GCC9.patch Patch0003: 0001-fix-unaligned-point-value-with-GCC9.patch
BuildRequires: gcc-c++ openssl-devel trousers-devel libyaml-devel xz-devel libuuid-devel python3
BuildRequires: gcc-c++ openssl-devel trousers-devel libyaml-devel xz-devel libuuid-devel python2
%description %description
Verify boot is a collection of utilities for chromebook computers. Package and sign the kernel and Verify boot is a collection of utilities for chromebook computers. Package and sign the kernel and
manage gpt partitions. manage gpt partitions.
@ -26,11 +22,9 @@ manage gpt partitions.
%ifarch aarch64 %ifarch aarch64
%global ARCH arm %global ARCH arm
%endif %endif
%ifarch x86_64 %ifarch x86_64
%global ARCH x86_64 %global ARCH x86_64
%endif %endif
%make_build V=1 ARCH=%{ARCH} COMMON_FLAGS="$RPM_OPT_FLAGS" %make_build V=1 ARCH=%{ARCH} COMMON_FLAGS="$RPM_OPT_FLAGS"
%install %install
@ -46,6 +40,9 @@ make runtests || true
/usr/lib/pkgconfig/ /usr/lib/pkgconfig/
%changelog %changelog
* Tue Oct 27 2020 Anan Fu <fuanan3@huawei.com> - 20180531-5
- disable python2
* Wed Jan 8 2020 leiju <leiju4@huawei.com> - 20180531-4 * Wed Jan 8 2020 leiju <leiju4@huawei.com> - 20180531-4
- fix unaligned point value with GCC9 - fix unaligned point value with GCC9