From 0eda281d8d1455c5e160e084654505c2602a8688 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Wed, 10 May 2023 10:23:14 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + EMPTY | 1 - dejagnu.spec | 287 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 289 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 dejagnu.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ca51a4e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dejagnu-1.6.1.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/dejagnu.spec b/dejagnu.spec new file mode 100644 index 0000000..519e041 --- /dev/null +++ b/dejagnu.spec @@ -0,0 +1,287 @@ +Summary: A front end for testing other programs +Name: dejagnu +Version: 1.6.1 +Release: 2%{?dist} +Epoch: 1 +License: GPLv3+ +Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz +Group: Development/Tools +URL: http://www.gnu.org/software/dejagnu/ +Requires: expect +BuildArch: noarch +BuildRequires: expect screen texinfo + +%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 + +%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` +screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP +RESULT=`tail -n 1 $TMP` +cat $TMP +rm -f $TMP +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 + +%post +/sbin/install-info %{_infodir}/%{name}.info.gz --dir-file=%{_infodir}/dir &> /dev/null +: + +%preun +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir &> /dev/null +fi +: + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%doc COPYING NEWS README AUTHORS ChangeLog doc/dejagnu.texi +%{_bindir}/runtest +%{_datadir}/dejagnu +%{_includedir}/dejagnu.h +%{_mandir}/*/* +%{_infodir}/dejagnu* + +%changelog +* 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. + diff --git a/sources b/sources new file mode 100644 index 0000000..f7b1a1b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dejagnu-1.6.1.tar.gz) = 887aa7c8b8698fe193f393b75479aad2c0724d6baa52e6f7172c48172f6546956c5f932afb574ba38b7c79e630981eeaf1d6d3c9edb3862ab5f39c5c09dce682