#2 Update mtools.spec to allow flatpak builds
Merged 2 years ago by vtrefny. Opened 2 years ago by jaydoubleu.
rpms/ jaydoubleu/mtools rawhide  into  rawhide

file modified
@@ -11,7 +11,12 @@ 

  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



  Mtools is a collection of utilities for accessing MS-DOS files.

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.

Pull-Request has been merged by vtrefny

2 years ago

I did a build for rawhide and f36, let me know if you need this in older releases too.

Thank you. The F36 should do.

Much appreciated

Hello @jaydoubleu , I don't get it. Why does having a Requires: glibc-gconv-extra trigger the rebuild of entire glibc, if it is already there? (I am not familiar with flatpaks, so sorry if I am missing something obvious.)