spec file cleanup and using dejagnu.texi from upstream source

This commit is contained in:
Honza Horák 2012-08-27 13:44:40 +02:00
parent 914d13e850
commit 4567231dc0
2 changed files with 5 additions and 7 deletions

View File

@ -1,15 +1,13 @@
Summary: A front end for testing other programs
Name: dejagnu
Version: 1.5
Release: 5%{?dist}
Release: 6%{?dist}
Epoch: 1
License: GPLv3+
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
Source2: dejagnu.texi
Group: Development/Tools
URL: http://www.gnu.org/software/dejagnu/
Requires: expect
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: expect screen texinfo
Patch1: dejagnu-1.5-smp-1.patch
@ -34,7 +32,6 @@ into software development).
%build
%configure -v
makeinfo %{SOURCE2} -o doc/%{name}.info
%check
echo ============TESTING===============
@ -51,7 +48,6 @@ echo ============END TESTING===========
exit $RESULT
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
@ -72,7 +68,6 @@ fi
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING NEWS README AUTHORS ChangeLog doc/dejagnu.texi
%{_bindir}/runtest
%{_datadir}/dejagnu
@ -81,6 +76,10 @@ rm -rf $RPM_BUILD_ROOT
%{_infodir}/dejagnu*
%changelog
* Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> 1:1.5-6
- Spec file cleanup
- Use dejagnu.texi from upstream source
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1,2 +1 @@
3df1cbca885e751e22d3ebd1ac64dc3c dejagnu-1.5.tar.gz
d70aca4d793a8fbdd6906b8ac5333195 dejagnu.texi