Update mtools.spec to allow flatpak builds

This will allow mtools to be built as dependency for some flatpaks.
Without this change each flatpak would have to rebuild entire glibc
which is already present in the runtime.
This commit is contained in:
Jay W 2022-02-11 03:57:11 +00:00
parent 20618b9538
commit a61a8863a6

View File

@ -11,7 +11,12 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: texinfo, autoconf
# Remove dependency on glibc-gconv-extra to avoid rebuilding entire glibc
# when building flatpaks with mtools as dependency. Glibc is already
# included in the runtime.
%if ! 0%{?flatpak}
Requires: glibc-gconv-extra
%endif
%description
Mtools is a collection of utilities for accessing MS-DOS files.