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: package review feedback
Date: Tue, 11 Aug 2026 10:33:23 GMT [thread overview]
Message-ID: <178644440313.1.14779505638799255203.rpms-glib2-e91a444f8bee@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : e91a444f8bee7fb487fcdb718514e5ab525ab3ce
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2007-02-03T18:39:01+00:00
Stats : +29/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/e91a444f8bee7fb487fcdb718514e5ab525ab3ce?branch=cve-2026-58016-f44
Log:
package review feedback
---
diff --git a/glib2.spec b/glib2.spec
index 66c8c5e..4b64f8c 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
Summary: A library of handy utility functions
Name: glib2
Version: 2.12.9
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPL
Group: System Environment/Libraries
Source: http://ftp.gnome.org/pub/gnome/sources/glib/2.12/glib-%{version}.tar.bz2
@@ -13,11 +13,10 @@ Patch0: glib-2.11.1-libdir.patch
Conflicts: libgnomeui <= 2.2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: pkgconfig >= 0.8
+BuildRequires: pkgconfig >= 1:0.14
BuildRequires: gettext
# for patch 0
BuildRequires: autoconf
-Obsoletes: glib-gtkbeta
URL: http://www.gtk.org
%description
@@ -30,10 +29,9 @@ object system.
This package provides version 2 of GLib.
%package devel
-Summary: The GIMP ToolKit (GTK+) and GIMP Drawing Kit (GDK) support library
+Summary: A library of handy utility functions
Group: Development/Libraries
-Obsoletes: glib-gtkbeta-devel
-Requires: pkgconfig >= 1:0.8
+Requires: pkgconfig >= 1:0.14
Requires: %{name} = %{version}-%{release}
Conflicts: glib-devel <= 1:1.2.8
@@ -41,6 +39,16 @@ Conflicts: glib-devel <= 1:1.2.8
The glib2-devel package includes the header files for
version 2 of the GLib library.
+# anaconda needs static GLib libraries
+%package static
+Summary: A library of handy utility functions
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+The glib2-static package includes static libraries
+of version 2 of the GLib library.
+
%prep
%setup -q -n glib-%{version}
%patch0 -p1 -b .libdir
@@ -52,9 +60,10 @@ done
# for patch 0
autoconf
%configure --disable-gtk-doc --enable-static --libdir=%{libdir}
-make
+make %{?_smp_mflags}
%check
+# abicheck scripts don't work on ppc
%ifnarch ppc ppc64
make check
%endif
@@ -65,7 +74,6 @@ rm -rf $RPM_BUILD_ROOT
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
@@ -81,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%files -f glib20.lang
-%defattr(-, root, root)
+%defattr(-, root, root, -)
%doc AUTHORS COPYING ChangeLog NEWS README
%{libdir}/libglib-2.0.so.*
@@ -91,11 +99,8 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/profile.d/*
%files devel
-%defattr(-, root, root)
-
+%defattr(-, root, root, -)
%{libdir}/lib*.so
-# we need the static library here
-%{libdir}/lib*.a
%{_libdir}/glib-2.0
%{_includedir}/*
%{_datadir}/aclocal/*
@@ -105,7 +110,18 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/*
%{_mandir}/man1/*
+%files static
+%defattr(-, root, root, -)
+%{libdir}/lib*.a
+
%changelog
+* Sat Feb 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.12.9-2
+- Incorporate package review feedback:
+ * drop an obsolete Provides:
+ * add a -static subpackage
+ * explain %%check ppc exception
+ * align summaries
+
* Tue Jan 16 2007 Matthias Clasen <mclasen@redhat.com> - 2.12.9-1
- Update to 2.12.9
next reply other threads:[~2026-08-11 10:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 10:33 Matthias Clasen [this message]
2026-08-11 10:33 [rpms/glib2] cve-2026-58016-f44: package review feedback Matthias Clasen
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=178644440313.1.14779505638799255203.rpms-glib2-e91a444f8bee@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