- added readline build requirement
- changed BUILDROOT
This commit is contained in:
parent
4161e55016
commit
3a774bf4b9
19
units.spec
19
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
|
Name: units
|
||||||
Version: 1.86
|
Version: 1.86
|
||||||
Release: 3%{?dist}
|
Release: 4%{?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
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Prereq: /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
|
BuildRequires: readline-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
|
||||||
@ -24,7 +26,8 @@ make
|
|||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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
|
gzip $RPM_BUILD_ROOT%{_infodir}/units.info
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -48,7 +51,11 @@ exit 0
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 1.86-3
|
* Tue Mar 20 2007 Harald Hoyer <harald@redhat.com> - 1.86-4%{?dist}
|
||||||
|
- added readline build requirement
|
||||||
|
- changed BUILDROOT
|
||||||
|
|
||||||
|
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 1.86-3%{?dist}
|
||||||
- fixed previous fix for rhbz#220533
|
- fixed previous fix for rhbz#220533
|
||||||
|
|
||||||
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com> - 1.86-2
|
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com> - 1.86-2
|
||||||
|
Loading…
Reference in New Issue
Block a user