Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gxml for openSUSE:Factory checked in 
at 2025-08-12 17:05:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gxml (Old)
 and      /work/SRC/openSUSE:Factory/.gxml.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gxml"

Tue Aug 12 17:05:27 2025 rev:2 rq:1299029 version:0.20.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/gxml/gxml.changes        2025-07-10 
22:14:01.348391655 +0200
+++ /work/SRC/openSUSE:Factory/.gxml.new.1085/gxml.changes      2025-08-12 
17:07:09.073718755 +0200
@@ -1,0 +2,23 @@
+Tue Aug 12 10:23:55 UTC 2025 - Richard Rahl <rra...@opensuse.org>
+
+- update fix-formatting.patch
+
+-------------------------------------------------------------------
+Wed Jul 16 08:10:15 UTC 2025 - Richard Rahl <rra...@opensuse.org>
+
+- add fix-formatting.patch, as spaces were accidently left out
+
+-------------------------------------------------------------------
+Mon Jul 14 13:04:13 UTC 2025 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Remove versioning.patch: Do not diverge this much from upstream
+- Add gxml-typelib-so-linking.patch: Fix the actual issue of the
+  typelib not to link the correct library
+- Do not recommend the -lang package by the devel package: the lang
+  already contains relevant supplements to automatically
+  beinstalled.
+- Rename the typelib package to properly be name
+  typelib-1_0-XGml-0_20; obsolete the old/wrong name (no provides,
+  as nothing is supposed to ever reference the package name).
+
+-------------------------------------------------------------------

Old:
----
  versioning.patch

New:
----
  fix-formatting.patch
  gxml-typelib-so-linking.patch

----------(Old B)----------
  Old:
- Remove versioning.patch: Do not diverge this much from upstream
- Add gxml-typelib-so-linking.patch: Fix the actual issue of the
----------(Old E)----------

----------(New B)----------
  New:
- update fix-formatting.patch
  New:- Remove versioning.patch: Do not diverge this much from upstream
- Add gxml-typelib-so-linking.patch: Fix the actual issue of the
  typelib not to link the correct library
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gxml.spec ++++++
--- /var/tmp/diff_new_pack.97SkJp/_old  2025-08-12 17:07:10.997799094 +0200
+++ /var/tmp/diff_new_pack.97SkJp/_new  2025-08-12 17:07:11.005799427 +0200
@@ -16,7 +16,9 @@
 #
 
 
-%define         sover 0_20_4
+%global         GXmlAPI 0.20
+%global         GXmlAPI_RPM 0_20
+%define         sover -%{GXmlAPI_RPM}-2_0_2
 %define         cname GXml
 Name:           gxml
 Version:        0.20.4
@@ -25,7 +27,8 @@
 License:        LGPL-2.1-or-later
 URL:            https://gitlab.gnome.org/GNOME/gxml
 Source0:        %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
-Patch0:         versioning.patch
+Patch0:         gxml-typelib-so-linking.patch
+Patch1:         fix-formatting.patch
 BuildRequires:  meson
 BuildRequires:  pkgconfig
 BuildRequires:  vala
@@ -58,8 +61,7 @@
 %package devel
 Summary:        Development files for %{name}
 Requires:       lib%{name}%{sover} = %{version}
-Requires:       typelib-1_0-%{cname}-%{sover} = %{version}
-Recommends:     %{name}-lang = %{version}
+Requires:       typelib-1_0-%{cname}-%{GXmlAPI_RPM} = %{version}
 
 %description devel
 %{summary}.
@@ -70,10 +72,11 @@
 %description -n lib%{name}%{sover}
 %{summary}.
 
-%package -n typelib-1_0-%{cname}-%{sover}
+%package -n typelib-1_0-%{cname}-%{GXmlAPI_RPM}
 Summary:        Typelib files for %{name}
+Obsoletes:      typelib-1_0-%{cname}-%{sover} <= %{version}
 
-%description -n typelib-1_0-%{cname}-%{sover}
+%description -n typelib-1_0-%{cname}-%{GXmlAPI_RPM}
 %{summary}.
 
 %prep
@@ -88,7 +91,7 @@
 
 %install
 %meson_install
-%find_lang %{cname}
+%find_lang %{cname}-%{GXmlAPI}
 
 #%%check
 #right now broken as glib-2.0 has some issue
@@ -99,22 +102,22 @@
 %files devel
 %license COPYING
 %doc AUTHORS DESIGN MAINTAINERS NEWS README
-%{_includedir}/%{name}
-%{_libdir}/lib%{name}.so
-%{_datadir}/gir-1.0/%{cname}-%{version}.gir
-%{_datadir}/vala/vapi/%{name}.{deps,vapi}
-%{_libdir}/pkgconfig/%{name}.pc
+%{_datadir}/gir-1.0/%{cname}-%{GXmlAPI}.gir
+%{_datadir}/vala/vapi/%{name}-%{GXmlAPI}.{deps,vapi}
+%{_includedir}/%{name}-%{GXmlAPI}/
+%{_libdir}/lib%{name}-%{GXmlAPI}.so
+%{_libdir}/pkgconfig/%{name}-%{GXmlAPI}.pc
 
 %files doc
 %dir %{_datadir}/devhelp
 %dir %{_datadir}/devhelp/books
-%{_datadir}/devhelp/books/%{cname}
+%{_datadir}/devhelp/books/%{cname}-%{GXmlAPI}
 
 %files -n lib%{name}%{sover}
-%{_libdir}/lib%{name}.so.%{version}
+%{_libdir}/lib%{name}-%{GXmlAPI}.so.2*
 
-%files -n typelib-1_0-%{cname}-%{sover}
-%{_libdir}/girepository-1.0/%{cname}-%{version}.typelib
+%files -n typelib-1_0-%{cname}-%{GXmlAPI_RPM}
+%{_libdir}/girepository-1.0/%{cname}-%{GXmlAPI}.typelib
 
-%files lang -f %{cname}.lang
+%files lang -f %{cname}-%{GXmlAPI}.lang
 

++++++ fix-formatting.patch ++++++
diff -rubN gxml-0.20.4/gxml/gxml.pc.in gxml-0.20.4-patched/gxml/gxml.pc.in
--- gxml-0.20.4/gxml/gxml.pc.in 2024-04-16 19:27:12.000000000 +0200
+++ gxml-0.20.4-patched/gxml/gxml.pc.in 2025-08-12 12:15:18.981540092 +0200
@@ -8,6 +8,6 @@
 Description: GObject API for XML manipulation and serialization library
 URL: http://live.gnome.org/GXml
 Version: @PROJECT_VERSION@
-Requires: glib-2.0 >= 2.72 gio-2.0 >= 2.72 gobject-2.0 >= 2.72 libxml-2.0 
>=2.9.13 gee-0.8 >=0.20.6
+Requires: glib-2.0 >= 2.72 gio-2.0 >= 2.72 gobject-2.0 >= 2.72 libxml-2.0 >= 
2.9.13 gee-0.8 >= 0.20.6
 Libs: -L${libdir} -lgxml-@API_VERSION@
 Cflags: -I${includedir}/gxml-@API_VERSION@
diff -rubN gxml-0.20.4/meson.build gxml-0.20.4-patched/meson.build
--- gxml-0.20.4/meson.build     2024-04-16 19:27:12.000000000 +0200
+++ gxml-0.20.4-patched/meson.build     2025-08-12 12:12:46.353789459 +0200
@@ -8,9 +8,9 @@
 VERSIONED_CAMEL_CASE_NAME = CAMEL_CASE_NAME +'-'+ API_VERSION
 
 libgxml_deps = [
-       dependency('libxml-2.0', version: '>=2.9.13'),
-       dependency('gio-2.0', version: '>=2.72'),
-       dependency('gee-0.8', version:'>=0.20.5')
+       dependency('libxml-2.0', version: '>= 2.9.13'),
+       dependency('gio-2.0', version: '>= 2.72'),
+       dependency('gee-0.8', version:'>= 0.20.5')
        ]
 
 VALADEPS = 'gee-0.8\ngio-2.0\nlibxml-2.0'

++++++ gxml-typelib-so-linking.patch ++++++
Index: gxml-0.20.4/gxml/meson.build
===================================================================
--- gxml-0.20.4.orig/gxml/meson.build
+++ gxml-0.20.4/gxml/meson.build
@@ -154,7 +154,7 @@ if g_ir_compiler.found()
 custom_target('libgxml-typelib',
        command: [
                g_ir_compiler,
-               '--shared-library', 'lib'+PROJECT_NAME+'-@0@.so'.format 
(API_VERSION),
+               '--shared-library', 
'lib'+PROJECT_NAME+'-@0@.so.@1@.@2@.@3@'.format (API_VERSION, LT_VERSION, 
LT_AGE, LT_REVISION),
                '--output', '@OUTPUT@',
                join_paths(meson.current_build_dir(), GIR_NAME)
        ],

Reply via email to