40 Commits

Author SHA256 Message Date
4eddbffbf6 Accepting request 1174263 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/1174263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=19
2024-05-16 15:13:23 +00:00
b36844df1a Accepting request 1174128 from home:dimstar:Factory
- Add glib-2.80.2-glibdoc-path.patch: Fix GLib documentation path
  for GLib 2.80.2
  (https://github.com/fedora-modularity/libmodulemd/pull/618).

OBS-URL: https://build.opensuse.org/request/show/1174128
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=37
2024-05-15 13:45:56 +00:00
0c3dc9e550 Accepting request 1159621 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/1159621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=18
2024-03-20 20:13:09 +00:00
264fc3c7d6 Accepting request 1159605 from home:dimstar:Factory
- Add 9d280909.patch and 29c339a3.patch: Adapt GLib documentation
  path to GLib 2.79.0.

Needed for GNOME 46 (Staging:L)

OBS-URL: https://build.opensuse.org/request/show/1159605
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=35
2024-03-19 16:02:10 +00:00
637ff151f2 Accepting request 1123352 from system:packagemanager:dnf
- Update to 2.15.0
  + Add support for decompressing Zstandard-compressed YAML files
  + Remove a dependency on "file" library (libmagic)
  + Add a XML specification for in-YUM-repository metadata
  + Deprecate intents in modulemd-defaults specification
  + Fix a crash when converting a modulemd-packager object with a default
profile and without a module name or stream to a module index
  + Fix parsing empty profiles
  + A specification for modulemd-v2 format was corrected to require a "content"
license subtree only if the module build contains artifacts.
  + Double-quote strings in scalar YAML values when they look like a number
  + Warnings from g_str_equal() macro of glib2 about passing an unsigned
char * to strcmp() were fixed

OBS-URL: https://build.opensuse.org/request/show/1123352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=17
2023-11-05 11:19:07 +00:00
5ab18d5488 - Update to 2.15.0
+ Add support for decompressing Zstandard-compressed YAML files
  + Remove a dependency on "file" library (libmagic)
  + Add a XML specification for in-YUM-repository metadata
  + Deprecate intents in modulemd-defaults specification
  + Fix a crash when converting a modulemd-packager object with a default
profile and without a module name or stream to a module index
  + Fix parsing empty profiles
  + A specification for modulemd-v2 format was corrected to require a "content"
license subtree only if the module build contains artifacts.
  + Double-quote strings in scalar YAML values when they look like a number
  + Warnings from g_str_equal() macro of glib2 about passing an unsigned
char * to strcmp() were fixed

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=33
2023-11-04 18:32:19 +00:00
fb39697bf8 Accepting request 1011173 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/1011173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=16
2022-10-17 12:57:20 +00:00
161a296484 Accepting request 1011163 from home:AndreasStieger:branches:system:packagemanager:dnf
libmodulemd 2.14.0

OBS-URL: https://build.opensuse.org/request/show/1011163
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=31
2022-10-15 20:28:10 +00:00
693be54243 Accepting request 963691 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/963691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=15
2022-03-23 19:17:04 +00:00
ad3993339a Accepting request 963681 from home:dimstar:Factory
just for you, without spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/963681
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=29
2022-03-21 13:02:19 +00:00
eb0971961e Accepting request 944021 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/944021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=14
2022-01-07 11:44:27 +00:00
219ae0d2ca Accepting request 944015 from home:dimstar:Factory
- Drop unknown meson parameters: developer_build,
  with_py2_overrides, with_py3_overrides.

OBS-URL: https://build.opensuse.org/request/show/944015
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=28
2022-01-05 11:43:52 +00:00
d33f2c4256 Accepting request 914471 from system:packagemanager:dnf
- Update to 2.13.0
  + Add /data/demodularized/rpms list to modulemd and modulemd-packager
    formats.
  + modulemd-validator enables you to constrain a document type with
    a new "--type" option.
  + Reject invalid integers. Purely non-numeric values and negative
    numbers where an unsigned type is mandated by a specification
    raise a parser error now.
  + Handle a failed g_setenv() call in modulemd-validator.
  + Prevent from dereferencing a NULL pointer when reporting invalid
    subdocuments.
  + "modulemd-validator --version" command returns 0 exit code now.

OBS-URL: https://build.opensuse.org/request/show/914471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=13
2021-08-31 17:54:52 +00:00
0451de483c - Update to 2.13.0
+ Add /data/demodularized/rpms list to modulemd and modulemd-packager
    formats.
  + modulemd-validator enables you to constrain a document type with
    a new "--type" option.
  + Reject invalid integers. Purely non-numeric values and negative
    numbers where an unsigned type is mandated by a specification
    raise a parser error now.
  + Handle a failed g_setenv() call in modulemd-validator.
  + Prevent from dereferencing a NULL pointer when reporting invalid
    subdocuments.
  + "modulemd-validator --version" command returns 0 exit code now.

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=27
2021-08-27 02:46:32 +00:00
7e3ed06db3 Accepting request 896309 from system:packagemanager:dnf
OBS-URL: https://build.opensuse.org/request/show/896309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=12
2021-06-05 21:30:17 +00:00
df51e7c9f4 Accepting request 896306 from home:msmeissn:branches:system:packagemanager:dnf
- Updated to 2.12.1
  This is a bug-fix release fully compatible with the previous 2.12.0
  version. Notable changes:
  Enhancements:
  - Improve diagnostic messages for compression tests.
  - Tests performed in a GitHub continues integration are faster.
  - Use GitHub actions to perform CI tests also on ArchLinux, Mageia,
    Mandriva, and OpenSUSE.
  Fixes:
  - Relax context value up to 13 characters including an underscore
    character in modulemd v2 format. This reenables scratch-builds in MBS.
    Migrate Packit tests from a deprecated current_version_command to
    a newer actions/get-current-version.

OBS-URL: https://build.opensuse.org/request/show/896306
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=25
2021-05-31 08:58:22 +00:00
caf2b5917c Accepting request 868780 from system:packagemanager:dnf
- Update to 2.12.0
  + Add support for 'buildorder' to Packager documents
  + Fix issue with ModuleIndex when input contains only Obsoletes documents
  + Extend read_packager_[file|string]() to support overriding the module name
    and stream.
  + Ignore Packager documents when running ModuleIndex.update_from_*()
  + Add python overrides for XMD in PackagerV3
  + Add python override to ignore the GType return when reading packager files
  + Add PackagerV3.get_mdversion()
- Drop patch incorporated in this release
  + Patch: 0001-Fix-integer-size-issue-on-32-bit-platforms.patch

OBS-URL: https://build.opensuse.org/request/show/868780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=11
2021-02-07 14:16:27 +00:00
484cc0a1a0 - Update to 2.12.0
+ Add support for 'buildorder' to Packager documents
  + Fix issue with ModuleIndex when input contains only Obsoletes documents
  + Extend read_packager_[file|string]() to support overriding the module name
    and stream.
  + Ignore Packager documents when running ModuleIndex.update_from_*()
  + Add python overrides for XMD in PackagerV3
  + Add python override to ignore the GType return when reading packager files
  + Add PackagerV3.get_mdversion()
- Drop patch incorporated in this release
  + Patch: 0001-Fix-integer-size-issue-on-32-bit-platforms.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=23
2021-02-02 23:39:34 +00:00
92b1309a64 Accepting request 851720 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/851720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=10
2020-12-02 12:57:16 +00:00
6a28e52e66 - Fix build for 32-bit architectures with patch from upstream
+ Patch: 0001-Fix-integer-size-issue-on-32-bit-platforms.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=21
2020-11-29 23:03:54 +00:00
78f04a3134 - Update to 2.10.0
+ Add modulemd-obsoletes
  + Add modulemd v3 format

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=20
2020-11-29 22:10:31 +00:00
f228642861 Accepting request 819221 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/819221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=9
2020-07-15 09:22:42 +00:00
42db83d4fd - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=18
2020-07-07 11:04:43 +00:00
26b83b41e1 Accepting request 765592 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/765592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=8
2020-01-21 19:58:02 +00:00
c9ff2e9fb8 - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=16
2020-01-19 14:59:18 +00:00
aa9afa00fc Accepting request 752746 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/752746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=7
2019-12-07 14:21:06 +00:00
ab2eaed349 - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=14
2019-12-01 15:34:53 +00:00
99e59f0702 Accepting request 705109 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/705109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=6
2019-05-24 09:33:23 +00:00
775e877cdd - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=12
2019-05-24 03:26:50 +00:00
07a3132086 Accepting request 702039 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/702039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=5
2019-05-12 09:44:18 +00:00
5820864f56 - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=10
2019-05-10 14:36:27 +00:00
6b4a63680e Accepting request 698915 from system:packagemanager:dnf
- Add missing dependency on six module for Python 3 bindings subpackage

OBS-URL: https://build.opensuse.org/request/show/698915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=4
2019-04-30 11:05:16 +00:00
9127942da7 - Add missing dependency on six module for Python 3 bindings subpackage
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=8
2019-04-28 14:07:08 +00:00
51b7afeb5c Accepting request 696921 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/696921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=3
2019-04-23 12:36:55 +00:00
6bccc3da3a - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=6
2019-04-23 03:58:59 +00:00
deca478053 Accepting request 690190 from system:packagemanager:dnf
- 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

OBS-URL: https://build.opensuse.org/request/show/690190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=2
2019-04-01 10:39:45 +00:00
6a47c44192 - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=4
2019-03-31 14:51:28 +00:00
2ddfa2d507 Accepting request 672446 from system:packagemanager:dnf
- Initial packaging for openSUSE

OBS-URL: https://build.opensuse.org/request/show/672446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmodulemd?expand=0&rev=1
2019-02-20 13:09:52 +00:00
dcd7c2beab - 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=2
2019-02-05 12:31:55 +00:00
1785a733e6 - Initial packaging based on Mageia package
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libmodulemd?expand=0&rev=1
2019-02-03 16:54:24 +00:00