fix specfile issues reported by the fedora-review script
This commit is contained in:
parent
4ecd836dce
commit
74fa5deb3c
12
units.spec
12
units.spec
@ -1,12 +1,11 @@
|
||||
Summary: A utility for converting amounts from one unit to another
|
||||
Name: units
|
||||
Version: 2.00
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
|
||||
URL: http://www.gnu.org/software/units/units.html
|
||||
License: GPLv3+
|
||||
Group: Applications/Engineering
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
BuildRequires: bison
|
||||
@ -29,15 +28,10 @@ well as conversions such as Fahrenheit to Celsius.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
gzip $RPM_BUILD_ROOT%{_infodir}/units.info
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
if [ -e %{_infodir}/units.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir || :
|
||||
@ -49,7 +43,6 @@ if [ $1 = 0 -a -e %{_infodir}/units.info.gz ]; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog COPYING NEWS README
|
||||
%{_bindir}/*
|
||||
%{_datadir}/units
|
||||
@ -57,6 +50,9 @@ fi
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 2.00-3
|
||||
- fix specfile issues reported by the fedora-review script
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user