public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Clasen <mclasen@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Move glib to /lib
Date: Tue, 11 Aug 2026 10:33:08 GMT [thread overview]
Message-ID: <178644438846.1.17787944504766701502.rpms-glib2-f39588a64319@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : f39588a64319810e0f15d31f035928867a2fe961
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2006-05-23T13:18:16+00:00
Stats : +20/-11 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/f39588a64319810e0f15d31f035928867a2fe961?branch=cve-2026-58016-f44
Log:
Move glib to /lib
---
diff --git a/glib2.spec b/glib2.spec
index 09fb151..365731f 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -1,7 +1,9 @@
+%define libdir /%{_lib}
+
Summary: A library of handy utility functions
Name: glib2
Version: 2.11.1
-Release: 1
+Release: 2
License: LGPL
Group: System Environment/Libraries
Source: glib-%{version}.tar.bz2
@@ -43,7 +45,7 @@ version 2 of the GLib library.
for i in config.guess config.sub ; do
test -f /usr/share/libtool/$i && cp /usr/share/libtool/$i .
done
-%configure --disable-gtk-doc --disable-static
+%configure --disable-gtk-doc --disable-static --libdir=%{libdir}
make
# http://bugzilla.gnome.org/show_bug.cgi?id=320463
LANG=en_US.UTF8
@@ -52,15 +54,19 @@ make check
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
-%makeinstall
+make install DESTDIR=$RPM_BUILD_ROOT
## glib2.sh and glib2.csh
./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
+rm -f $RPM_BUILD_ROOT%{libdir}/*.{a,la}
+
+# we install in /lib now, but the pkgconfig files still go in /usr/lib
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
+mv $RPM_BUILD_ROOT%{libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
+
%find_lang glib20
@@ -75,17 +81,17 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
-%{_libdir}/libglib-2.0.so.*
-%{_libdir}/libgthread-2.0.so.*
-%{_libdir}/libgmodule-2.0.so.*
-%{_libdir}/libgobject-2.0.so.*
+%{libdir}/libglib-2.0.so.*
+%{libdir}/libgthread-2.0.so.*
+%{libdir}/libgmodule-2.0.so.*
+%{libdir}/libgobject-2.0.so.*
%{_sysconfdir}/profile.d/*
%files devel
%defattr(-, root, root)
-%{_libdir}/lib*.so
-%{_libdir}/glib-2.0
+%{libdir}/lib*.so
+%{libdir}/glib-2.0
%{_includedir}/*
%{_datadir}/aclocal/*
%{_datadir}/gtk-doc/
@@ -95,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*
%changelog
+* Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.1-2
+- Move glib to /lib
+
* Mon May 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.1-1
- Update to 2.11.1
reply other threads:[~2026-08-11 10:33 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=178644438846.1.17787944504766701502.rpms-glib2-f39588a64319@fedoraproject.org \
--to=mclasen@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