Accepting request 287070 from home:pluskalm:branches:Base:System

- Cleanup spec file with spec-cleaner
- Add gpg signature

OBS-URL: https://build.opensuse.org/request/show/287070
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=28
This commit is contained in:
Marcus Meissner 2015-02-22 08:59:42 +00:00 committed by Git OBS Bridge
parent f9aebf59d7
commit 80517088de
4 changed files with 19 additions and 11 deletions

BIN
dmidecode-2.12.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 20 20:55:12 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Add gpg signature
-------------------------------------------------------------------
Mon Oct 13 14:00:09 CEST 2014 - jdelvare@suse.de

0
dmidecode.keyring Normal file
View File

View File

@ -1,7 +1,7 @@
#
# spec file for package dmidecode
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,23 +17,25 @@
Name: dmidecode
Url: http://www.nongnu.org/dmidecode/
Version: 2.12
Release: 0
Provides: pmtools:/usr/sbin/dmidecode
Summary: DMI table decoder
License: GPL-2.0+
Group: System/Console
Source: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2
Url: http://www.nongnu.org/dmidecode/
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2.sig
Source2: %{name}.keyring
Patch1: dmidecode-1.173-drop-cast.patch
Patch2: dmidecode-1.175-fix-SMBIOS-2.8.0.patch
Patch3: dmidecode-1.176-SMBIOS-2.8-is-supported.patch
Patch4: dmidecode-1.177-decode-pcie3-slot-id.patch
Patch5: dmidecode-1.181-decode-CPUID-recent-AMD.patch
Patch6: dmidecode-1.182-decode-ddr4-memory-type.patch
Provides: pmtools:%{_sbindir}/dmidecode
Obsoletes: pmtools < 20071117
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64
Obsoletes: pmtools < 20071117
%description
Dmidecode reports information about your system's hardware as described
@ -50,7 +52,7 @@ trusted. Dmidecode does not scan your hardware, it only reports what
the BIOS told it to.
%prep
%setup
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
@ -59,10 +61,10 @@ the BIOS told it to.
%patch6 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
make CFLAGS="%{optflags}" %{?_smp_mflags}
%install
install -dm 755 %{buildroot}/usr/sbin
install -dm 755 %{buildroot}%{_sbindir}
install -dm 755 %{buildroot}%{_mandir}/man8
install -dm 755 %{buildroot}%{_docdir}/%{name}
%ifarch ia64 %arm aarch64
@ -70,15 +72,15 @@ for i in dmidecode ; do
%else
for i in dmidecode vpddecode ownership biosdecode ; do
%endif
install -m 755 $i %{buildroot}/usr/sbin/
install -m 755 $i %{buildroot}%{_sbindir}/
install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/
install -m 644 AUTHORS CHANGELOG LICENSE README %{buildroot}%{_docdir}/%{name}/
done
%files
%defattr(-,root,root)
/usr/sbin/*
%{_sbindir}/*
%doc %{_docdir}/%{name}
/%{_mandir}/man8/*
%{_mandir}/man8/*
%changelog