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 Summary: A utility for converting amounts from one unit to another
Name: units Name: units
Version: 1.86 Version: 1.86
Release: 4%{?dist} Release: 5%{?dist}
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
URL: http://www.gnu.org/software/units/units.html URL: http://www.gnu.org/software/units/units.html
License: GPL License: GPL
Group: Applications/Engineering Group: Applications/Engineering
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
BuildRequires: readline-devel Requires(preun): /sbin/install-info
BuildRequires: readline-devel ncurses-devel
%description %description
Units converts an amount from one unit to another, or tells you what Units converts an amount from one unit to another, or tells you what
@ -45,12 +46,16 @@ exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog COPYING NEWS README
%{_bindir}/* %{_bindir}/*
%{_datadir}/units.dat %{_datadir}/units.dat
%{_infodir}/* %{_infodir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %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} * Tue Mar 20 2007 Harald Hoyer <harald@redhat.com> - 1.86-4%{?dist}
- added readline build requirement - added readline build requirement
- changed BUILDROOT - changed BUILDROOT