public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Holy <oholy@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Disable FAM support in RHEL
Date: Tue, 11 Aug 2026 10:37:12 GMT	[thread overview]
Message-ID: <178644463209.1.17358449872462496319.rpms-glib2-c64ee0c53762@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/glib2
            Branch : cve-2026-58016-f44
            Commit : c64ee0c537621934f9b35e4d3bb33eae5de0d441
            Author : Ondrej Holy <oholy@redhat.com>
            Date   : 2020-12-01T09:43:53+01:00
            Stats  : +6/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/glib2/c/c64ee0c537621934f9b35e4d3bb33eae5de0d441?branch=cve-2026-58016-f44

            Log:
            Disable FAM support in RHEL

FAM support in GLib requires Gamin component, which has various issues
and is unmaintained for years. GLib is the only component that requires
it in RHEL. So let's do not build the optional glib2-fam subpackage on
RHEL so Gamin can be dropped out from there. I am not doing the same
change for Fedora as there are more components that require Gamin. So
the subpackage can be held there yet for some time. The only reason why
this change hasn't been done earlier is the fact that FAM support was
needed for DConf functionality when the home directory is on NFS. But
this shouldn't be a problem nowadays thanks to the following commit:
https://gitlab.gnome.org/GNOME/glib/-/commit/7427bb71.

---
diff --git a/glib2.spec b/glib2.spec
index 18f81be..4b456ef 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -69,6 +69,7 @@ BuildArch: noarch
 %description doc
 The glib2-doc package includes documentation for the GLib library.
 
+%if 0%{?fedora} || 0%{?rhel} <= 8
 %package fam
 Summary: FAM monitoring module for GIO
 Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -76,6 +77,7 @@ BuildRequires: gamin-devel
 
 %description fam
 The glib2-fam package contains the FAM (File Alteration Monitor) module for GIO.
+%endif
 
 %if 0%{?fedora}
 %package static
@@ -109,7 +111,9 @@ rm glib/pcre/*.[ch]
     -Ddtrace=true \
     -Dsystemtap=true \
     -Dgtk_doc=true \
+%if 0%{?fedora} || 0%{?rhel} <= 8
     -Dfam=true \
+%endif
     -Dinstalled_tests=true \
 %if 0%{?rhel}
     -Dgnutls=true \
@@ -225,8 +229,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %files doc
 %doc %{_datadir}/gtk-doc/html/*
 
+%if 0%{?fedora} || 0%{?rhel} <= 8
 %files fam
 %{_libdir}/gio/modules/libgiofam.so
+%endif
 
 %if 0%{?fedora}
 %files static

                 reply	other threads:[~2026-08-11 10:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178644463209.1.17358449872462496319.rpms-glib2-c64ee0c53762@fedoraproject.org \
    --to=oholy@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox