more specfile cleanups

This commit is contained in:
Harald Hoyer 2007-03-23 13:37:45 +00:00
parent 3a774bf4b9
commit 81b709d45e

View File

@ -1,14 +1,15 @@
Summary: A utility for converting amounts from one unit to another
Name: units
Version: 1.86
Release: 4%{?dist}
Release: 5%{?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}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/install-info
BuildRequires: readline-devel
Requires(preun): /sbin/install-info
BuildRequires: readline-devel ncurses-devel
%description
Units converts an amount from one unit to another, or tells you what
@ -45,12 +46,16 @@ exit 0
%files
%defattr(-,root,root)
%doc ChangeLog COPYING NEWS README
%{_bindir}/*
%{_datadir}/units.dat
%{_infodir}/*
%{_mandir}/man1/*
%changelog
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 1.86-5%{?dist}
- more specfile cleanups
* Tue Mar 20 2007 Harald Hoyer <harald@redhat.com> - 1.86-4%{?dist}
- added readline build requirement
- changed BUILDROOT