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