- removed spurious post a preun sections whose installed

/usr/share/info/dir.gz file (#428478)
- start use autoreconf
This commit is contained in:
Adam Tkac 2008-01-14 14:00:04 +00:00
parent 09599edb6e
commit 2f8fbc9ef2

View File

@ -1,7 +1,7 @@
Summary: Programs for accessing MS-DOS disks without mounting the disks
Name: mtools
Version: 3.9.11
Release: 2%{?dist}
Release: 2.1%{?dist}
License: GPlv2+
Group: Applications/System
Source: http://mtools.linux.lu/mtools-%{version}.tar.bz2
@ -13,7 +13,7 @@ Patch3: mtools-3.9.7-bigdisk.patch
Patch4: mtools-3.9.9-noargs.patch
Requires: info
BuildRequires: texinfo
BuildRequires: texinfo, autoconf
%description
Mtools is a collection of utilities for accessing MS-DOS files.
@ -31,6 +31,7 @@ Mtools should be installed if you need to use MS-DOS disks
%patch4 -p1 -b .noargs
%build
autoreconf -fiv
%configure
make %{?_smp_mflags}
@ -47,14 +48,6 @@ find $RPM_BUILD_ROOT -name "floppyd*" -exec rm {} \;
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/mtools.info.gz %{_infodir}/dir || :
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/mtools.info.gz %{_infodir}/dir || :
fi
%files
%defattr(-,root,root)
%config(noreplace) /etc/mtools.conf
@ -64,6 +57,11 @@ fi
%{_infodir}/*
%changelog
* Mon Jan 14 2008 Adam Tkac <atkac redhat com> 3.9.11-2.1
- removed spurious post a preun sections whose installed
/usr/share/info/dir.gz file (#428478)
- start use autoreconf
* Wed Aug 22 2007 Adam Tkac <atkac redhat com> 3.9.11-2
- rebuild (BuildID feature)
- change license to GPLv2+