[dmidecode] dmidecode supported on aarch64

Peter Robinson pbrobinson at fedoraproject.org
Sat Oct 25 13:09:16 UTC 2014


commit bcf64fb469069e3be99570b67390d8b34e7f8e29
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat Oct 25 14:08:54 2014 +0100

    dmidecode supported on aarch64

 dmidecode.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/dmidecode.spec b/dmidecode.spec
index 3ce0396..21dec34 100644
--- a/dmidecode.spec
+++ b/dmidecode.spec
@@ -1,16 +1,15 @@
 Summary:        Tool to analyse BIOS DMI data
 Name:           dmidecode
 Version:        2.12
-Release:        7%{?dist}
+Release:        8%{?dist}
 Epoch:          1
 Group:          System Environment/Base
 License:        GPLv2+
 Source0:        %{name}-%{version}.tar.bz2
 URL:            http://www.nongnu.org/dmidecode/
 Patch0:         dmidecode-2.12-smbios_fix.patch
-Buildroot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  automake autoconf
-ExclusiveArch:  %{ix86} x86_64 ia64
+ExclusiveArch:  %{ix86} x86_64 ia64 aarch64
 
 %description
 dmidecode reports information about x86 & ia64 hardware as described in the
@@ -31,19 +30,14 @@ I/O ports (e.g. serial, parallel, USB).
 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
 
 %install
-rm -rf ${buildroot}
 make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
 
-%clean
-rm -rf ${buildroot}
-
 %files
-%defattr(-,root,root)
 %doc AUTHORS CHANGELOG README
 %{!?_licensedir:%global license %%doc}
 %license LICENSE
 %{_sbindir}/dmidecode
-%ifnarch ia64
+%ifnarch ia64 aarch64
 %{_sbindir}/vpddecode
 %{_sbindir}/ownership
 %{_sbindir}/biosdecode
@@ -51,6 +45,9 @@ rm -rf ${buildroot}
 %{_mandir}/man8/*
 
 %changelog
+* Sat Oct 25 2014 Peter Robinson <pbrobinson at fedoraproject.org> 1:2.12-8
+- dmidecode supported on aarch64
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:2.12-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list