o start using %configure instead of calling configure directly

This commit is contained in:
alewis 2005-02-09 16:50:31 +00:00
parent 7fa2302408
commit 3a3c9acaa0

View File

@ -1,7 +1,7 @@
Summary: sysfsutils, library interface to sysfs.
Name: sysfsutils
Version: 1.2.0
Release: 2
Release: 3
Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-redhatify.patch
License: GPL/LGPL
@ -29,11 +29,11 @@ to build programs using the libsysfs API.
%patch0 -p1 -b .redhatify
%build
./configure --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir}
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
rm -fr %{buildroot}
make DESTDIR=$RPM_BUILD_ROOT install
@ -64,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Feb 09 2005 AJ Lewis <alewis@redhat.com> 1.2.0-3
- start using %configure instead of calling configure directly
* Wed Feb 09 2005 AJ Lewis <alewis@redhat.com> 1.2.0-2
- rebuild