diff --git a/dmidecode.spec b/dmidecode.spec index b4a3087f7c480988c7f0847fa06e1a77f15b50c4..02bbee3921c65a578115dc5904f7749456666e92 100644 --- a/dmidecode.spec +++ b/dmidecode.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: Tool to analyse BIOS DMI data Name: dmidecode Version: 3.2 -Release: 10%{?dist} +Release: 10%{anolis_release}%{?dist} Epoch: 1 License: GPLv2+ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz @@ -54,7 +55,7 @@ Patch43: RHELonly-Missing-comma-in-the-dmi_slot_type.patch Patch44: 0024-dmidecode-Fix-crash-with-u-option.patch BuildRequires: gcc make -ExclusiveArch: %{ix86} x86_64 ia64 aarch64 +ExclusiveArch: %{ix86} x86_64 ia64 aarch64 loongarch64 %description dmidecode reports information about x86 & ia64 hardware as described in the @@ -126,7 +127,7 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install- %{!?_licensedir:%global license %%doc} %license LICENSE %{_sbindir}/dmidecode -%ifnarch ia64 aarch64 +%ifnarch ia64 aarch64 loongarch64 %{_sbindir}/vpddecode %{_sbindir}/ownership %{_sbindir}/biosdecode @@ -134,6 +135,9 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install- %{_mandir}/man8/* %changelog +* Tue Aug 31 2021 yangxiaoxuan - 1:3.2-10.0.1 +- Support loongarch64 + * Fri Apr 9 2021 Coiby Xu - 1:3.2-10 - Fix crash with -u option - Resolves: rhbz#1885823