- A few more cleanups after discussion with reviewer.
- Resolves: #225679
This commit is contained in:
parent
31b394f044
commit
7fc08c8c92
17
dejagnu.spec
17
dejagnu.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A front end for testing other programs
|
Summary: A front end for testing other programs
|
||||||
Name: dejagnu
|
Name: dejagnu
|
||||||
Version: 1.4.4
|
Version: 1.4.4
|
||||||
Release: 9
|
Release: 10
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
|
||||||
@ -34,15 +34,14 @@ into software development).
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
echo ============TESTING===============
|
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
|
# terminal for that. That doesn't compute in mock. Work around it by
|
||||||
# running the test under screen and communicating back to test runner
|
# running the test under screen and communicating back to test runner
|
||||||
# via temporary file. If you come with better method, please do tell.
|
# via temporary file. If you come with better method, please do tell.
|
||||||
TMP=`mktemp` || exit 1
|
TMP=`mktemp` || exit 1
|
||||||
screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP
|
screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP
|
||||||
RESULT=`tail -n 1 $TMP`
|
RESULT=`tail -n 1 $TMP`
|
||||||
[ $RESULT != 0 ] && cat $TMP
|
cat $TMP
|
||||||
rm -f $TMP
|
|
||||||
echo ============END TESTING===========
|
echo ============END TESTING===========
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
|
||||||
@ -50,11 +49,7 @@ exit $RESULT
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
|
chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
|
||||||
|
make -C doc DESTDIR=$RPM_BUILD_ROOT install-man
|
||||||
pushd doc
|
|
||||||
make docs
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install-man
|
|
||||||
popd
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -68,6 +63,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 4 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-10
|
||||||
|
- A few more cleanups after discussion with reviewer.
|
||||||
|
- Resolves: #225679
|
||||||
|
|
||||||
* Wed Oct 3 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-9
|
* Wed Oct 3 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-9
|
||||||
- Clean up spec per merge review comments.
|
- Clean up spec per merge review comments.
|
||||||
- Fix testsuite.
|
- Fix testsuite.
|
||||||
|
Loading…
Reference in New Issue
Block a user