Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libmodulemd.15780 for
openSUSE:Leap:15.2:Update checked in at 2021-02-16 00:04:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/libmodulemd.15780 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.libmodulemd.15780.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmodulemd.15780"
Tue Feb 16 00:04:28 2021 rev:1 rq:871523 version:2.10.0
Changes:
--------
New Changes file:
--- /dev/null 2021-01-11 18:20:20.070723563 +0100
+++
/work/SRC/openSUSE:Leap:15.2:Update/.libmodulemd.15780.new.28504/libmodulemd.changes
2021-02-16 00:04:29.275188774 +0100
@@ -0,0 +1,130 @@
+-------------------------------------------------------------------
+Sun Nov 29 22:03:09 UTC 2020 - Neal Gompa <[email protected]>
+
+- Update to 2.10.0
+ + Add modulemd-obsoletes
+ + Add modulemd v3 format
+- Fix build for 32-bit architectures with patch from upstream
+ + Patch: 0001-Fix-integer-size-issue-on-32-bit-platforms.patch
+
+-------------------------------------------------------------------
+Tue Jul 7 10:43:34 UTC 2020 - Neal Gompa <[email protected]>
+
+- Rebase to 2.9.4
+ + Deprecate reset methods in favor of clear methods
+ + Add modulemd-validator man page
+ + Add Module.search_streams_by_glob()
+ + Add ModuleIndex.search_streams() method
+ + Add Modulemd.Module.search_streams_by_nsvca_glob()
+ + Add ModuleIndex.search_streams_by_nsvca_glob()
+ + Add ModuleIndex.search_rpms()
+ + Add ModuleStreamV2.search_profiles()
+ + Add framework for handling modulemd-packager YAML documents
+ + Return appropriate error when parsing a ModulemdStream doc fails
+ + Rework ModulemdError and ModulemdYamlError
+ + Improve Modulemd*ErrorEnum deprecations
+ + Use the new error enums everywhere
+ + Fix inconsistent error setting
+ + Make SKIP_UNKNOWN return UNKNOWN_ATTR in strict mode
+ + modulemd-packager: Check for extraneous attributes
+ + Fix bug printing negative buildorder values
+ + Handle NULL nsvca_patterns for globs
+ + Relax handling of differing content for the same NSVCA
+
+-------------------------------------------------------------------
+Sun Jan 19 14:55:59 UTC 2020 - Neal Gompa <[email protected]>
+
+- Update to 2.8.3
+ + Detect GDate autoptr when available to fix build with glib2 >= 2.63.3
+ + Correct typo in MODULEMD_REPLACE_SET()
+ + Fix modulemd_buildopts_copy() to make a deep copy of the rpm whitelist
+ + Add support for new ModulemdBuildopts arches attribute
+
+-------------------------------------------------------------------
+Sun Dec 1 15:04:32 UTC 2019 - Neal Gompa <[email protected]>
+
+- Update to 2.8.2
+ + modulemd v1 has been split out into is own tarball
+ + Add ModuleIndexMerger.resolve_ext()
+ + Fix transfer type for Module.search_streams()
+ + Correct typo in ModulemdModuleStream.arch property nickname
+ + Add gtk-doc descriptions for ModulemdModuleStream object properties
+ + Fix modulemd_yaml_parse_bool() comparisons so return value is correct
+ + Make ModulemdErrorEnum and ModulemdYamlErrorEnum into public enums
+ + Move modulemd_module_stream_v2_replace_*() method definitions
+ to correct header file and add documentation
+ + Refactor stream copy/upgrade helper macros
+ + Add Modulemd.Module.get_translation()
+ + Add ModuleIndex.update_from_defaults_directory()
+ + Modulemd.ModuleIndex.update_from_file() now supports reading files
+ compressed with gzip, bzip2 or xz
+- libmodulemd1 has been split into its own package
+
+-------------------------------------------------------------------
+Fri May 24 03:25:00 UTC 2019 - Neal Gompa <[email protected]>
+
+- Update to 2.5.0 (v2) and 1.8.11 (v1)
+ + Ensure that XMD is always emitted in the same order
+ + Add .clear_*() functions for all .add_*() functions
+ + Add ModuleStream.equals()
+ + Add ModuleIndex.get_default_streams()
+ + Add ModuleStreamV2.clear_dependencies() and .remove_dependencies()
+ + Fix bugs and memory issues with the XMD python bindings
+ + Assorted documentation enhancements
+
+-------------------------------------------------------------------
+Fri May 10 14:30:36 UTC 2019 - Neal Gompa <[email protected]>
+
+- Update to 2.3.1 (v2) and 1.8.8 (v1)
+ + Make Modulemd.Component.set_*() functions accept NULL
(gh#fedora-modularity/libmodulemd#279)
+ + Fix segmentation fault in XMD code due to improper memory management
(gh#fedora-modularity/libmodulemd#274)
+ + Fix assorted documentation issues
+- Disable executing test suite on ARM and RISC-V due to performance issues
with builders
+
+-------------------------------------------------------------------
+Sun Apr 28 14:06:18 UTC 2019 - Neal Gompa <[email protected]>
+
+- Add missing dependency on six module for Python 3 bindings subpackage
+
+-------------------------------------------------------------------
+Tue Apr 23 03:54:08 UTC 2019 - Neal Gompa <[email protected]>
+
+- Update to 2.3.0 (v2) and 1.8.7 (v1)
+ + Add ModuleIndex.update_from_custom()
+ + Add ModuleIndex.dump_to_custom()
+ + Add Component.equals()
+ + Add Module.remove_streams_by_NSVCA()
+ + Fix bug with emitting lists of scalars in XMD
+ + Fix bug with deduplication in the ModuleIndexMerger
+ + Fix serious memory leak
+- Drop patch included in upstream release
+ * 0001-Only-require-python2-if-installing-overrides.patch
+
+-------------------------------------------------------------------
+Sun Mar 31 14:23:59 UTC 2019 - Neal Gompa <[email protected]>
+
+- Update to 2.2.2 (v2) and 1.8.5 (v1)
+ + Fix documentation for ModuleStream.depends_on_stream()
+ + Update APIs to handling full NSVCA of modules
+ + Add new APIs for handling full NSVCA of modules
+ + Add 'buildonly' option for components
+ + Add 'buildafter' component
+ + Add config option for python overrides
+- Drop patches included in upstream release
+ * 0001-V2-Add-missing-include-for-string.h-to-modulemd-util.patch
+ * 0002-Tests-Use-bin-bash-for-interpreter-shebangs-for-shel.patch
+- Add patch backported from upstream to avoid Python 2 dependency
+ * 0001-Only-require-python2-if-installing-overrides.patch
+
+-------------------------------------------------------------------
+Tue Feb 5 12:24:46 UTC 2019 - Neal Gompa <[email protected]>
+
+- Add patches backported from upstream to fix build on openSUSE
+ * 0001-V2-Add-missing-include-for-string.h-to-modulemd-util.patch
+ * 0002-Tests-Use-bin-bash-for-interpreter-shebangs-for-shel.patch
+- Run tests during package builds
+
+-------------------------------------------------------------------
+Sun Feb 3 16:27:25 UTC 2019 - Neal Gompa <[email protected]>
+
+- Initial packaging based on Mageia package
New:
----
0001-Fix-integer-size-issue-on-32-bit-platforms.patch
libmodulemd.changes
libmodulemd.spec
modulemd-2.10.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libmodulemd.spec ++++++
#
# spec file for package libmodulemd
#
# Copyright (c) 2020 Neal Gompa <[email protected]>.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global majorversion 2
%global minorversion 10
%global patchversion 0
%global majorminorversion %{majorversion}.%{minorversion}
%global nsversion %{majorversion}.0
%global libmodulemd_version
%{majorminorversion}%{?patchversion:.%{patchversion}}
%global libname %{name}%{majorversion}
%global devname %{name}-devel
%global girname typelib-1_0-Modulemd-%{majorversion}_0
Name: libmodulemd
Version: %{libmodulemd_version}
Release: 0
Summary: Module metadata manipulation library
Group: System/Packages
License: MIT
URL: https://github.com/fedora-modularity/libmodulemd
Source0:
%{url}/releases/download/%{name}-%{libmodulemd_version}/modulemd-%{libmodulemd_version}.tar.xz
# Patches from upstream
Patch0001: 0001-Fix-integer-size-issue-on-32-bit-platforms.patch
BuildRequires: help2man
BuildRequires: meson >= 0.47.0
BuildRequires: gcc
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: python3-gobject
BuildRequires: rpm-devel
BuildRequires: file-devel
# For tests
BuildRequires: gcc-c++
%description
C Library for manipulating module metadata files.
%package -n modulemd-validator
Summary: Tool for validating modulemd data
Group: System/Packages
Requires: %{libname}%{?_isa} = %{libmodulemd_version}-%{release}
%description -n modulemd-validator
The modulemd-validator tool provides the facility for verifying
constructed modulemd data is correct and usable.
%package -n python3-%{name}
Summary: Python 3 bindings for %{name}
Group: Development/Libraries/Python
Requires: %{girname}%{?_isa} = %{libmodulemd_version}-%{release}
Requires: python3-gobject
Requires: python3-six
%description -n python3-%{name}
This package provides the Python 3 bindings for %{name}.
%package -n %{libname}
Summary: Main library for %{name}
Group: System/Libraries
%description -n %{libname}
This package provides the main library for applications
that use %{name}.
%package -n %{girname}
Summary: GObject Introspection interface description for %{name}
Group: System/Libraries
Requires: %{libname}%{?_isa} = %{libmodulemd_version}-%{release}
%description -n %{girname}
This package provides the GObject Introspection typelib interface
for applications to use %{name}.
%package -n %{devname}
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{libname}%{?_isa} = %{libmodulemd_version}-%{release}
Requires: %{girname}%{?_isa} = %{libmodulemd_version}-%{release}
%description -n %{devname}
This package provides files for developing applications to use %{name}.
%prep
%autosetup -p1 -n modulemd-%{libmodulemd_version}
%build
%meson -Ddeveloper_build=false \
-Dwith_py3_overrides=true -Dwith_py2_overrides=false
%meson_build
%check
export LC_CTYPE=C.utf8
# Don't run tests on ARM and RISC-V for now. There are problems
# with performance on the builders and often these time out.
%ifnarch %{arm} aarch64 riscv64
%meson_test
%endif
%install
%meson_install
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n modulemd-validator
%license COPYING
%doc README.md
%{_bindir}/modulemd-validator
%{_mandir}/man1/modulemd-validator.1*
%files -n python3-%{name}
%{python3_sitearch}/gi/overrides/Modulemd.py
%files -n %{libname}
%license COPYING
%doc README.md
%{_libdir}/%{name}.so.%{majorversion}*
%files -n %{girname}
%{_libdir}/girepository-1.0/Modulemd-%{nsversion}.typelib
%files -n %{devname}
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/modulemd-%{nsversion}.pc
%{_includedir}/modulemd-%{nsversion}/
%{_datadir}/gir-1.0/Modulemd-%{nsversion}.gir
%{_datadir}/gtk-doc/html/modulemd-%{nsversion}/
%changelog
++++++ 0001-Fix-integer-size-issue-on-32-bit-platforms.patch ++++++
>From 05afb01e3a6de8f09ac664f2d93c3aac9be1e99e Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <[email protected]>
Date: Fri, 20 Nov 2020 15:52:27 -0500
Subject: [PATCH] Fix integer size issue on 32-bit platforms
Signed-off-by: Stephen Gallagher <[email protected]>
---
modulemd/modulemd-module.c | 6 +++---
modulemd/modulemd-obsoletes.c | 7 ++++---
modulemd/modulemd-util.c | 2 +-
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/modulemd/modulemd-module.c b/modulemd/modulemd-module.c
index 8cc7995..1b1ee71 100644
--- a/modulemd/modulemd-module.c
+++ b/modulemd/modulemd-module.c
@@ -877,8 +877,8 @@ modulemd_module_add_obsoletes (ModulemdModule *self,
continue;
}
g_info (
- "Overriding existing obsolete because of idenical stream: %s, "
- "context: %s and modified time: %lu.",
+ "Overriding existing obsolete because of identical stream: %s, "
+ "context: %s and modified time: %" PRIu64 ".",
modulemd_obsoletes_get_module_stream (obsoletes),
modulemd_obsoletes_get_module_context (obsoletes),
modulemd_obsoletes_get_modified (obsoletes));
@@ -967,7 +967,7 @@ modulemd_module_add_obsoletes (ModulemdModule *self,
g_info (
"Multiple obsoletes for module: %s, stream: %s, context: "
"%s "
- "with identical modified time: %lu",
+ "with identical modified time: %" PRIu64,
modulemd_module_get_module_name (self),
stream_str,
context_str,
diff --git a/modulemd/modulemd-obsoletes.c b/modulemd/modulemd-obsoletes.c
index 46bbc43..ceb7682 100644
--- a/modulemd/modulemd-obsoletes.c
+++ b/modulemd/modulemd-obsoletes.c
@@ -1092,7 +1092,7 @@ modulemd_obsoletes_emit_yaml (ModulemdObsoletes *self,
error,
MODULEMD_ERROR,
MMD_ERROR_VALIDATE,
- "Cannot convert modified date: %lu to iso8601 date.",
+ "Cannot convert modified date: %" PRIu64 " to iso8601 date.",
modulemd_obsoletes_get_modified (MODULEMD_OBSOLETES (self)));
return FALSE;
}
@@ -1166,7 +1166,8 @@ modulemd_obsoletes_emit_yaml (ModulemdObsoletes *self,
g_set_error (error,
MODULEMD_ERROR,
MMD_ERROR_VALIDATE,
- "Cannot convert eol_date: %lu to iso8601 date.",
+ "Cannot convert eol_date: %" PRIu64
+ " to iso8601 date.",
eol_date);
return FALSE;
}
@@ -1231,7 +1232,7 @@ modulemd_obsoletes_is_active (ModulemdObsoletes *self)
char buf[255];
strftime (buf, sizeof (buf), "%Y%m%d%H%M", tm);
- guint64 now = atol (buf);
+ guint64 now = g_ascii_strtoull (buf, NULL, 0);
if (now >= modulemd_obsoletes_get_eol_date (self))
{
diff --git a/modulemd/modulemd-util.c b/modulemd/modulemd-util.c
index 2a50bb5..7c4c891 100644
--- a/modulemd/modulemd-util.c
+++ b/modulemd/modulemd-util.c
@@ -521,7 +521,7 @@ modulemd_iso8601date_to_guint64 (const gchar *iso8601)
char buf[32];
strftime (buf, sizeof (buf), "%Y%m%d%H%M", &tm);
- return atol (buf);
+ return g_ascii_strtoull (buf, NULL, 0);
}
--
2.28.0