diff --git a/mtools-4.0.38.tar.gz b/mtools-4.0.38.tar.gz deleted file mode 100644 index d116a17d9885c7e622f8e5c951a55e6fc050b2f5..0000000000000000000000000000000000000000 Binary files a/mtools-4.0.38.tar.gz and /dev/null differ diff --git a/mtools-4.0.42.tar.bz2 b/mtools-4.0.42.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..0d67a1b716b6922d7055c7740d7c1a091afaf7c6 Binary files /dev/null and b/mtools-4.0.42.tar.bz2 differ diff --git a/mtools.spec b/mtools.spec index 56a8c6f742f69f0781dfd0e4007b3a914d2e664a..08aefe8740cd23e17cf943bf18d5324ee1b4c670 100644 --- a/mtools.spec +++ b/mtools.spec @@ -1,10 +1,10 @@ -%define anolis_release 3 +%define anolis_release 1 Summary: Programs for accessing MS-DOS disks without mounting the disks Name: mtools -Version: 4.0.38 +Version: 4.0.42 Release: %{anolis_release}%{?dist} License: GPLv3+ -Source0: ftp://ftp.gnu.org/gnu/mtools/mtools-%{version}.tar.gz +Source0: ftp://ftp.gnu.org/gnu/mtools/mtools-%{version}.tar.bz2 Url: https://www.gnu.org/software/mtools/ Patch0: 0001-remove-sample-in-mtools-conf-file.patch @@ -33,31 +33,23 @@ The %{name}-doc package contains documentation files for %{name}. %autosetup -p1 -n %{name}-%{version} %build -autoreconf -fiv %configure --disable-floppyd %make_build %install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/%{_infodir} %make_install -install -m644 mtools.conf $RPM_BUILD_ROOT/etc -gzip -9f $RPM_BUILD_ROOT/%{_infodir}/* +install -D -m644 mtools.conf %{buildroot}%{_sysconfdir}/%{name}.conf # We aren't shipping this. find $RPM_BUILD_ROOT -name "floppyd*" -exec rm {} \; -# dir.gz is handled in %%post and %%preun sections -rm -f $RPM_BUILD_ROOT/%{_infodir}/dir.gz - -ln -s mtools.5.gz %{buildroot}%{_mandir}/man5/mtools.conf.5.gz +ln -s mtools.5 %{buildroot}%{_mandir}/man5/mtools.conf.5 %generate_compatibility_deps %files %dir %{abidir} -%config(noreplace) /etc/mtools.conf -%{!?_licensedir:%global license %%doc} +%config(noreplace) %{_sysconfdir}/mtools.conf %license COPYING %{_bindir}/* %{abidir}/*-option.list @@ -68,6 +60,9 @@ ln -s mtools.5.gz %{buildroot}%{_mandir}/man5/mtools.conf.5.gz %doc README Release.notes %changelog +* Tue Dec 20 2022 Funda Wang - 4.0.42-1 +- New version 4.0.42 + * Fri Nov 25 2022 mgb01105731 - 4.0.38-3 - remove SAMPLE in mtools.conf file