Adding autoconf to buildrequires.
This commit is contained in:
parent
876c1554b1
commit
8da72ff773
@ -1,6 +1,6 @@
|
||||
Name: biosdevname
|
||||
Version: 0.3.11
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Udev helper for naming devices per BIOS names
|
||||
|
||||
Group: System Environment/Base
|
||||
@ -15,6 +15,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
BuildRequires: pciutils-devel, zlib-devel
|
||||
# to figure out how to name the rules file
|
||||
BuildRequires: udev
|
||||
#To generate the configure script
|
||||
BuildRequires: autoconf
|
||||
# for ownership of /etc/udev/rules.d
|
||||
Requires: udev
|
||||
|
||||
@ -30,7 +32,7 @@ name (e.g. eth0).
|
||||
|
||||
%build
|
||||
#If configure script doesn't exist generate it with autogen script
|
||||
[ -e ./configure ] || ./autogen.sh
|
||||
[ -e ./configure ] || ./autogen.sh --no-configure
|
||||
|
||||
# this is a udev rule, so it needs to live in / rather than /usr
|
||||
%configure --disable-rpath --prefix=/ --sbindir=/sbin
|
||||
@ -54,6 +56,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-4
|
||||
- Added autoconf as a build dependency
|
||||
|
||||
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-3
|
||||
- Generating the configure script if it doesn't exist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user