Generate the configure script if it doesn't exist
This commit is contained in:
parent
8c0bff29ad
commit
876c1554b1
@ -1,6 +1,6 @@
|
|||||||
Name: biosdevname
|
Name: biosdevname
|
||||||
Version: 0.3.11
|
Version: 0.3.11
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -29,6 +29,9 @@ name (e.g. eth0).
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
#If configure script doesn't exist generate it with autogen script
|
||||||
|
[ -e ./configure ] || ./autogen.sh
|
||||||
|
|
||||||
# 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
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -51,6 +54,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-3
|
||||||
|
- Generating the configure script if it doesn't exist
|
||||||
|
|
||||||
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-2
|
* Tue Oct 4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-2
|
||||||
- Fixed the dir structure inside the archive
|
- Fixed the dir structure inside the archive
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user