rpms/dejagnu/devel dejagnu.spec,1.5,1.6
Petr Machata (pmachata)
fedora-extras-commits at redhat.com
Thu Oct 4 15:05:53 UTC 2007
Author: pmachata
Update of /cvs/pkgs/rpms/dejagnu/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24255
Modified Files:
dejagnu.spec
Log Message:
- A few more cleanups after discussion with reviewer.
- Resolves: #225679
Index: dejagnu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dejagnu/devel/dejagnu.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dejagnu.spec 3 Oct 2007 21:47:51 -0000 1.5
+++ dejagnu.spec 4 Oct 2007 15:05:21 -0000 1.6
@@ -1,7 +1,7 @@
Summary: A front end for testing other programs
Name: dejagnu
Version: 1.4.4
-Release: 9
+Release: 10
Epoch: 1
License: GPLv2+
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
@@ -34,15 +34,14 @@
%check
echo ============TESTING===============
-# Dejagnu needs to report to user occasionally, and it needs a
+# Dejagnu test suite also has to test reporting to user. It needs a
# terminal for that. That doesn't compute in mock. Work around it by
# running the test under screen and communicating back to test runner
# via temporary file. If you come with better method, please do tell.
TMP=`mktemp` || exit 1
screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP
RESULT=`tail -n 1 $TMP`
-[ $RESULT != 0 ] && cat $TMP
-rm -f $TMP
+cat $TMP
echo ============END TESTING===========
exit $RESULT
@@ -50,11 +49,7 @@
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
-
-pushd doc
-make docs
-make DESTDIR=$RPM_BUILD_ROOT install-man
-popd
+make -C doc DESTDIR=$RPM_BUILD_ROOT install-man
%clean
rm -rf $RPM_BUILD_ROOT
@@ -68,6 +63,10 @@
%{_mandir}/*/*
%changelog
+* Thu Oct 4 2007 Petr Machata <pmachata at redhat.com> - 1:1.4.4-10
+- A few more cleanups after discussion with reviewer.
+- Resolves: #225679
+
* Wed Oct 3 2007 Petr Machata <pmachata at redhat.com> - 1:1.4.4-9
- Clean up spec per merge review comments.
- Fix testsuite.
More information about the fedora-extras-commits
mailing list