public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Catanzaro <mcatanzaro@gnome.org>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Adjust conditionals that disable glib2-fam
Date: Tue, 11 Aug 2026 10:37:12 GMT	[thread overview]
Message-ID: <178644463257.1.16549420544774346833.rpms-glib2-4d9a5aaf01c7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 4d9a5aaf01c7dbde39006ed02f367a44ee42cebe
Author : Michael Catanzaro <mcatanzaro@gnome.org>
Date   : 2020-12-01T09:52:14-06:00
Stats  : +8/-11 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/4d9a5aaf01c7dbde39006ed02f367a44ee42cebe?branch=cve-2026-58016-f44

Log:
Adjust conditionals that disable glib2-fam

---
diff --git a/glib2.spec b/glib2.spec
index 4b456ef..8b71dd7 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -1,6 +1,6 @@
 Name: glib2
 Version: 2.67.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: A library of handy utility functions
 
 License: LGPLv2+
@@ -69,7 +69,7 @@ BuildArch: noarch
 %description doc
 The glib2-doc package includes documentation for the GLib library.
 
-%if 0%{?fedora} || 0%{?rhel} <= 8
+%if !0%{?rhel}
 %package fam
 Summary: FAM monitoring module for GIO
 Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -77,9 +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
 Summary: glib static
 Requires: %{name}-devel = %{version}-%{release}
@@ -111,14 +109,12 @@ 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 \
 %endif
-%if 0%{?fedora}
+%if !0%{?rhel}
+    -Dfam=true \
     --default-library=both \
 %endif
     %{nil}
@@ -229,12 +225,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %files doc
 %doc %{_datadir}/gtk-doc/html/*
 
-%if 0%{?fedora} || 0%{?rhel} <= 8
+%if !0%{?rhel}
 %files fam
 %{_libdir}/gio/modules/libgiofam.so
-%endif
 
-%if 0%{?fedora}
 %files static
 %{_libdir}/libgio-2.0.a
 %{_libdir}/libglib-2.0.a
@@ -248,6 +242,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %{_datadir}/installed-tests
 
 %changelog
+* Tue Dec 01 2020 Ondrej Holy and Michael Catanzaro <mcatanzaro@redhat.com> - 2.67.0-6
+- Disable glib2-fam in RHEL
+
 * Tue Nov 24 2020 Kalev Lember <klember@redhat.com> - 2.67.0-5
 - Backport upstream patches to fix invalid use of volatile objects
   (gcc 11 support)

                 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=178644463257.1.16549420544774346833.rpms-glib2-4d9a5aaf01c7@fedoraproject.org \
    --to=mcatanzaro@gnome.org \
    --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