fix paths

This commit is contained in:
Dave Jones 2005-03-02 20:01:41 +00:00
parent 3372fdb7a3
commit 2f9bf62f94

View File

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