fix paths
This commit is contained in:
parent
3372fdb7a3
commit
2f9bf62f94
@ -1,11 +1,11 @@
|
||||
Summary: Tool to analyse BIOS DMI data.
|
||||
Name: dmidecode
|
||||
Version: 2.6
|
||||
Release: %(R="$Revision: 1.10 $"; RR="${R##: }"; echo ${RR%%?})
|
||||
Release: %(R="$Revision: 1.11 $"; RR="${R##: }"; echo ${RR%%?})
|
||||
Epoch: 1
|
||||
Group: System Environment/Base
|
||||
License: GPL
|
||||
Source0: dmidecode-2.5.tar.gz
|
||||
Source0: dmidecode-2.6.tar.gz
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildPreReq: /usr/bin/aclocal /usr/bin/automake /usr/bin/autoconf
|
||||
ExclusiveArch: i386 x86_64 ia64
|
||||
@ -20,12 +20,12 @@ dmidecode decodes the DMI data present in x86 and IA64 BIOS's.
|
||||
%build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}/usr/sbin
|
||||
cd dmidecode-2.5
|
||||
cd dmidecode-2.6
|
||||
make CFLAGS="$RPM_OPT_FLAGS"
|
||||
cd ..
|
||||
|
||||
%install
|
||||
cd dmidecode-2.5
|
||||
cd dmidecode-2.6
|
||||
install dmidecode %{buildroot}/usr/sbin
|
||||
install vpddecode %{buildroot}/usr/sbin
|
||||
%ifarch %{ix86}
|
||||
|
Loading…
Reference in New Issue
Block a user