[units/f18: 3/4] run the upstream smoke-test during build
Kamil Dudka
kdudka at fedoraproject.org
Fri Sep 7 15:30:30 UTC 2012
commit f10e86ad50f713c7dd31e827f822fd470fb9d4f8
Author: Kamil Dudka <kdudka at redhat.com>
Date: Fri Sep 7 17:24:10 2012 +0200
run the upstream smoke-test during build
units.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/units.spec b/units.spec
index e29db99..3c64057 100644
--- a/units.spec
+++ b/units.spec
@@ -1,7 +1,7 @@
Summary: A utility for converting amounts from one unit to another
Name: units
Version: 2.00
-Release: 3%{?dist}
+Release: 4%{?dist}
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
URL: http://www.gnu.org/software/units/units.html
License: GPLv3+
@@ -32,6 +32,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
gzip $RPM_BUILD_ROOT%{_infodir}/units.info
+%check
+make check
+
%post
if [ -e %{_infodir}/units.info.gz ]; then
/sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir || :
@@ -50,6 +53,9 @@ fi
%{_mandir}/man1/*
%changelog
+* Fri Sep 07 2012 Kamil Dudka <kdudka at redhat.com> - 2.00-4
+- run the upstream smoke-test during build
+
* Tue Aug 28 2012 Kamil Dudka <kdudka at redhat.com> - 2.00-3
- fix specfile issues reported by the fedora-review script
More information about the scm-commits
mailing list