Browse Source

* dmidecode: new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8165 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 10 years ago
parent
commit
e83eac863a
1 changed files with 10 additions and 4 deletions
  1. 10 4
      d/dmidecode/dmidecode-vl.spec

+ 10 - 4
d/dmidecode/dmidecode-vl.spec

@@ -1,12 +1,13 @@
 Summary:        Tool to analyse BIOS DMI data.
 Summary(ja):	BIOS DMI データを表示するツール
 Name:           dmidecode
-Version:        2.11
+Version:        2.12
 Release: 	1%{?_dist_release}
 Group:          System Environment/Base
 License:        GPL
 Source0:	http://download.savannah.gnu.org/releases/dmidecode/dmidecode-%{version}.tar.bz2
 URL:		http://www.nongnu.org/dmidecode/
+Patch0:		dmidecode-2.12-smbios_fix.patch
 Buildroot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires: 	automake, autoconf
 ExclusiveArch:	%{ix86} x86_64 ia64
@@ -37,19 +38,20 @@ BIOS のバージョンなど、数多くの詳細なハードウェア情報が
 
 %prep
 %setup -q
+%patch0 -p1 -b .smbios_fix
 
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 make DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %files
@@ -65,6 +67,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jan 13 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.12-1
+- new upstream release
+- import patch0 from Fedora
+
 * Fri Apr 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11-1
 - update to 2.11