Correct SPDX license formula

The operators in the SPDX formula have to be upper case.
This commit is contained in:
Miroslav Suchý 2023-09-24 06:32:39 +00:00
parent 04a4f0020f
commit 7cda606175

View File

@ -45,7 +45,7 @@ Name: edk2
Version: %{GITDATE} Version: %{GITDATE}
Release: %autorelease Release: %autorelease
Summary: UEFI firmware for 64-bit virtual machines Summary: UEFI firmware for 64-bit virtual machines
License: BSD-2-Clause-Patent and Apache-2.0 and MIT License: BSD-2-Clause-Patent AND Apache-2.0 AND MIT
URL: http://www.tianocore.org URL: http://www.tianocore.org
# The source tarball is created using following commands: # The source tarball is created using following commands:
@ -169,7 +169,7 @@ Conflicts: libvirt-daemon-driver-qemu < 9.7.0
# OVMF includes the Secure Boot and IPv6 features; it has a builtin OpenSSL # OVMF includes the Secure Boot and IPv6 features; it has a builtin OpenSSL
# library. # library.
Provides: bundled(openssl) = %{OPENSSL_VER} Provides: bundled(openssl) = %{OPENSSL_VER}
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
# URL taken from the Maintainers.txt file. # URL taken from the Maintainers.txt file.
URL: http://www.tianocore.org/ovmf/ URL: http://www.tianocore.org/ovmf/
@ -191,7 +191,7 @@ Conflicts: libvirt-daemon-driver-qemu < 9.7.0
# No Secure Boot for AAVMF yet, but we include OpenSSL for the IPv6 stack. # No Secure Boot for AAVMF yet, but we include OpenSSL for the IPv6 stack.
Provides: bundled(openssl) = %{OPENSSL_VER} Provides: bundled(openssl) = %{OPENSSL_VER}
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
# URL taken from the Maintainers.txt file. # URL taken from the Maintainers.txt file.
URL: https://github.com/tianocore/tianocore.github.io/wiki/ArmVirtPkg URL: https://github.com/tianocore/tianocore.github.io/wiki/ArmVirtPkg
@ -228,7 +228,7 @@ environment for the UEFI and PI specifications. This package contains sample
%if %{defined fedora} %if %{defined fedora}
%package ovmf-ia32 %package ovmf-ia32
Summary: Open Virtual Machine Firmware Summary: Open Virtual Machine Firmware
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
Provides: bundled(openssl) Provides: bundled(openssl)
BuildArch: noarch BuildArch: noarch
%description ovmf-ia32 %description ovmf-ia32
@ -237,7 +237,7 @@ Open Virtual Machine Firmware (ia32)
%package ovmf-xen %package ovmf-xen
Summary: Open Virtual Machine Firmware, Xen build Summary: Open Virtual Machine Firmware, Xen build
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
Provides: bundled(openssl) Provides: bundled(openssl)
BuildArch: noarch BuildArch: noarch
%description ovmf-xen %description ovmf-xen
@ -246,7 +246,7 @@ Open Virtual Machine Firmware (Xen build)
%package experimental %package experimental
Summary: Open Virtual Machine Firmware, experimental builds Summary: Open Virtual Machine Firmware, experimental builds
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
Provides: bundled(openssl) Provides: bundled(openssl)
Obsoletes: edk2-ovmf-experimental < 20230825 Obsoletes: edk2-ovmf-experimental < 20230825
BuildArch: noarch BuildArch: noarch
@ -257,7 +257,7 @@ Open Virtual Machine Firmware (experimental builds)
%package arm %package arm
Summary: ARM Virtual Machine Firmware Summary: ARM Virtual Machine Firmware
BuildArch: noarch BuildArch: noarch
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
%description arm %description arm
EFI Development Kit II EFI Development Kit II
ARMv7 UEFI Firmware ARMv7 UEFI Firmware
@ -265,7 +265,7 @@ ARMv7 UEFI Firmware
%package riscv64 %package riscv64
Summary: RISC-V Virtual Machine Firmware Summary: RISC-V Virtual Machine Firmware
BuildArch: noarch BuildArch: noarch
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
# need libvirt version with qcow2 support # need libvirt version with qcow2 support
Conflicts: libvirt-daemon-driver-qemu < 9.7.0 Conflicts: libvirt-daemon-driver-qemu < 9.7.0
@ -276,7 +276,7 @@ RISC-V UEFI Firmware
%package ext4 %package ext4
Summary: Ext4 filesystem driver Summary: Ext4 filesystem driver
License: BSD-2-Clause-Patent and Apache-2.0 License: BSD-2-Clause-Patent AND Apache-2.0
BuildArch: noarch BuildArch: noarch
%description ext4 %description ext4
EFI Development Kit II EFI Development Kit II