Blame SPECS/dejagnu.spec

e1a0f8
Summary: A front end for testing other programs
e1a0f8
Name: dejagnu
e1a0f8
Version: 1.6.1
e1a0f8
Release: 13%{?dist}
e1a0f8
Epoch: 1
e1a0f8
License: GPLv3+
e1a0f8
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
e1a0f8
URL: http://www.gnu.org/software/dejagnu/
e1a0f8
Requires: expect
e1a0f8
BuildArch: noarch
e1a0f8
BuildRequires:  gcc
e1a0f8
BuildRequires:  gcc-c++
e1a0f8
BuildRequires: expect texinfo
e1a0f8
BuildRequires: make
e1a0f8
e1a0f8
Patch0: dejagnu-1.6-runtest.patch
e1a0f8
e1a0f8
%description
e1a0f8
DejaGnu is an Expect/Tcl based framework for testing other programs.
e1a0f8
DejaGnu has several purposes: to make it easy to write tests for any
e1a0f8
program; to allow you to write tests which will be portable to any
e1a0f8
host or target where a program must be tested; and to standardize the
e1a0f8
output format of all tests (making it easier to integrate the testing
e1a0f8
into software development).
e1a0f8
e1a0f8
%prep
e1a0f8
%setup -q
e1a0f8
%patch0 -p1 -b .runtest~
e1a0f8
e1a0f8
%build
e1a0f8
%configure -v
e1a0f8
e1a0f8
%check
e1a0f8
echo ============TESTING===============
e1a0f8
# Dejagnu test suite also has to test reporting to user.  It needs a
e1a0f8
# terminal for that.  That doesn't compute in mock.  Work around it by
e1a0f8
# running the test under screen and communicating back to test runner
e1a0f8
# via temporary file.  If you have better idea, we accept patches.
e1a0f8
TMP=`mktemp`
e1a0f8
export SCREENDIR=`mktemp -d`
e1a0f8
(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> $TMP
e1a0f8
RESULT=`tail -n 1 $TMP`
e1a0f8
cat $TMP
e1a0f8
rm -f $TMP
e1a0f8
rm -rf $SCREENDIR
e1a0f8
echo ============END TESTING===========
e1a0f8
exit $RESULT
e1a0f8
e1a0f8
%install
e1a0f8
make DESTDIR=$RPM_BUILD_ROOT install
e1a0f8
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
e1a0f8
chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
e1a0f8
make DESTDIR=$RPM_BUILD_ROOT install-man
e1a0f8
install -D -m 644 doc/dejagnu.info $RPM_BUILD_ROOT/%{_infodir}/%{name}.info
e1a0f8
e1a0f8
%files
e1a0f8
%doc COPYING NEWS README AUTHORS ChangeLog doc/dejagnu.texi
e1a0f8
%{_bindir}/runtest
e1a0f8
%{_datadir}/dejagnu
e1a0f8
%{_includedir}/dejagnu.h
e1a0f8
%{_mandir}/*/*
e1a0f8
%{_infodir}/dejagnu*
e1a0f8
e1a0f8
%changelog
e1a0f8
* Wed Aug 11 2021 Marek Polacek <polacek@redhat.com> - 1:1.6.1-13
e1a0f8
- re-apply dejagnu-1.6-runtest.patch (#1990804)
e1a0f8
e1a0f8
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.1-12
e1a0f8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
e1a0f8
  Related: rhbz#1991688
e1a0f8
e1a0f8
* Thu May 20 2021 Marek Polacek <polacek@redhat.com> - 1:1.6.1-11
e1a0f8
- Remove screen build dependency (#1962907)
e1a0f8
e1a0f8
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.1-10
e1a0f8
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
e1a0f8
e1a0f8
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-9
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e1a0f8
e1a0f8
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-8
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e1a0f8
e1a0f8
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-7
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e1a0f8
e1a0f8
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-6
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e1a0f8
e1a0f8
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-5
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e1a0f8
e1a0f8
* Tue Jul 24 2018 Matej Mužila <mmuzila@redhat.com> - 1:1.6.1-4
e1a0f8
- Fix tests
e1a0f8
- Add BuildRequires: gcc-c++
e1a0f8
- Resolves: #1603770
e1a0f8
e1a0f8
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-3
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e1a0f8
e1a0f8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-2
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e1a0f8
e1a0f8
* Tue Jan 23 2018 Matej Mužila <mmuzila@redhat.com> - 1:1.6.1-1
e1a0f8
- Update to 1.6.1
e1a0f8
e1a0f8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6-3
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e1a0f8
e1a0f8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6-2
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e1a0f8
e1a0f8
* Thu Apr 21 2016 Matej Mužila <mmuzila@redhat.com> - 1:1.6-1
e1a0f8
- Rebase to new upstream version
e1a0f8
e1a0f8
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.3-4
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e1a0f8
e1a0f8
* Mon Aug 31 2015 Matej Muzila <mmuzila@redhat.com> 1:1.5.3-3
e1a0f8
- Backport upstream patch making dejagnu not to kill wrong process due to
e1a0f8
  PID-reuse races
e1a0f8
- Resolves rhbz#1258142
e1a0f8
e1a0f8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.3-2
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e1a0f8
e1a0f8
* Tue Mar 31 2015 Matej Muzila <mmuzila@redhat.com> 1:1.5.3-1
e1a0f8
- Update to 1.5.3
e1a0f8
e1a0f8
* Thu Feb 12 2015 Matej Muzila <mmuzila@redhat.com> 1:1.5.2-1
e1a0f8
- Update to 1.5.2
e1a0f8
e1a0f8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.1-4
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e1a0f8
e1a0f8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.1-3
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e1a0f8
e1a0f8
* Mon Mar 25 2013 Honza Horak <hhorak@redhat.com> - 1:1.5.1-2
e1a0f8
- add aarch64 support into config.guess and config.sub
e1a0f8
e1a0f8
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> - 1:1.5.1-1
e1a0f8
- Update to 1.5.1
e1a0f8
e1a0f8
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-7
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e1a0f8
e1a0f8
* Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> 1:1.5-6
e1a0f8
- Spec file cleanup
e1a0f8
- Use dejagnu.texi from upstream source
e1a0f8
e1a0f8
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-5
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e1a0f8
e1a0f8
* Mon May 14 2012 Honza Horak <hhorak@redhat.com> 1:1.5-4
e1a0f8
- gfortran support added
e1a0f8
  Resolves: #635651
e1a0f8
e1a0f8
* Thu Mar 15 2012 Honza Horak <hhorak@redhat.com> 1:1.5-3
e1a0f8
- fixed search runtest.exp after usrmove
e1a0f8
  Resolves: #788811
e1a0f8
e1a0f8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-2
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e1a0f8
e1a0f8
* Tue Mar 22 2011 Honza Horak <hhorak@redhat.com> 1:1.5-1
e1a0f8
- Update to 1.5, license changed to GPLv3+
e1a0f8
e1a0f8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.4-18
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e1a0f8
e1a0f8
* Fri Jan 22 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4.4-17
e1a0f8
- added utils speedup patch from jakub@redhat.com
e1a0f8
- Resolves: #557564
e1a0f8
e1a0f8
* Fri Oct 16 2009 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4.4-16
e1a0f8
- fixed installation with --excludedocs rhbz#515949
e1a0f8
e1a0f8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.4-15
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e1a0f8
e1a0f8
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.4-14
e1a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e1a0f8
e1a0f8
* Wed Aug 27 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1:1.4.4-13
e1a0f8
- rewriten patch to work with fuzz=0
e1a0f8
e1a0f8
* Wed Aug 27 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1:1.4.4-12
e1a0f8
- fixed runtest (patch from jan.kratochvil@redhat.com)
e1a0f8
- Resolves: #460153
e1a0f8
e1a0f8
* Mon Nov 12 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-11
e1a0f8
- Install info file.
e1a0f8
- Resolves: #230652
e1a0f8
e1a0f8
* Thu Oct  4 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-10
e1a0f8
- A few more cleanups after discussion with reviewer.
e1a0f8
- Resolves: #225679
e1a0f8
e1a0f8
* Wed Oct  3 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-9
e1a0f8
- Clean up spec per merge review comments.
e1a0f8
- Fix testsuite.
e1a0f8
- Resolves: #225679
e1a0f8
e1a0f8
* Thu Aug 16 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-8
e1a0f8
- Fix licesing tag.
e1a0f8
e1a0f8
* Wed Mar  7 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-7
e1a0f8
- Remove mention of dejagnu.info from manpage, per comments in
e1a0f8
  doc/Makefile.
e1a0f8
- Resolves: #230652
e1a0f8
e1a0f8
* Wed Feb  7 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-6
e1a0f8
- Tidy up the specfile per rpmlint comments
e1a0f8
e1a0f8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.4.4-5.1
e1a0f8
- rebuild
e1a0f8
e1a0f8
* Thu Feb 2 2006 Petr Machata <pmachata@redhat.com> 1:1.4.4-5
e1a0f8
- Applying H.J. Lu's race condition patch. (#166000)
e1a0f8
e1a0f8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e1a0f8
- rebuilt
e1a0f8
e1a0f8
* Sat Mar  5 2005 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-4
e1a0f8
- rebuilt with GCC 4
e1a0f8
e1a0f8
* Mon Nov  8 2004 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-3
e1a0f8
- add URL (#138280)
e1a0f8
e1a0f8
* Mon Sep 27 2004 Warren Togami <wtogami@redhat.com> 1:1.4.4-2
e1a0f8
- remove INSTALL & redundant copies of overview
e1a0f8
e1a0f8
* Tue Aug  3 2004 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-1
e1a0f8
- update to 1.4.4
e1a0f8
- run make check during rpm build
e1a0f8
e1a0f8
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
e1a0f8
- rebuilt
e1a0f8
e1a0f8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
e1a0f8
- rebuilt
e1a0f8
e1a0f8
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
e1a0f8
- rebuilt
e1a0f8
e1a0f8
* Mon Dec 30 2002 Karsten Hopp <karsten@redhat.de> 1:1.4.2-9
e1a0f8
- more missing BuildRequires
e1a0f8
e1a0f8
* Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de> 1:1.4.2-8
e1a0f8
- Add jadetex Buildrequires
e1a0f8
e1a0f8
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 1:1.4.2-7
e1a0f8
- include dejagnu.h
e1a0f8
- move %%{_libexecdir}/config.guess into %%{_datadir}/dejagnu 
e1a0f8
- include overview docs (bug #59095)
e1a0f8
e1a0f8
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
e1a0f8
- automated rebuild
e1a0f8
e1a0f8
* Thu May 23 2002 Tim Powers <timp@redhat.com>
e1a0f8
- automated rebuild
e1a0f8
e1a0f8
* Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-4
e1a0f8
- fix makefile style variable passing (#63984)
e1a0f8
e1a0f8
* Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-3
e1a0f8
- rebuild
e1a0f8
e1a0f8
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
e1a0f8
- automated rebuild
e1a0f8
e1a0f8
* Wed Nov 28 2001 Jakub Jelinek <jakub@redhat.com> 1.4.2-1
e1a0f8
- update to 1.4.2, mainly so that it can be built with gcc3+
e1a0f8
e1a0f8
* Fri Sep  7 2001 Jakub Jelinek <jakub@redhat.com> 1.4.1-3
e1a0f8
- make it noarch again
e1a0f8
e1a0f8
* Wed Aug 29 2001 Jakub Jelinek <jakub@redhat.com>
e1a0f8
- fix a typo (#52404)
e1a0f8
e1a0f8
* Thu Jun 28 2001 Tim Powers <timp@redhat.com>
e1a0f8
- rebuilt for the distro
e1a0f8
e1a0f8
* Tue Feb 27 2001 Tim Powers <timp@redhat.com>
e1a0f8
- minor modifications to the spec file. Built for Powertools.
e1a0f8
- added Epoch
e1a0f8
e1a0f8
* Wed Feb 21 2001 Rob Savoye <rob@welcomehome.org>
e1a0f8
- Fixed Requires line, and changed the URL to the new ftp site.
e1a0f8
e1a0f8
* Sun Oct 31 1999 Rob Savoye <rob@welcomehome.org>
e1a0f8
- updated to the latest snapshot
e1a0f8
- added doc files
e1a0f8
- added the site.exp config file
e1a0f8
e1a0f8
* Mon Jul 12 1999 Tim Powers <timp@redhat.com>
e1a0f8
- updated to 19990628
e1a0f8
- updated patches as needed
e1a0f8
- added %%defattr in files section
e1a0f8
e1a0f8
* Wed Mar 10 1999 Jeff Johnson <jbj@redhat.com>
e1a0f8
- add alpha expect patch (#989)
e1a0f8
- use %%configure
e1a0f8
e1a0f8
* Thu Dec 17 1998 Jeff Johnson <jbj@redhat.com>
e1a0f8
- Update to 19981215.
e1a0f8
e1a0f8
* Thu Nov 12 1998 Jeff Johnson <jbj@redhat.com>
e1a0f8
- Update to 1998-10-29.
e1a0f8
e1a0f8
* Wed Jul  8 1998 Jeff Johnson <jbj@redhat.com>
e1a0f8
- Update to 1998-05-28.
e1a0f8
e1a0f8
* Sun Feb  1 1998 Jeff Johnson <jbj@jbj.org>
e1a0f8
- Create.
e1a0f8