public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Colin Walters <walters@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: - Revert rpath change; Fedora's libtool is supposed to not generate them
Date: Tue, 11 Aug 2026 10:34:30 GMT [thread overview]
Message-ID: <178644447058.1.15434934261252162614.rpms-glib2-b388bdb3b02e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : b388bdb3b02e45efdd1af3af9c89b1bc9300d9f2
Author : Colin Walters <walters@fedoraproject.org>
Date : 2010-06-29T16:43:14+00:00
Stats : +14/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/b388bdb3b02e45efdd1af3af9c89b1bc9300d9f2?branch=cve-2026-58016-f44
Log:
- Revert rpath change; Fedora's libtool is supposed to not generate them
for system paths.
- Add changes to spec file to support being built from snapshot as well as
"make dist"-ball. This includes BuildRequires and autogen.sh handling,
and gtk-doc enabling if we're bootstrapping.
---
diff --git a/glib2.spec b/glib2.spec
index 58a0505..41c4d84 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
Summary: A library of handy utility functions
Name: glib2
Version: 2.25.10
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@@ -20,9 +20,9 @@ BuildRequires: libselinux-devel
# for sys/inotify.h
BuildRequires: glibc-devel
BuildRequires: zlib-devel
+# Bootstrap build requirements
BuildRequires: automake autoconf libtool
BuildRequires: gtk-doc
-BuildRequires: chrpath
# required for GIO content-type support
Requires: shared-mime-info
@@ -59,9 +59,11 @@ The glib2-static package includes static libraries of the GLib library.
%patch0 -p1 -b .free-mismatch
%build
-%configure --disable-gtk-doc \
- --enable-static \
- --with-runtime-libdir=../../%{_lib}
+# Support builds of both git snapshots and tarballs packed with autogoo
+(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
+ %configure $CONFIGFLAGS \
+ --enable-static \
+ --with-runtime-libdir=../../%{_lib})
make %{?_smp_mflags}
@@ -73,7 +75,6 @@ awk '/^Overview of Changes/ { seen+=1 }
%install
make install DESTDIR=$RPM_BUILD_ROOT
-(cd $RPM_BUILD_ROOT; find | while read f; do if file $f | grep -q ': ELF .*executable,'; then chrpath --delete $f; fi; done)
## glib2.sh and glib2.csh
./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
@@ -161,6 +162,13 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
%{_libdir}/lib*.a
%changelog
+* Mon Jun 28 2010 Colin Walters <walters@verbum.org> - 2.25.10-3
+- Revert rpath change; Fedora's libtool is supposed to not generate
+ them for system paths.
+- Add changes to spec file to support being built from snapshot as
+ well as "make dist"-ball. This includes BuildRequires and autogen.sh
+ handling, and gtk-doc enabling if we're bootstrapping.
+
* Sun Jun 27 2010 Matthias Clasen <mclasen@redhat.com> - 2.25.10-2
- Fix an evince crash
reply other threads:[~2026-08-11 10:34 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=178644447058.1.15434934261252162614.rpms-glib2-b388bdb3b02e@fedoraproject.org \
--to=walters@fedoraproject.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