run the upstream smoke-test during build
This commit is contained in:
parent
74fa5deb3c
commit
bcbbd7c352
@ -1,7 +1,7 @@
|
|||||||
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: 2.00
|
Version: 2.00
|
||||||
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
|
URL: http://www.gnu.org/software/units/units.html
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -32,6 +32,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
gzip $RPM_BUILD_ROOT%{_infodir}/units.info
|
gzip $RPM_BUILD_ROOT%{_infodir}/units.info
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -e %{_infodir}/units.info.gz ]; then
|
if [ -e %{_infodir}/units.info.gz ]; then
|
||||||
/sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir || :
|
||||||
@ -50,6 +53,9 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 07 2012 Kamil Dudka <kdudka@redhat.com> - 2.00-4
|
||||||
|
- run the upstream smoke-test during build
|
||||||
|
|
||||||
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 2.00-3
|
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 2.00-3
|
||||||
- fix specfile issues reported by the fedora-review script
|
- fix specfile issues reported by the fedora-review script
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user