#1 Clean up spec file
Merged 6 years ago by aarapov. Opened 6 years ago by msuchy.
rpms/ msuchy/dmidecode cleanup  into  master

file modified
+3 -4
@@ -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.

Pull-Request has been merged by aarapov

6 years ago
Metadata