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: - Only strip rpath at install time, not before build. Neutering libtool
Date: Tue, 11 Aug 2026 10:34:29 GMT [thread overview]
Message-ID: <178644446918.1.13893347117552101846.rpms-glib2-8a8889de7e0d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 8a8889de7e0d77bca1480243475c2cbc41cf8b37
Author : Colin Walters <walters@fedoraproject.org>
Date : 2010-06-23T23:51:56+00:00
Stats : +8/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/8a8889de7e0d77bca1480243475c2cbc41cf8b37?branch=cve-2026-58016-f44
Log:
- Only strip rpath at install time, not before build. Neutering libtool
sabotages gtk-doc, since it needs those rpaths to run an in-tree
binary.
---
diff --git a/glib2.spec b/glib2.spec
index 82ec04c..78bbc63 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
Summary: A library of handy utility functions
Name: glib2
Version: 2.25.9
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@@ -22,6 +22,7 @@ BuildRequires: glibc-devel
BuildRequires: zlib-devel
BuildRequires: automake autoconf libtool
BuildRequires: gtk-doc
+BuildRequires: chrpath
# required for GIO content-type support
Requires: shared-mime-info
@@ -62,10 +63,6 @@ The glib2-static package includes static libraries of the GLib library.
--enable-static \
--with-runtime-libdir=../../%{_lib}
-# remove rpaths
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-
make %{?_smp_mflags}
# truncate NEWS
@@ -76,6 +73,7 @@ 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
@@ -165,6 +163,11 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
%{_libdir}/lib*.a
%changelog
+* Wed Jun 23 2010 Colin Walters <walters@verbum.org> - 2.25.9-3
+- Only strip rpath at install time, not before build. Neutering
+ libtool sabotages gtk-doc, since it needs those rpaths to run
+ an in-tree binary.
+
* Tue Jun 22 2010 Richard Hughes <rhughes@redhat.com> - 2.25.9-2
- Backport a patch from git master to avoid a segfault when doing the
schema file check for several GNOME projects.
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=178644446918.1.13893347117552101846.rpms-glib2-8a8889de7e0d@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