From 2f8fbc9ef235f73dc51dbdd150916c96b08b34a2 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Jan 14 2008 14:00:04 +0000 Subject: - removed spurious post a preun sections whose installed /usr/share/info/dir.gz file (#428478) - start use autoreconf --- diff --git a/mtools.spec b/mtools.spec index dd9e453..addd68f 100644 --- a/mtools.spec +++ b/mtools.spec @@ -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 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 3.9.11-2 - rebuild (BuildID feature) - change license to GPLv2+