public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: package review feedback
@ 2026-08-11 10:33 Matthias Clasen
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Clasen @ 2026-08-11 10:33 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/glib2] cve-2026-58016-f44: package review feedback
@ 2026-08-11 10:33 Matthias Clasen
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Clasen @ 2026-08-11 10:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 23a05da2f3cfa10603a26b5fc4475ff4476d11bc
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date   : 2007-02-04T22:33:37+00:00
Stats  : +11/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/23a05da2f3cfa10603a26b5fc4475ff4476d11bc?branch=cve-2026-58016-f44

Log:
package review feedback

---
diff --git a/glib2.spec b/glib2.spec
index c4616b3..972e956 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,14 +3,14 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.12.9
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPL
 Group: System Environment/Libraries
 Source: http://ftp.gnome.org/pub/gnome/sources/glib/2.12/glib-%{version}.tar.bz2
 Source2: glib2.sh
 Source3: glib2.csh
 Patch0: glib-2.11.1-libdir.patch
-
+# see RH bug #83581
 Conflicts: libgnomeui <= 2.2.0
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: pkgconfig >= 1:0.14
@@ -33,13 +33,12 @@ Summary: A library of handy utility functions
 Group: Development/Libraries
 Requires: pkgconfig >= 1:0.14
 Requires: %{name} = %{version}-%{release}
-Conflicts: glib-devel <= 1:1.2.8
 
 %description devel
 The glib2-devel package includes the header files for 
 version 2 of the GLib library. 
 
-# anaconda needs static GLib libraries
+# anaconda needs static libs, see RH bug #193143
 %package static
 Summary: A library of handy utility functions
 Group: Development/Libraries
@@ -75,8 +74,8 @@ 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
+install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
+install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
 
 rm -f $RPM_BUILD_ROOT%{libdir}/*.la
 
@@ -116,6 +115,12 @@ rm -rf $RPM_BUILD_ROOT
 %{libdir}/lib*.a
 
 %changelog
+* Sun Feb  4 2007 Matthias Clasen <mclasen@redhat.com> - 2.12.9-3
+- More package review feedback:
+ * install /etc/profile.d snipplets as 644
+ * explain Conflict with libgnomeui
+ * remove stale Conflict with glib-devel
+ 
 * Sat Feb  3 2007 Matthias Clasen <mclasen@redhat.com> - 2.12.9-2
 - Incorporate package review feedback:
  * drop an obsolete Provides:

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-11 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:33 [rpms/glib2] cve-2026-58016-f44: package review feedback Matthias Clasen
2026-08-11 10:33 Matthias Clasen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox