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