diff --git a/units.spec b/units.spec index 42c0efd..834e597 100644 --- a/units.spec +++ b/units.spec @@ -1,12 +1,14 @@ -Summary: A utility for converting amounts from one unit to another. +Summary: A utility for converting amounts from one unit to another Name: units Version: 1.86 -Release: 3%{?dist} +Release: 4%{?dist} Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz +URL: http://www.gnu.org/software/units/units.html License: GPL Group: Applications/Engineering -BuildRoot: %{_tmppath}/%{name}-root -Prereq: /sbin/install-info +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires(post): /sbin/install-info +BuildRequires: readline-devel %description Units converts an amount from one unit to another, or tells you what @@ -24,7 +26,8 @@ make %install rm -rf $RPM_BUILD_ROOT -%makeinstall datadir=$RPM_BUILD_ROOT/usr/share/ +make install DESTDIR=$RPM_BUILD_ROOT + gzip $RPM_BUILD_ROOT%{_infodir}/units.info %clean @@ -48,7 +51,11 @@ exit 0 %{_mandir}/man1/* %changelog -* Wed Jan 24 2007 Harald Hoyer - 1.86-3 +* Tue Mar 20 2007 Harald Hoyer - 1.86-4%{?dist} +- added readline build requirement +- changed BUILDROOT + +* Wed Jan 24 2007 Harald Hoyer - 1.86-3%{?dist} - fixed previous fix for rhbz#220533 * Tue Jan 23 2007 Florian La Roche - 1.86-2