| |
@@ -3,12 +3,11 @@
|
| |
Version: 3.1
|
| |
Release: 4%{?dist}
|
| |
Epoch: 1
|
| |
- Group: System Environment/Base
|
| |
License: GPLv2+
|
| |
- Source0: %{name}-%{version}.tar.xz
|
| |
+ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
|
| |
Patch0: 0001-dmidecode-Add-system-family-direct-string-option.patch
|
| |
URL: http://www.nongnu.org/dmidecode/
|
| |
- BuildRequires: automake autoconf
|
| |
+ BuildRequires: gcc make
|
| |
ExclusiveArch: %{ix86} x86_64 ia64 aarch64
|
| |
|
| |
%description
|
| |
@@ -27,7 +26,7 @@
|
| |
%patch0 -p1 -b .system-family
|
| |
|
| |
%build
|
| |
- make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
| |
+ make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
| |
|
| |
%install
|
| |
make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
|
| |
Removal of an old rusty part and bring it to up to today's standards.