build fixes
This commit is contained in:
parent
8e813c5172
commit
9f15ae0d36
@ -18,18 +18,13 @@ 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
|
||||||
mkdir -p %{buildroot}/usr/man
|
|
||||||
|
|
||||||
cd dmidecode-2.5
|
cd dmidecode-2.5
|
||||||
make
|
make
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/usr/share/man/man{1,8}
|
cd dmidecode-2.5
|
||||||
|
|
||||||
cd ../dmidecode-2.5
|
|
||||||
install dmidecode %{buildroot}/usr/sbin
|
install dmidecode %{buildroot}/usr/sbin
|
||||||
install vpddecode %{buildroot}/usr/sbin
|
install vpddecode %{buildroot}/usr/sbin
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
|
Loading…
Reference in New Issue
Block a user