0bc81ec
%if  0%{?rhel} && 0%{?rhel} <= 7
f5554ca
  # There is no python3-gobject-base in RHEL 7. But it exists in EPEL 7.
f5554ca
  %global meson_python_flags -Dwith_py2=true -Dwith_py3=true
a1c7344
  %global build_python2 1
f5554ca
  %global build_python3 1
a1c7344
%else
f5554ca
  %global meson_python_flags -Dwith_py2=false -Dwith_py3=true
a1c7344
  %global build_python2 0
f5554ca
  %global build_python3 1
a1c7344
%endif
5500b78
a09554e
%if (0%{?fedora} && 0%{?fedora} <= 50) || (0%{?rhel} && 0%{?rhel} <= 10)
a09554e
  # Support RHEL 8 module builds with an invalid buildorder.
a09554e
  %global meson_accept_overflowed_buildorder_flag -Daccept_overflowed_buildorder=true
a09554e
%else
a09554e
  %global meson_accept_overflowed_buildorder_flag -Daccept_overflowed_buildorder=false
a09554e
%endif
a09554e
30ae62e
%global upstream_name libmodulemd
30ae62e
30ae62e
%if (0%{?rhel} && 0%{?rhel} <= 7)
30ae62e
  %global v2_suffix 2
30ae62e
%endif
30ae62e
30ae62e
Name:           %{upstream_name}%{?v2_suffix}
8bdb2b1
Version:        2.15.0
9fff9ef
Release:        9%{?dist}
b193ff0
Summary:        Module metadata manipulation library
b193ff0
efaa141
# COPYING:      MIT
efaa141
## not in any binary package
8bdb2b1
# contrib/coverity-modeling.c:  GPL-2.0-or-later
8bdb2b1
# contrib/release-tools/semver: GPL-3.0-only
54cce88
# modulemd/tests/test_data/f29.yaml:            Apache-2.0
54cce88
# modulemd/tests/test_data/f29-updates.yaml:    Apache-2.0
54cce88
# xml_specs/reduced/tests/good/module_stream_build_license.xml: MIT AND (MIT AND GPL-3.0-or-later)
01e97e6
License:        MIT
94a473c
URL:            https://github.com/fedora-modularity/libmodulemd
9b2beab
Source0:        %{url}/releases/download/%{version}/modulemd-%{version}.tar.xz
9b2beab
Source1:        %{url}/releases/download/%{version}/modulemd-%{version}.tar.xz.asc
9b2beab
# Key exported from Petr Pisar's keyring
8cc66e7
Source2:        gpgkey-E3F42FCE156830A80358E6E94FD1AEC3365AF7BF.gpg
59d02d0
# Fix building with glib2-doc 2.79.0, in upstream after 2.15.0
59d02d0
Patch0:         modulemd-2.15.0-build-Move-computing-gtk-doc-module-paths-to-the-che.patch
59d02d0
Patch1:         modulemd-2.15.0-doc-Adapt-GLib-documentation-path-to-GLib-2.79.0.patch
b193ff0
8cc66e7
BuildRequires:  gnupg2
ae46f72
BuildRequires:  meson >= 0.47
0aeebdd
BuildRequires:  pkgconfig
b193ff0
BuildRequires:  gcc
5500b78
BuildRequires:  gcc-c++
b193ff0
BuildRequires:  pkgconfig(gobject-2.0)
b193ff0
BuildRequires:  pkgconfig(gobject-introspection-1.0)
b193ff0
BuildRequires:  pkgconfig(yaml-0.1)
94bc7ce
BuildRequires:  pkgconfig(gtk-doc)
ac46535
BuildRequires:  glib2-doc
8daa4da
BuildRequires:  rpm-devel
a0feddd
%if %{build_python2}
a1c7344
BuildRequires:  python2-devel
a1c7344
BuildRequires:  python-gobject-base
a0feddd
%endif
f5554ca
%if %{build_python3}
30ae62e
BuildRequires:  python%{python3_pkgversion}-devel
30ae62e
BuildRequires:  python%{python3_pkgversion}-gobject-base
f5554ca
%endif
9fff9ef
%if 0%{?fedora} >= 40 && 0%{?fedora} < 42
9fff9ef
# glib2 version with g_once_init_enter_pointer symbol, bug #2265336
9fff9ef
Requires:       glib2 >= 2.79.0-2
9fff9ef
%endif
adb02d1
a1c7344
b193ff0
%description
f5554ca
C library for manipulating module metadata files.
5da1cc7
See https://github.com/fedora-modularity/libmodulemd/blob/main/README.md for
21ac191
more details.
b193ff0
0aeebdd
a1c7344
%if %{build_python2}
a1c7344
%package -n python2-%{name}
f5554ca
Summary:        Python 2 bindings for %{name}
f5554ca
Requires:       %{name}%{?_isa} = %{version}-%{release}
f5554ca
Requires:       python-gobject-base
f5554ca
Requires:       python-six
a1c7344
a1c7344
%description -n python2-%{name}
f5554ca
Python 2 bindings for %{name}.
a1c7344
%endif
a1c7344
a1c7344
f5554ca
%if %{build_python3}
0cc560d
%package -n python%{python3_pkgversion}-%{name}
f5554ca
Summary:        Python 3 bindings for %{name}
f5554ca
Requires:       %{name}%{?_isa} = %{version}-%{release}
f5554ca
Requires:       python%{python3_pkgversion}-gobject-base
30ae62e
%if (0%{?rhel} && 0%{?rhel} <= 7)
30ae62e
# The py3_dist macro on EPEL 7 doesn't work right at the moment
f5554ca
Requires:       python3.6dist(six)
30ae62e
%else
f5554ca
Requires:       %{py3_dist six}
30ae62e
%endif
34765fc
0cc560d
%description -n python%{python3_pkgversion}-%{name}
f5554ca
Python %{python3_pkgversion} bindings for %{name}.
f5554ca
%endif
34765fc
34765fc
b193ff0
%package devel
1447f41
Summary:        Development files for libmodulemd
1447f41
Requires:       %{name}%{?_isa} = %{version}-%{release}
30ae62e
%if (0%{?rhel} && 0%{?rhel} <= 7)
30ae62e
Conflicts:      libmodulemd1-devel
30ae62e
Conflicts:      libmodulemd-devel
30ae62e
%endif
b193ff0
0aeebdd
b193ff0
%description devel
f5554ca
Development files for %{name}.
b193ff0
0aeebdd
b193ff0
%prep
8cc66e7
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
d99905d
%autosetup -p1 -n modulemd-%{version}
b193ff0
0aeebdd
b193ff0
%build
f5554ca
%meson \
a09554e
    %{meson_accept_overflowed_buildorder_flag} \
f5554ca
    -Drpmio=enabled \
f5554ca
    -Dskip_introspection=false \
f5554ca
    -Dtest_installed_lib=false \
f5554ca
    -Dwith_docs=true \
f5554ca
    -Dwith_manpages=enabled \
f5554ca
    %{meson_python_flags}
b193ff0
%meson_build
b193ff0
0aeebdd
b193ff0
%check
b193ff0
export LC_CTYPE=C.utf8
0cc560d
# The tests sometimes time out in CI, so give them a little extra time
0cc560d
%{__meson} test -C %{_vpath_builddir} %{?_smp_mesonflags} --print-errorlogs -t 5
b193ff0
0aeebdd
b193ff0
%install
b193ff0
%meson_install
b193ff0
0cc560d
%if ( 0%{?rhel} && 0%{?rhel} <= 7)
0cc560d
# Don't conflict with modulemd-validator from 1.x included in the official
0cc560d
# RHEL 7 repos
0cc560d
mv %{buildroot}%{_bindir}/modulemd-validator \
30ae62e
   %{buildroot}%{_bindir}/modulemd-validator%{?v2_suffix}
30ae62e
30ae62e
mv %{buildroot}%{_mandir}/man1/modulemd-validator.1 \
30ae62e
   %{buildroot}%{_mandir}/man1/modulemd-validator%{?v2_suffix}.1
0cc560d
%endif
0cc560d
0cc560d
0cc560d
%ldconfig_scriptlets
0cc560d
0aeebdd
b193ff0
%files
b193ff0
%license COPYING
f5554ca
%doc NEWS README.md
30ae62e
%{_bindir}/modulemd-validator%{?v2_suffix}
30ae62e
%{_mandir}/man1/modulemd-validator%{?v2_suffix}.1*
30ae62e
%{_libdir}/%{upstream_name}.so.2*
1447f41
%dir %{_libdir}/girepository-1.0
5500b78
%{_libdir}/girepository-1.0/Modulemd-2.0.typelib
5500b78
5500b78
5500b78
%files devel
30ae62e
%{_libdir}/%{upstream_name}.so
5500b78
%{_libdir}/pkgconfig/modulemd-2.0.pc
5500b78
%{_includedir}/modulemd-2.0/
5500b78
%dir %{_datadir}/gir-1.0
5500b78
%{_datadir}/gir-1.0/Modulemd-2.0.gir
5500b78
%dir %{_datadir}/gtk-doc
5500b78
%dir %{_datadir}/gtk-doc/html
5500b78
%{_datadir}/gtk-doc/html/modulemd-2.0/
b193ff0
0aeebdd
a1c7344
%if %{build_python2}
a1c7344
%files -n python2-%{name}
a1c7344
%{python2_sitearch}/gi/overrides/
a1c7344
%endif
a1c7344
a1c7344
f5554ca
%if %{build_python3}
0cc560d
%files -n python%{python3_pkgversion}-%{name}
a1c7344
%{python3_sitearch}/gi/overrides/
f5554ca
%endif
a1c7344
a1c7344
8b33224
%changelog
9fff9ef
* Tue Feb 27 2024 Petr Pisar <ppisar@redhat.com> - 2.15.0-9
9fff9ef
- Require glib2 version with g_once_init_enter_pointer symbol (bug #2265336)
9fff9ef
59d02d0
* Mon Jan 29 2024 Petr Pisar <ppisar@redhat.com> - 2.15.0-8
59d02d0
- Fix building with glib2-doc 2.79.0
59d02d0
36f1a01
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-7
36f1a01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
36f1a01
4d0466e
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-6
4d0466e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4d0466e
3ea1c45
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-5
3ea1c45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3ea1c45
94ab733
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 2.15.0-4
94ab733
- Rebuilt for Python 3.12
94ab733
0c7a9dc
* Wed May 10 2023 Florian Festi <ffesti@redhat.com>  - 2.15.0-3
0c7a9dc
- Rebuild for rpm-4.18.90
0c7a9dc
27262aa
* Wed May 10 2023 Petr Pisar <ppisar@redhat.com> - 2.15.0-2
27262aa
- Adapt STI tests to current meson
27262aa
8bdb2b1
* Wed May 10 2023 Petr Pisar <ppisar@redhat.com> - 2.15.0-1
8bdb2b1
- 2.15.0 bump
8bdb2b1
ca231d3
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-5
ca231d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
ca231d3
26ffe78
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-4
26ffe78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
26ffe78
241787c
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.14.0-3
241787c
- Rebuilt for Python 3.11
241787c
d990842
* Tue Feb 08 2022 Petr Pisar <ppisar@redhat.com> - 2.14.0-2
d990842
- Drop removed meson -D developer_build option from CI tests
d990842
09a8346
* Fri Feb 04 2022 Petr Pisar <ppisar@redhat.com> - 2.14.0-1
09a8346
- 2.14.0 bump
09a8346
782f8ca
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-4
782f8ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
782f8ca
a09554e
* Tue Sep 14 2021 Petr Pisar <ppisar@redhat.com> - 2.13.0-3
a09554e
- Accept an invalid buildorder 18446744073709551615 found in RHEL 8 repositories
a09554e
  (https://pagure.io/koji/issue/3025)
a09554e
91e1569
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-2
91e1569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
91e1569
f5554ca
* Fri Jul 09 2021 Petr Pisar <ppisar@redhat.com> - 2.13.0-1
f5554ca
- 2.13.0 bump
f5554ca
7bc296f
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.12.1-2
7bc296f
- Rebuilt for Python 3.10
7bc296f
8cc66e7
* Mon May 03 2021 Petr Pisar <ppisar@redhat.com> - 2.12.1-1
8cc66e7
- 2.12.1 bump
8cc66e7
88cd0dc
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-2
88cd0dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
88cd0dc
1647405
* Thu Jan 14 2021 Stephen Gallagher <sgallagh@redhat.com> - 2.12.0-1
1647405
- Add support for 'buildorder' to Packager documents
1647405
d64a094
* Tue Jan 12 2021 Stephen Gallagher <sgallagh@redhat.com> - 2.11.2-2
d64a094
- Fix issue with ModuleIndex when input contains only Obsoletes documents
d64a094
- Fix import issue when built with Python 2 support
d64a094
c955134
* Thu Jan 07 2021 Stephen Gallagher <sgallagh@redhat.com> - 2.11.2-1
c955134
- Release 2.11.2
c955134
- Extend read_packager_[file|string]() to support overriding the module name
c955134
  and stream.
c955134
95b41cf
* Thu Dec 17 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.11.1-1
95b41cf
- Release 2.11.1
95b41cf
- Ignore Packager documents when running ModuleIndex.update_from_*()
95b41cf
- Add python overrides for XMD in PackagerV3
95b41cf
- Add python override to ignore the GType return when reading packager files
95b41cf
- Add PackagerV3.get_mdversion()
95b41cf
2f84cc0
* Thu Dec 10 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.11.0-1
2f84cc0
- Release 2.11.0
2f84cc0
5b07622
* Fri Nov 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.10.0-2
5b07622
- Fix integer size issue on 32-bit platforms
5b07622
c50987c
* Fri Nov 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.10.0-1
c50987c
- Release 2.10.0
c50987c
- https://github.com/fedora-modularity/libmodulemd/releases/tag/libmodulemd-2.10.0
c50987c
9466830
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-3
9466830
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9466830
eb87df0
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 2.9.4-2
eb87df0
- Rebuilt for Python 3.9
eb87df0
3949089
* Wed May 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.4-1
3949089
- new upstream release: 2.9.4
3949089
0bc81ec
* Wed May 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.4-2.9.300520.1gitgc19757c
0bc81ec
- new upstream release: 2.9.4
0bc81ec
b55b1da
* Wed Apr 08 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.3-1
b55b1da
- new upstream release: 2.9.3
b55b1da
05f8dde
* Wed Apr 01 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-4
05f8dde
- Skip rpmdeplint from gating due to https://github.com/fedora-infra/bodhi/issues/3944
05f8dde
2afb480
* Wed Apr 01 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-3
2afb480
- Fix build against Python 3.9
2afb480
- Resolves: rhbz#1817665
2afb480
566e43a
* Wed Mar 11 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-2
efa04b7
- new upstream release: 2.9.2
efa04b7
30ae62e
* Wed Mar 11 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-0.20200311.1gitg31bbd4e
30ae62e
- new upstream release: 2.9.2
30ae62e
296bee4
* Wed Mar 11 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-0.20200311.1gitg31bbd4e
296bee4
- new upstream release: 2.9.2
296bee4
17fc784
* Fri Feb 14 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.1-1
17fc784
- new upstream release: 2.9.1
17fc784
217e04a
* Wed Feb 12 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.0-1
0cc560d
- new upstream release: 2.9.0
0cc560d
4c5612d
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
4c5612d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4c5612d
eb1c39d
* Thu Jan 09 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.8.3-1
eb1c39d
- Update to 2.8.3
eb1c39d
- Fix compilation issue with glib >= 2.63.3
eb1c39d
- Improved modulemd document validation
eb1c39d
- Numerous test enhancements
eb1c39d
abb5f54
* Thu Oct 24 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.2-1
abb5f54
- Update to 2.8.2
abb5f54
- Use safer version of dup()
abb5f54
- Fix loading of YAML module stream with no module or stream name
abb5f54
f2978a9
* Tue Oct 15 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.1-1
f2978a9
- Improve the merge logic to handle third-party repos more sanely
f2978a9
2e530f2
* Wed Sep 18 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.0-2
2e530f2
- Improvements to ModuleIndex.update_from_defaults_directory()
2e530f2
  * Import each file in the directory as a merge rather than an overwrite so
2e530f2
    we can detect conflicts.
2e530f2
  * Modify the meaning of the 'strict' argument to fail if the merge would
2e530f2
    result in a conflict in the default stream setting of a module.
2e530f2
8daa4da
* Wed Sep 04 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.0-1
8daa4da
- Update to 2.8.0
8daa4da
- API Changes
8daa4da
  * Add Modulemd.Module.get_translation() - Retrieve the translations
8daa4da
    associated with a Modulemd.Module
8daa4da
  * Add ModuleIndex.update_from_defaults_directory() - Import defaults from a
8daa4da
    directory of yaml documents, such as fedora-module-defaults, optionally
8daa4da
    providing a second path containing overrides.
8daa4da
- Enhancements
8daa4da
  * Modulemd.ModuleIndex.update_from_file() now supports reading files
8daa4da
    compressed with gzip, bzip2 or xz. (Issue: #208)
8daa4da
  * Documentation updates
8daa4da
- Bugfixes
8daa4da
  * Assorted minor issues discovered by static analysis tools.
8daa4da
26e1290
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-2
26e1290
- Rebuilt for Python 3.8
26e1290
d99905d
* Thu Aug 15 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.7.0-1
d99905d
- Update to 2.7.0
d99905d
- Drop libmodulemd1 subpackage which is now packaged separately
d99905d
- Add support for 'buildroot' and 'srpm-buildroot' arguments to components
d99905d
478cf91
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
478cf91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
478cf91
82042cb
* Wed Jul 03 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.6.0-1
82042cb
- Update to 2.6.0
82042cb
- New function ModuleIndexMerger.resolve_ext() allowing for strict merging
82042cb
- Profile.get_description() now properly returns available translations
82042cb
- Numerous documentation fixes
82042cb
- Test improvements
82042cb
9ada74e
* Wed May 29 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.5.0-2
9ada74e
- Fix memory issue with Module.search_streams() in the python bindings
9ada74e
fef22fe
* Wed May 22 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.5.0-1
fef22fe
- Update to 2.5.0 and 1.8.11
fef22fe
- Ensure that XMD is always emitted in the same order
fef22fe
- Add .clear_*() functions for all .add_*() functions
fef22fe
- Add ModuleStream.equals()
fef22fe
- Add ModuleIndex.get_default_streams()
fef22fe
7bd3046
* Mon May 13 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.4.0-1
7bd3046
- Update to 2.4.0 and 1.8.10
7bd3046
- Add ModuleStreamV2.clear_dependencies() and .remove_dependencies()
7bd3046
- Fix bugs and memory issues with the XMD python bindings
7bd3046
- Assorted documentation enhancements
7bd3046
dc05c6f
* Fri May 03 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.3.1-1
dc05c6f
- Update to 2.3.1
dc05c6f
- Make Modulemd.Component.set_*() functions accept NULL
dc05c6f
- Fix segmentation fault in XMD code due to improper memory management
dc05c6f
- Fix incompatibility in python2-libmodulemd GObject overrides
dc05c6f
- Fix assorted documentation issues
dc05c6f
7270c6b
* Mon Apr 22 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.3.0-1
7270c6b
- Add ModuleIndex.update_from_custom()
7270c6b
- Add ModuleIndex.dump_to_custom()
7270c6b
- Add Component.equals()
7270c6b
- Add Module.remove_streams_by_NSVCA()
7270c6b
- Fix bug with emitting lists of scalars in XMD
7270c6b
- Fix bug with deduplication in the ModuleIndexMerger
7270c6b
- Fix serious memory leak
7270c6b
1f307b7
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 2.2.3-3
1f307b7
- Rebuild with Meson fix for #1699099
1f307b7
4916052
* Wed Apr 03 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.3-2
4916052
- Fix accidental ABI break
4916052
a0feddd
* Mon Apr 01 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.3-1
a0feddd
- Update to 2.2.3 and 1.8.6
a0feddd
- Fix header issue with ModulemdRpmMapEntry
a0feddd
cf16e8f
* Wed Mar 27 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.2-2
cf16e8f
- Don't run tests on armv7hl/aarch64 since they have timeout problems
cf16e8f
a1c7344
* Wed Mar 27 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.2-1
a1c7344
- Update to libmodulemd 2.2.2
a1c7344
- Add support for python2 on RHEL and Fedora < 31
a1c7344
- Make python subpackages archful for GObject overrides
a1c7344
f534272
* Tue Mar 26 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.1-1
f534272
- Update to libmodulemd 2.2.1
f534272
- Fixes builds on i686
f534272
- Fixes an accidental API error
f534272
7dd6078
* Tue Mar 26 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.0-1
7dd6078
- Update to libmodulemd 2.2.0
7dd6078
- Support for RPM checksums
7dd6078
- Adds a new directive: "buildafter" for specifying build dependencies
7dd6078
- Adds a new directive: "buildonly" to indicate that a component's built
7dd6078
  artifacts should be listed in the "filter" field.
7dd6078
- Deprecate lookup functions by NSVC in favor of NSVCA (including the
7dd6078
  architecture.
7dd6078
3f8ef7d
* Fri Mar 01 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.1.0-4
3f8ef7d
- Don't run tests on 32-bit ARM due to performance issues causing timeouts
3f8ef7d
6d5b8af
* Fri Mar 01 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.1.0-3
6d5b8af
- Have python3-libmodulemd1 properly Obsolete libmodulemd and
6d5b8af
  python3-libmodulemd < 2.
6d5b8af
1203515
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
1203515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1203515
ed17745
* Sat Jan 26 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.1.0-1
ed17745
- Update to libmodulemd 2.1.0 and 1.8.2
ed17745
- Drop upstreamed patches
ed17745
- Add new API ModuleStream.depends_on_stream() and
ed17745
  ModuleStream.build_depends_on_stream() to help support auto-detection of
ed17745
  when a module stream may need to be rebuilt when its dependencies change.
ed17745
- Don't fail merges when default streams differ, treat it as "no default for
ed17745
  this module"
ed17745
- Fix error message
ed17745
- Copy modified value when copying Modulemd.Defaults objects
ed17745
- Fixes discovered by clang and coverity static analysis tools
ed17745
- Test improvements
ed17745
fbc6b4e
* Fri Jan 11 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-3
fbc6b4e
- Fix ordering issue with dependencies
fbc6b4e
- Use glib2 suppression file when running valgrind tests
fbc6b4e
ac437b4
* Fri Jan 11 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-2
ac437b4
- Fix issue reading modified value for defaults from YAML streams
ac437b4
dd26c4a
* Thu Dec 13 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-1
dd26c4a
- Update to 2.0.0 final
dd26c4a
- Assorted fixes for validation
dd26c4a
- Add modulemd-validator tool based on v2 code
dd26c4a
- Fix a crash when merging defaults
dd26c4a
5500b78
* Tue Dec 11 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-0.beta2
5500b78
- Update to 2.0.0beta2
5500b78
- Better validation of stored content during read and write operations
5500b78
- ModuleIndex now returns FALSE if any subdocument fails
5500b78
- Fix tests on 32-bit platforms
5500b78
- Make unknown keys in YAML maps non-fatal for libmodulemd1
5500b78
- Make unknown keys in YAML maps optionally fatal for libmodulemd 2.x
5500b78
- Fix RPM version requirements for libmodulemd1
5500b78
5500b78
* Mon Dec 10 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-0.beta1
5500b78
- Update to 2.0.0beta1
5500b78
- Total rewrite to 2.0 API
5500b78
- https://sgallagh.fedorapeople.org/docs/libmodulemd/2.0/
5500b78
61b348a
* Fri Oct 26 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.7.0-1
61b348a
- Update to 1.7.0
61b348a
- Enhance YAML parser for use with `fedmod lint`
61b348a
- Support running unit tests against installed packages
61b348a
- Include all NSVCs for ModuleStreams in ImprovedModule
61b348a
d4158e4
* Tue Sep 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.4-1
d4158e4
- Update to 1.6.4.
d4158e4
- Add Buildopts to the documentation.
d4158e4
- Deduplicate module streams when merging.
d4158e4
- Drop upstreamed patches.
d4158e4
adb02d1
* Thu Sep 06 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.3-2
adb02d1
- Fix generation of module component YAML
adb02d1
- Output NSVC information using decimal version
adb02d1
c23897b
* Tue Sep 04 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.3-1
c23897b
- Update to 1.6.3
c23897b
- Drop upstreamed patch
c23897b
- Don't return ModuleStream objects from modulemd_module_new_all_from_*_ext()
c23897b
- Ensure that Component buildorder property is signed
c23897b
- Work around optimization bug
c23897b
- Don't crash dumping translation events without summary or desc
c23897b
f37170d
* Thu Aug 09 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.2-2
f37170d
- Fix backwards-incompatible API change
f37170d
- Resolves: rhbz#1607083
f37170d
9f23a9b
* Tue Aug 07 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.2-1
9f23a9b
- Update to 1.6.2
9f23a9b
- Make buildorder a signed integer to match modulemd specification
9f23a9b
8b33224
* Mon Jul 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.1-2
8b33224
- Obsolete unsupported pythonX-modulemd packages
0aeebdd
0aeebdd
* Fri Jul 20 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.1-1
0aeebdd
- Update to 1.6.1
0aeebdd
- Fix header include ordering
0aeebdd
- Suppress empty sections from .dump() ordering
0aeebdd
aea038e
* Wed Jul 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.0-1
aea038e
- Update to 1.6.0
aea038e
- Adds Modulemd.ModuleStream object, deprecating Modulemd.Module
aea038e
- Adds Modulemd.Translation and Modulemd.TranslationEntry objects
aea038e
- Adds Modulemd.ImprovedModule object that collects streams, defaults and
aea038e
  translations together
aea038e
- Adds new Modulemd.index_from_*() funtions to get a hash table of
aea038e
  Modulemd.ImprovedModule objects for easier searching
aea038e
- Moves function documentation to the public headers
aea038e
- Corrects the license headers to MIT (they were incorrectly listed as MITNFA
aea038e
  in previous releases)
aea038e
- Makes the "eol" field optional for Modulemd.ServiceLevel
aea038e
- Clean up HTML documentation
aea038e
- Fixes a type error on 32-bit systems
aea038e
5d6ef73
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
5d6ef73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5d6ef73
7af792a
* Sat Jun 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.2-1
7af792a
- Update to libdmodulemd 1.5.2
7af792a
- Don't free uninitialized memory
7af792a
e49fddb
* Fri Jun 22 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.1-2
e49fddb
- Fix buildopts property not being initialized
e49fddb
cc3fe7a
* Tue Jun 19 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.1-1
cc3fe7a
- Update to version 1.5.1
cc3fe7a
- Re-enable build-time tests
cc3fe7a
885344b
* Mon Jun 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.0-2
885344b
- Temporarily disable build-time tests
885344b
ad3e170
* Mon Jun 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.0-1
ad3e170
- Update to version 1.5.0
ad3e170
- Adds support for "intents" in Modulemd.Defaults
ad3e170
- Adds `Modulemd.get_version()`
ad3e170
- Adds support for RPM whitelists in the buildopts
ad3e170
- Adds a new object: Modulemd.Buildopts
ad3e170
- Deprecates Modulemd.Module.get_rpm_buildopts()
ad3e170
- Deprecates Modulemd.Module.set_rpm_buildopts()
ad3e170
- Fixes some missing license blurbs
ad3e170
5d8fffe
* Tue May 08 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.4.1-1
5d8fffe
- Update to version 1.4.1
5d8fffe
- Improve output from modulemd-validator
5d8fffe
- Drop upstreamed patches
5d8fffe
74f4cd0
* Wed Apr 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.4.0-2
74f4cd0
- Fix pointer math error
74f4cd0
- Fix compilation failure in Fedora build system
74f4cd0
b4fe4a8
* Wed Apr 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.4.0-1
b4fe4a8
- Update to version 1.4.0
b4fe4a8
- Adds new API for returning failed YAML subdocuments
b4fe4a8
- Stop emitting log messages by default (polluting consumer logs)
b4fe4a8
- Validate RPM artifacts for proper NEVRA format
b4fe4a8
- Improve the validator tool
b4fe4a8
- Drop upstreamed patch
b4fe4a8
25b1c75
* Mon Apr 16 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.3.0-2
25b1c75
- Fix serious error in modulemd-defaults emitter
25b1c75
c5ab744
* Fri Apr 13 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.3.0-1
c5ab744
- Update to version 1.3.0
c5ab744
- New Public Objects:
c5ab744
  * Modulemd.Prioritizer - tool to merge module defaults
c5ab744
- New Public Functions:
c5ab744
  * Modulemd.SimpleSet.is_equal()
c5ab744
  * Modulemd.Defaults.copy()
c5ab744
  * Modulemd.Defaults.merge()
c5ab744
413a53e
* Wed Apr 04 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.2.0-1
413a53e
- Update to version 1.2.0
413a53e
- New Functions:
413a53e
  * Modulemd.objects_from_file()
413a53e
  * Modulemd.objects_from_string()
413a53e
  * Modulemd.dump()
413a53e
  * Modulemd.dumps()
413a53e
  * Modulemd.Defaults.new_from_file()
413a53e
  * Modulemd.Defaults.new_from_string()
413a53e
- Deprecated Functions:
413a53e
  * Modulemd.Module.new_all_from_file()
413a53e
  * Modulemd.Module.new_all_from_file_ext()
413a53e
  * Modulemd.Module.new_all_from_string()
413a53e
  * Modulemd.Module.new_all_from_string_ext()
413a53e
  * Modulemd.Module.dump_all()
413a53e
  * Modulemd.Module.dumps_all()
413a53e
- Bugfixes
413a53e
  * Properly use G_BEGIN_DECLS and G_END_DECLS in headers
413a53e
  * Assorted fixes for memory ownership in GObject Introspection
413a53e
a223c79
* Fri Mar 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.3-2
a223c79
- Fix missing G_END_DECL from public headers
a223c79
ba6750e
* Mon Mar 19 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.3-1
ba6750e
- Fix numerous memory leaks
ba6750e
- Drop upstreamed patch
ba6750e
d6c944b
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.2-1
d6c944b
- Update to version 1.1.2
d6c944b
- Revert backwards-incompatible API change
d6c944b
- Fix version string in pkgconfig file
d6c944b
679d3b6
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.1-1
679d3b6
- Update to version 1.1.1
679d3b6
- Make default stream and profiles optional
679d3b6
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/25
679d3b6
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/26
679d3b6
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/27
679d3b6
5c87b19
* Wed Mar 14 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-1
5c87b19
- Update to version 1.1.0
5c87b19
- Adds support for handling modulemd-defaults YAML documents
5c87b19
- Adds peek()/dup() routines to all object properties
5c87b19
- Adds Modulemd.Module.dup_nsvc() to retrieve the canonical form of the unique module identifier.
5c87b19
- Adds support for boolean types in the XMD section
5c87b19
- Revert obsoletion of pythonX-modulemd packages for now
5c87b19
b8df168
* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-2
b8df168
- Obsolete unsupported pythonX-modulemd packages
b8df168
8bbf8bc
* Tue Feb 27 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.4-1
8bbf8bc
- Update to 1.0.4
8bbf8bc
- Rework version autodetection
8bbf8bc
- Avoid infinite loop on unparseable YAML
8bbf8bc
21ac191
* Sun Feb 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.3-1
21ac191
- RPM components are properly emitted when no module components exist
21ac191
- Parser works around late determination of modulemd version
21ac191
fbfc577
* Fri Feb 16 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.2-1
fbfc577
- Be more strict with certain parser edge-cases
fbfc577
- Replace popt argument processing with glib
fbfc577
- Drop upstreamed patches
fbfc577
d0df9e7
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-2
d0df9e7
- Handle certain unlikely format violations
d0df9e7
b68eb69
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-1
b68eb69
- Support modulemd v2
b68eb69
- Add tool to do quick validation of modulemd
b68eb69
- Fix memory management
b68eb69
- Warn and ignore unparseable sub-documents in the YAML
b68eb69
- Fix several memory issues detected by Coverity scan
b68eb69
faebb53
* Tue Feb 06 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.2-1
faebb53
- Update to libmodulemd 0.2.2
faebb53
- Fix numerous minor memory leaks
faebb53
- Fix issues with EOL/SL dates
faebb53
1447f41
* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-3
1447f41
- Own appropriate directories
1447f41
75a7af9
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-2
75a7af9
- Switch to %%ldconfig_scriptlets
75a7af9
8cdfc90
* Fri Jan 05 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.1-1
8cdfc90
- Update to libmodulemd 0.2.1
8cdfc90
- Add 'name' property for Profiles
8cdfc90
94bc7ce
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-2
94bc7ce
- Add missing BuildRequires for gtk-doc
94bc7ce
1bff070
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-1
1bff070
- Update to libmodulemd 0.2.0
1bff070
- Adds gtk-doc generated documentation
1bff070
- (ABI-break) Makes all optional properties accept NULL as a value to clear
1bff070
  them
1bff070
- (ABI-break) Modulemd.SimpleSet takes a STRV (char **) instead of a
1bff070
  GLib.PtrArray
1bff070
- Fixes a bug where the name was not always set for components
1bff070
- Adds support for dumping YAML from the introspected API
1bff070
- Includes add/remove routines for profiles
1bff070
b0d3585
* Sat Sep 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-5
b0d3585
- Use %%_isa in Requires for main package from devel
b0d3585
01e97e6
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-4
01e97e6
- Correct the license to MIT
01e97e6
b193ff0
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-3
b193ff0
- Modifications requested during package review
b193ff0
b193ff0
* Fri Sep 15 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-2
b193ff0
- First public release
b193ff0