[iwhd/f16] package iwhd.service; run make check in parallel
Jim Meyering
meyering at fedoraproject.org
Thu Dec 1 20:13:16 UTC 2011
commit e38d16ca4d3153fe8fb4ba465241e83f2c0ce69f
Author: Jim Meyering <meyering at redhat.com>
Date: Thu Dec 1 21:13:07 2011 +0100
package iwhd.service; run make check in parallel
iwhd.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/iwhd.spec b/iwhd.spec
index 4f7fe41..309ca29 100644
--- a/iwhd.spec
+++ b/iwhd.spec
@@ -30,6 +30,9 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: help2man
+# this defines %{_unitdir}
+BuildRequires: systemd-units
+
# mongodb-server is required at build time so make check succeeds
BuildRequires: mongodb-server
@@ -50,7 +53,7 @@ make install DESTDIR=%{buildroot}
%find_lang %{name}
%check
-make check VERBOSE=yes
+make %{?_smp_mflags} check VERBOSE=yes
%clean
rm -rf %{buildroot}
@@ -70,10 +73,13 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/logrotate.d/iwhd
%config(noreplace) %{_sysconfdir}/sysconfig/iwhd
%{_localstatedir}/lib/iwhd
+%{_unitdir}/iwhd.service
%changelog
* Thu Dec 1 2011 Jim Meyering <meyering at redhat.com> - 1.1-1
-- new release, with Pete's "make check"-enabling patch from rawhide
+- new release
+- include Pete's "make check"-enabling patch from rawhide
+- package iwhd.service
* Thu Oct 31 2011 Jim Meyering <meyering at redhat.com> - 1.0-1
- new release
More information about the scm-commits
mailing list