Accepting request 287266 from Base:System

- dmidecode.keyring was empty, reference the savannah keyring.
  but the tarball is signed by someone unknown without gpg signatures,
  so no keyring for now.

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

OBS-URL: https://build.opensuse.org/request/show/287266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmidecode?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2015-02-27 10:03:35 +00:00 committed by Git OBS Bridge
commit e8bb7e3272
3 changed files with 28 additions and 11 deletions

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

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Feb 22 09:07:28 UTC 2015 - meissner@suse.com
- dmidecode.keyring was empty, reference the savannah keyring.
but the tarball is signed by someone unknown without gpg signatures,
so no keyring for now.
-------------------------------------------------------------------
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 Mon Oct 13 14:00:09 CEST 2014 - jdelvare@suse.de

View File

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