From 3a774bf4b9c19ff73c53959fa540b39b27753d75 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 20 Mar 2007 14:01:41 +0000 Subject: [PATCH] - added readline build requirement - changed BUILDROOT --- units.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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