Added autoreconf (fixes building in koji)

This commit is contained in:
Jiří Moskovčák 2009-07-01 13:05:01 +00:00
parent 3a351c870a
commit fe7f7c5a7c
1 changed files with 6 additions and 2 deletions

View File

@ -1,13 +1,13 @@
Name: usbutils
Version: 0.82
Release: 2%{?dist}
Release: 3%{?dist}
Source: http://downloads.sourceforge.net/linux-usb/%{name}-%{version}.tar.gz
URL: http://www.linux-usb.org/
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: hwdata
BuildRequires: libtool, libusb-devel >= 0.1.8
BuildRequires: autoconf, libtool, libusb-devel >= 0.1.8
Summary: Linux USB utilities
Group: Applications/System
Conflicts: hotplug < 3:2002_01_14-2
@ -21,6 +21,7 @@ USB bus.
%prep
%setup -q
%patch0 -p1
autoreconf
%build
%configure --sbindir=/sbin
@ -44,6 +45,9 @@ sed -i 's|usbids=/usr/share/usb.ids|usbids=/usr/share/hwdata/usb.ids|' $RPM_BUIL
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jul 1 2009 Jiri Moskovcak <jmoskovc@rdhat.com> 0.82-3
- added autoconf to fix build in koji
* Wed Jul 1 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.82-2
- minor fix in Makefile.am to properly find usb.ids from hwdata
- Resolves: #506974