Spec file cleanup

This commit is contained in:
Robert Scheck 2021-01-18 00:46:43 +00:00
parent 04cccb08c8
commit f1811449a5

View File

@ -4,7 +4,7 @@ Version: 3.2
Release: 8%{?dist}
Epoch: 1
License: GPLv2+
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
Patch0: 0001-dmidecode-Fix-Redfish-Hostname-print-length.patch
Patch1: 0002-dmidecode-Don-t-use-memcpy-on-dev-mem-on-arm64.patch
Patch2: 0003-dmidecode-Use-the-most-appropriate-unit-for-cache-si.patch
@ -23,7 +23,7 @@ Patch14: 0015-dmidecode-Fix-System-Slot-Information-for-PCIe-SSD.patch
Patch15: 0016-Typo.patch
Patch16: 0017-dmidecode-Add-enumerated-values-from-SMBIOS-3.3.0.patch
Patch17: 0018-dmidecode-Decode-system-slot-base-bus-width-and-peer.patch
URL: http://www.nongnu.org/dmidecode/
URL: https://www.nongnu.org/dmidecode/
BuildRequires: gcc make
ExclusiveArch: %{ix86} x86_64 ia64 aarch64
@ -67,7 +67,6 @@ I/O ports (e.g. serial, parallel, USB).
%files
%doc AUTHORS NEWS README
%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_sbindir}/dmidecode
%ifnarch ia64 aarch64