Blame SPECS/libmodulemd.spec

1638d2
%if  0%{?rhel} && 0%{?rhel} <= 7
1638d2
  # There is no python3-gobject-base in RHEL 7. But it exists in EPEL 7.
1638d2
  %global meson_python_flags -Dwith_py2=true -Dwith_py3=true
1638d2
  %global build_python2 1
1638d2
  %global build_python3 1
1638d2
%else
1638d2
  %global meson_python_flags -Dwith_py2=false -Dwith_py3=true
1638d2
  %global build_python2 0
1638d2
  %global build_python3 1
1638d2
%endif
1638d2
1638d2
%if  0%{?rhel} && 0%{?rhel} <= 10
1638d2
  # Support module builds with an invalid buildorder in RHEL 8.
1638d2
  %global meson_accept_overflowed_buildorder_flag -Daccept_overflowed_buildorder=true
1638d2
%else
1638d2
  %global meson_accept_overflowed_buildorder_flag -Daccept_overflowed_buildorder=false
1638d2
%endif
1638d2
1638d2
%global upstream_name libmodulemd
1638d2
1638d2
%if (0%{?rhel} && 0%{?rhel} <= 7)
1638d2
  %global v2_suffix 2
1638d2
%endif
1638d2
1638d2
Name:           %{upstream_name}%{?v2_suffix}
1638d2
Version:        2.13.0
1638d2
Release:        2%{?dist}
1638d2
Summary:        Module metadata manipulation library
1638d2
1638d2
# COPYING:      MIT
1638d2
## not in any binary package
1638d2
# contrib/coverity-modeling.c:  GPLv2+
1638d2
# contrib/release-tools/semver: GPLv3
1638d2
License:        MIT
1638d2
URL:            https://github.com/fedora-modularity/libmodulemd
1638d2
Source0:        %{url}/releases/download/%{version}/modulemd-%{version}.tar.xz
1638d2
Source1:        %{url}/releases/download/%{version}/modulemd-%{version}.tar.xz.asc
1638d2
# Key exported from Petr Pisar's keyring
1638d2
Source2:        gpgkey-E3F42FCE156830A80358E6E94FD1AEC3365AF7BF.gpg
1638d2
# Accept invalid, but existing 18446744073709551615 buildorder when loading
1638d2
# modulemd-v2 documents, bug #1984402, proposed to the upstream
1638d2
Patch0:         modulemd-2.13.0-Accept-18446744073709551615-buildorder-if-accept_ove.patch
1638d2
1638d2
BuildRequires:  gnupg2
1638d2
BuildRequires:  meson >= 0.47
1638d2
BuildRequires:  pkgconfig
1638d2
BuildRequires:  gcc
1638d2
BuildRequires:  gcc-c++
1638d2
BuildRequires:  pkgconfig(gobject-2.0)
1638d2
BuildRequires:  pkgconfig(gobject-introspection-1.0)
1638d2
BuildRequires:  pkgconfig(yaml-0.1)
1638d2
BuildRequires:  pkgconfig(gtk-doc)
1638d2
BuildRequires:  glib2-doc
1638d2
BuildRequires:  rpm-devel
1638d2
BuildRequires:  file-devel
1638d2
%if %{build_python2}
1638d2
BuildRequires:  python2-devel
1638d2
BuildRequires:  python-gobject-base
1638d2
%endif
1638d2
%if %{build_python3}
1638d2
BuildRequires:  python%{python3_pkgversion}-devel
1638d2
BuildRequires:  python%{python3_pkgversion}-gobject-base
1638d2
%endif
1638d2
BuildRequires:  help2man
1638d2
1638d2
1638d2
# Patches
1638d2
1638d2
1638d2
%description
1638d2
C library for manipulating module metadata files.
1638d2
See https://github.com/fedora-modularity/libmodulemd/blob/master/README.md for
1638d2
more details.
1638d2
1638d2
1638d2
%if %{build_python2}
1638d2
%package -n python2-%{name}
1638d2
Summary:        Python 2 bindings for %{name}
1638d2
Requires:       %{name}%{?_isa} = %{version}-%{release}
1638d2
Requires:       python-gobject-base
1638d2
Requires:       python-six
1638d2
1638d2
%description -n python2-%{name}
1638d2
Python 2 bindings for %{name}.
1638d2
%endif
1638d2
1638d2
1638d2
%if %{build_python3}
1638d2
%package -n python%{python3_pkgversion}-%{name}
1638d2
Summary:        Python 3 bindings for %{name}
1638d2
Requires:       %{name}%{?_isa} = %{version}-%{release}
1638d2
Requires:       python%{python3_pkgversion}-gobject-base
1638d2
%if (0%{?rhel} && 0%{?rhel} <= 7)
1638d2
# The py3_dist macro on EPEL 7 doesn't work right at the moment
1638d2
Requires:       python3.6dist(six)
1638d2
%else
1638d2
Requires:       %{py3_dist six}
1638d2
%endif
1638d2
1638d2
%description -n python%{python3_pkgversion}-%{name}
1638d2
Python %{python3_pkgversion} bindings for %{name}.
1638d2
%endif
1638d2
1638d2
1638d2
%package devel
1638d2
Summary:        Development files for libmodulemd
1638d2
Requires:       %{name}%{?_isa} = %{version}-%{release}
1638d2
%if (0%{?rhel} && 0%{?rhel} <= 7)
1638d2
Conflicts:      libmodulemd1-devel
1638d2
Conflicts:      libmodulemd-devel
1638d2
%endif
1638d2
1638d2
1638d2
%description devel
1638d2
Development files for %{name}.
1638d2
1638d2
1638d2
%prep
1638d2
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
1638d2
%autosetup -p1 -n modulemd-%{version}
1638d2
1638d2
1638d2
%build
1638d2
%meson \
1638d2
    %{meson_accept_overflowed_buildorder_flag} \
1638d2
    -Dlibmagic=enabled \
1638d2
    -Drpmio=enabled \
1638d2
    -Dskip_introspection=false \
1638d2
    -Dtest_installed_lib=false \
1638d2
    -Dwith_docs=true \
1638d2
    -Dwith_manpages=enabled \
1638d2
    %{meson_python_flags}
1638d2
%meson_build
1638d2
1638d2
1638d2
%check
1638d2
export LC_CTYPE=C.utf8
1638d2
# The tests sometimes time out in CI, so give them a little extra time
1638d2
%{__meson} test -C %{_vpath_builddir} %{?_smp_mesonflags} --print-errorlogs -t 5
1638d2
1638d2
1638d2
%install
1638d2
%meson_install
1638d2
1638d2
%if ( 0%{?rhel} && 0%{?rhel} <= 7)
1638d2
# Don't conflict with modulemd-validator from 1.x included in the official
1638d2
# RHEL 7 repos
1638d2
mv %{buildroot}%{_bindir}/modulemd-validator \
1638d2
   %{buildroot}%{_bindir}/modulemd-validator%{?v2_suffix}
1638d2
1638d2
mv %{buildroot}%{_mandir}/man1/modulemd-validator.1 \
1638d2
   %{buildroot}%{_mandir}/man1/modulemd-validator%{?v2_suffix}.1
1638d2
%endif
1638d2
1638d2
1638d2
%ldconfig_scriptlets
1638d2
1638d2
1638d2
%files
1638d2
%license COPYING
1638d2
%doc NEWS README.md
1638d2
%{_bindir}/modulemd-validator%{?v2_suffix}
1638d2
%{_mandir}/man1/modulemd-validator%{?v2_suffix}.1*
1638d2
%{_libdir}/%{upstream_name}.so.2*
1638d2
%dir %{_libdir}/girepository-1.0
1638d2
%{_libdir}/girepository-1.0/Modulemd-2.0.typelib
1638d2
1638d2
1638d2
%files devel
1638d2
%{_libdir}/%{upstream_name}.so
1638d2
%{_libdir}/pkgconfig/modulemd-2.0.pc
1638d2
%{_includedir}/modulemd-2.0/
1638d2
%dir %{_datadir}/gir-1.0
1638d2
%{_datadir}/gir-1.0/Modulemd-2.0.gir
1638d2
%dir %{_datadir}/gtk-doc
1638d2
%dir %{_datadir}/gtk-doc/html
1638d2
%{_datadir}/gtk-doc/html/modulemd-2.0/
1638d2
1638d2
1638d2
%if %{build_python2}
1638d2
%files -n python2-%{name}
1638d2
%{python2_sitearch}/gi/overrides/
1638d2
%endif
1638d2
1638d2
1638d2
%if %{build_python3}
1638d2
%files -n python%{python3_pkgversion}-%{name}
1638d2
%{python3_sitearch}/gi/overrides/
1638d2
%endif
1638d2
1638d2
1638d2
%changelog
1638d2
* Thu Aug 12 2021 Petr Pisar <ppisar@redhat.com> - 2.13.0-2
1638d2
- Enable accept_overflowed_buildorder in tier0 tests (bug #1984403)
1638d2
1638d2
* Tue Aug 10 2021 Petr Pisar <ppisar@redhat.com> - 2.13.0-1
1638d2
- 2.13.0 bump (bug #1984403)
1638d2
1638d2
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.12.1-2
1638d2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
1638d2
  Related: rhbz#1991688
1638d2
1638d2
* Mon May 03 2021 Petr Pisar <ppisar@redhat.com> - 2.12.1-1
1638d2
- 2.12.1 bump (bug #1956346)
1638d2
1638d2
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.12.0-3
1638d2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
1638d2
1638d2
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-2
1638d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1638d2
1638d2
* Thu Jan 14 2021 Stephen Gallagher <sgallagh@redhat.com> - 2.12.0-1
1638d2
- Add support for 'buildorder' to Packager documents
1638d2
1638d2
* Tue Jan 12 2021 Stephen Gallagher <sgallagh@redhat.com> - 2.11.2-2
1638d2
- Fix issue with ModuleIndex when input contains only Obsoletes documents
1638d2
- Fix import issue when built with Python 2 support
1638d2
1638d2
* Thu Jan 07 2021 Stephen Gallagher <sgallagh@redhat.com> - 2.11.2-1
1638d2
- Release 2.11.2
1638d2
- Extend read_packager_[file|string]() to support overriding the module name
1638d2
  and stream.
1638d2
1638d2
* Thu Dec 17 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.11.1-1
1638d2
- Release 2.11.1
1638d2
- Ignore Packager documents when running ModuleIndex.update_from_*()
1638d2
- Add python overrides for XMD in PackagerV3
1638d2
- Add python override to ignore the GType return when reading packager files
1638d2
- Add PackagerV3.get_mdversion()
1638d2
1638d2
* Thu Dec 10 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.11.0-1
1638d2
- Release 2.11.0
1638d2
1638d2
* Fri Nov 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.10.0-2
1638d2
- Fix integer size issue on 32-bit platforms
1638d2
1638d2
* Fri Nov 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.10.0-1
1638d2
- Release 2.10.0
1638d2
- https://github.com/fedora-modularity/libmodulemd/releases/tag/libmodulemd-2.10.0
1638d2
1638d2
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-3
1638d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1638d2
1638d2
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 2.9.4-2
1638d2
- Rebuilt for Python 3.9
1638d2
1638d2
* Wed May 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.4-1
1638d2
- new upstream release: 2.9.4
1638d2
1638d2
* Wed May 20 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.4-2.9.300520.1gitgc19757c
1638d2
- new upstream release: 2.9.4
1638d2
1638d2
* Wed Apr 08 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.3-1
1638d2
- new upstream release: 2.9.3
1638d2
1638d2
* Wed Apr 01 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-4
1638d2
- Skip rpmdeplint from gating due to https://github.com/fedora-infra/bodhi/issues/3944
1638d2
1638d2
* Wed Apr 01 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-3
1638d2
- Fix build against Python 3.9
1638d2
- Resolves: rhbz#1817665
1638d2
1638d2
* Wed Mar 11 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-2
1638d2
- new upstream release: 2.9.2
1638d2
1638d2
* Wed Mar 11 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-0.20200311.1gitg31bbd4e
1638d2
- new upstream release: 2.9.2
1638d2
1638d2
* Wed Mar 11 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.2-0.20200311.1gitg31bbd4e
1638d2
- new upstream release: 2.9.2
1638d2
1638d2
* Fri Feb 14 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.1-1
1638d2
- new upstream release: 2.9.1
1638d2
1638d2
* Wed Feb 12 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.9.0-1
1638d2
- new upstream release: 2.9.0
1638d2
1638d2
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
1638d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1638d2
1638d2
* Thu Jan 09 2020 Stephen Gallagher <sgallagh@redhat.com> - 2.8.3-1
1638d2
- Update to 2.8.3
1638d2
- Fix compilation issue with glib >= 2.63.3
1638d2
- Improved modulemd document validation
1638d2
- Numerous test enhancements
1638d2
1638d2
* Thu Oct 24 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.2-1
1638d2
- Update to 2.8.2
1638d2
- Use safer version of dup()
1638d2
- Fix loading of YAML module stream with no module or stream name
1638d2
1638d2
* Tue Oct 15 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.1-1
1638d2
- Improve the merge logic to handle third-party repos more sanely
1638d2
1638d2
* Wed Sep 18 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.0-2
1638d2
- Improvements to ModuleIndex.update_from_defaults_directory()
1638d2
  * Import each file in the directory as a merge rather than an overwrite so
1638d2
    we can detect conflicts.
1638d2
  * Modify the meaning of the 'strict' argument to fail if the merge would
1638d2
    result in a conflict in the default stream setting of a module.
1638d2
1638d2
* Wed Sep 04 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.8.0-1
1638d2
- Update to 2.8.0
1638d2
- API Changes
1638d2
  * Add Modulemd.Module.get_translation() - Retrieve the translations
1638d2
    associated with a Modulemd.Module
1638d2
  * Add ModuleIndex.update_from_defaults_directory() - Import defaults from a
1638d2
    directory of yaml documents, such as fedora-module-defaults, optionally
1638d2
    providing a second path containing overrides.
1638d2
- Enhancements
1638d2
  * Modulemd.ModuleIndex.update_from_file() now supports reading files
1638d2
    compressed with gzip, bzip2 or xz. (Issue: #208)
1638d2
  * Documentation updates
1638d2
- Bugfixes
1638d2
  * Assorted minor issues discovered by static analysis tools.
1638d2
1638d2
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-2
1638d2
- Rebuilt for Python 3.8
1638d2
1638d2
* Thu Aug 15 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.7.0-1
1638d2
- Update to 2.7.0
1638d2
- Drop libmodulemd1 subpackage which is now packaged separately
1638d2
- Add support for 'buildroot' and 'srpm-buildroot' arguments to components
1638d2
1638d2
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
1638d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1638d2
1638d2
* Wed Jul 03 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.6.0-1
1638d2
- Update to 2.6.0
1638d2
- New function ModuleIndexMerger.resolve_ext() allowing for strict merging
1638d2
- Profile.get_description() now properly returns available translations
1638d2
- Numerous documentation fixes
1638d2
- Test improvements
1638d2
1638d2
* Wed May 29 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.5.0-2
1638d2
- Fix memory issue with Module.search_streams() in the python bindings
1638d2
1638d2
* Wed May 22 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.5.0-1
1638d2
- Update to 2.5.0 and 1.8.11
1638d2
- Ensure that XMD is always emitted in the same order
1638d2
- Add .clear_*() functions for all .add_*() functions
1638d2
- Add ModuleStream.equals()
1638d2
- Add ModuleIndex.get_default_streams()
1638d2
1638d2
* Mon May 13 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.4.0-1
1638d2
- Update to 2.4.0 and 1.8.10
1638d2
- Add ModuleStreamV2.clear_dependencies() and .remove_dependencies()
1638d2
- Fix bugs and memory issues with the XMD python bindings
1638d2
- Assorted documentation enhancements
1638d2
1638d2
* Fri May 03 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.3.1-1
1638d2
- Update to 2.3.1
1638d2
- Make Modulemd.Component.set_*() functions accept NULL
1638d2
- Fix segmentation fault in XMD code due to improper memory management
1638d2
- Fix incompatibility in python2-libmodulemd GObject overrides
1638d2
- Fix assorted documentation issues
1638d2
1638d2
* Mon Apr 22 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.3.0-1
1638d2
- Add ModuleIndex.update_from_custom()
1638d2
- Add ModuleIndex.dump_to_custom()
1638d2
- Add Component.equals()
1638d2
- Add Module.remove_streams_by_NSVCA()
1638d2
- Fix bug with emitting lists of scalars in XMD
1638d2
- Fix bug with deduplication in the ModuleIndexMerger
1638d2
- Fix serious memory leak
1638d2
1638d2
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 2.2.3-3
1638d2
- Rebuild with Meson fix for #1699099
1638d2
1638d2
* Wed Apr 03 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.3-2
1638d2
- Fix accidental ABI break
1638d2
1638d2
* Mon Apr 01 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.3-1
1638d2
- Update to 2.2.3 and 1.8.6
1638d2
- Fix header issue with ModulemdRpmMapEntry
1638d2
1638d2
* Wed Mar 27 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.2-2
1638d2
- Don't run tests on armv7hl/aarch64 since they have timeout problems
1638d2
1638d2
* Wed Mar 27 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.2-1
1638d2
- Update to libmodulemd 2.2.2
1638d2
- Add support for python2 on RHEL and Fedora < 31
1638d2
- Make python subpackages archful for GObject overrides
1638d2
1638d2
* Tue Mar 26 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.1-1
1638d2
- Update to libmodulemd 2.2.1
1638d2
- Fixes builds on i686
1638d2
- Fixes an accidental API error
1638d2
1638d2
* Tue Mar 26 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.2.0-1
1638d2
- Update to libmodulemd 2.2.0
1638d2
- Support for RPM checksums
1638d2
- Adds a new directive: "buildafter" for specifying build dependencies
1638d2
- Adds a new directive: "buildonly" to indicate that a component's built
1638d2
  artifacts should be listed in the "filter" field.
1638d2
- Deprecate lookup functions by NSVC in favor of NSVCA (including the
1638d2
  architecture.
1638d2
1638d2
* Fri Mar 01 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.1.0-4
1638d2
- Don't run tests on 32-bit ARM due to performance issues causing timeouts
1638d2
1638d2
* Fri Mar 01 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.1.0-3
1638d2
- Have python3-libmodulemd1 properly Obsolete libmodulemd and
1638d2
  python3-libmodulemd < 2.
1638d2
1638d2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
1638d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1638d2
1638d2
* Sat Jan 26 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.1.0-1
1638d2
- Update to libmodulemd 2.1.0 and 1.8.2
1638d2
- Drop upstreamed patches
1638d2
- Add new API ModuleStream.depends_on_stream() and
1638d2
  ModuleStream.build_depends_on_stream() to help support auto-detection of
1638d2
  when a module stream may need to be rebuilt when its dependencies change.
1638d2
- Don't fail merges when default streams differ, treat it as "no default for
1638d2
  this module"
1638d2
- Fix error message
1638d2
- Copy modified value when copying Modulemd.Defaults objects
1638d2
- Fixes discovered by clang and coverity static analysis tools
1638d2
- Test improvements
1638d2
1638d2
* Fri Jan 11 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-3
1638d2
- Fix ordering issue with dependencies
1638d2
- Use glib2 suppression file when running valgrind tests
1638d2
1638d2
* Fri Jan 11 2019 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-2
1638d2
- Fix issue reading modified value for defaults from YAML streams
1638d2
1638d2
* Thu Dec 13 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-1
1638d2
- Update to 2.0.0 final
1638d2
- Assorted fixes for validation
1638d2
- Add modulemd-validator tool based on v2 code
1638d2
- Fix a crash when merging defaults
1638d2
1638d2
* Tue Dec 11 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-0.beta2
1638d2
- Update to 2.0.0beta2
1638d2
- Better validation of stored content during read and write operations
1638d2
- ModuleIndex now returns FALSE if any subdocument fails
1638d2
- Fix tests on 32-bit platforms
1638d2
- Make unknown keys in YAML maps non-fatal for libmodulemd1
1638d2
- Make unknown keys in YAML maps optionally fatal for libmodulemd 2.x
1638d2
- Fix RPM version requirements for libmodulemd1
1638d2
1638d2
* Mon Dec 10 2018 Stephen Gallagher <sgallagh@redhat.com> - 2.0.0-0.beta1
1638d2
- Update to 2.0.0beta1
1638d2
- Total rewrite to 2.0 API
1638d2
- https://sgallagh.fedorapeople.org/docs/libmodulemd/2.0/
1638d2
1638d2
* Fri Oct 26 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.7.0-1
1638d2
- Update to 1.7.0
1638d2
- Enhance YAML parser for use with `fedmod lint`
1638d2
- Support running unit tests against installed packages
1638d2
- Include all NSVCs for ModuleStreams in ImprovedModule
1638d2
1638d2
* Tue Sep 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.4-1
1638d2
- Update to 1.6.4.
1638d2
- Add Buildopts to the documentation.
1638d2
- Deduplicate module streams when merging.
1638d2
- Drop upstreamed patches.
1638d2
1638d2
* Thu Sep 06 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.3-2
1638d2
- Fix generation of module component YAML
1638d2
- Output NSVC information using decimal version
1638d2
1638d2
* Tue Sep 04 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.3-1
1638d2
- Update to 1.6.3
1638d2
- Drop upstreamed patch
1638d2
- Don't return ModuleStream objects from modulemd_module_new_all_from_*_ext()
1638d2
- Ensure that Component buildorder property is signed
1638d2
- Work around optimization bug
1638d2
- Don't crash dumping translation events without summary or desc
1638d2
1638d2
* Thu Aug 09 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.2-2
1638d2
- Fix backwards-incompatible API change
1638d2
- Resolves: rhbz#1607083
1638d2
1638d2
* Tue Aug 07 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.2-1
1638d2
- Update to 1.6.2
1638d2
- Make buildorder a signed integer to match modulemd specification
1638d2
1638d2
* Mon Jul 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.1-2
1638d2
- Obsolete unsupported pythonX-modulemd packages
1638d2
1638d2
* Fri Jul 20 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.1-1
1638d2
- Update to 1.6.1
1638d2
- Fix header include ordering
1638d2
- Suppress empty sections from .dump() ordering
1638d2
1638d2
* Wed Jul 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.0-1
1638d2
- Update to 1.6.0
1638d2
- Adds Modulemd.ModuleStream object, deprecating Modulemd.Module
1638d2
- Adds Modulemd.Translation and Modulemd.TranslationEntry objects
1638d2
- Adds Modulemd.ImprovedModule object that collects streams, defaults and
1638d2
  translations together
1638d2
- Adds new Modulemd.index_from_*() funtions to get a hash table of
1638d2
  Modulemd.ImprovedModule objects for easier searching
1638d2
- Moves function documentation to the public headers
1638d2
- Corrects the license headers to MIT (they were incorrectly listed as MITNFA
1638d2
  in previous releases)
1638d2
- Makes the "eol" field optional for Modulemd.ServiceLevel
1638d2
- Clean up HTML documentation
1638d2
- Fixes a type error on 32-bit systems
1638d2
1638d2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
1638d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1638d2
1638d2
* Sat Jun 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.2-1
1638d2
- Update to libdmodulemd 1.5.2
1638d2
- Don't free uninitialized memory
1638d2
1638d2
* Fri Jun 22 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.1-2
1638d2
- Fix buildopts property not being initialized
1638d2
1638d2
* Tue Jun 19 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.1-1
1638d2
- Update to version 1.5.1
1638d2
- Re-enable build-time tests
1638d2
1638d2
* Mon Jun 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.0-2
1638d2
- Temporarily disable build-time tests
1638d2
1638d2
* Mon Jun 18 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.5.0-1
1638d2
- Update to version 1.5.0
1638d2
- Adds support for "intents" in Modulemd.Defaults
1638d2
- Adds `Modulemd.get_version()`
1638d2
- Adds support for RPM whitelists in the buildopts
1638d2
- Adds a new object: Modulemd.Buildopts
1638d2
- Deprecates Modulemd.Module.get_rpm_buildopts()
1638d2
- Deprecates Modulemd.Module.set_rpm_buildopts()
1638d2
- Fixes some missing license blurbs
1638d2
1638d2
* Tue May 08 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.4.1-1
1638d2
- Update to version 1.4.1
1638d2
- Improve output from modulemd-validator
1638d2
- Drop upstreamed patches
1638d2
1638d2
* Wed Apr 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.4.0-2
1638d2
- Fix pointer math error
1638d2
- Fix compilation failure in Fedora build system
1638d2
1638d2
* Wed Apr 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.4.0-1
1638d2
- Update to version 1.4.0
1638d2
- Adds new API for returning failed YAML subdocuments
1638d2
- Stop emitting log messages by default (polluting consumer logs)
1638d2
- Validate RPM artifacts for proper NEVRA format
1638d2
- Improve the validator tool
1638d2
- Drop upstreamed patch
1638d2
1638d2
* Mon Apr 16 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.3.0-2
1638d2
- Fix serious error in modulemd-defaults emitter
1638d2
1638d2
* Fri Apr 13 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.3.0-1
1638d2
- Update to version 1.3.0
1638d2
- New Public Objects:
1638d2
  * Modulemd.Prioritizer - tool to merge module defaults
1638d2
- New Public Functions:
1638d2
  * Modulemd.SimpleSet.is_equal()
1638d2
  * Modulemd.Defaults.copy()
1638d2
  * Modulemd.Defaults.merge()
1638d2
1638d2
* Wed Apr 04 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.2.0-1
1638d2
- Update to version 1.2.0
1638d2
- New Functions:
1638d2
  * Modulemd.objects_from_file()
1638d2
  * Modulemd.objects_from_string()
1638d2
  * Modulemd.dump()
1638d2
  * Modulemd.dumps()
1638d2
  * Modulemd.Defaults.new_from_file()
1638d2
  * Modulemd.Defaults.new_from_string()
1638d2
- Deprecated Functions:
1638d2
  * Modulemd.Module.new_all_from_file()
1638d2
  * Modulemd.Module.new_all_from_file_ext()
1638d2
  * Modulemd.Module.new_all_from_string()
1638d2
  * Modulemd.Module.new_all_from_string_ext()
1638d2
  * Modulemd.Module.dump_all()
1638d2
  * Modulemd.Module.dumps_all()
1638d2
- Bugfixes
1638d2
  * Properly use G_BEGIN_DECLS and G_END_DECLS in headers
1638d2
  * Assorted fixes for memory ownership in GObject Introspection
1638d2
1638d2
* Fri Mar 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.3-2
1638d2
- Fix missing G_END_DECL from public headers
1638d2
1638d2
* Mon Mar 19 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.3-1
1638d2
- Fix numerous memory leaks
1638d2
- Drop upstreamed patch
1638d2
1638d2
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.2-1
1638d2
- Update to version 1.1.2
1638d2
- Revert backwards-incompatible API change
1638d2
- Fix version string in pkgconfig file
1638d2
1638d2
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.1-1
1638d2
- Update to version 1.1.1
1638d2
- Make default stream and profiles optional
1638d2
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/25
1638d2
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/26
1638d2
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/27
1638d2
1638d2
* Wed Mar 14 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-1
1638d2
- Update to version 1.1.0
1638d2
- Adds support for handling modulemd-defaults YAML documents
1638d2
- Adds peek()/dup() routines to all object properties
1638d2
- Adds Modulemd.Module.dup_nsvc() to retrieve the canonical form of the unique module identifier.
1638d2
- Adds support for boolean types in the XMD section
1638d2
- Revert obsoletion of pythonX-modulemd packages for now
1638d2
1638d2
* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-2
1638d2
- Obsolete unsupported pythonX-modulemd packages
1638d2
1638d2
* Tue Feb 27 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.4-1
1638d2
- Update to 1.0.4
1638d2
- Rework version autodetection
1638d2
- Avoid infinite loop on unparseable YAML
1638d2
1638d2
* Sun Feb 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.3-1
1638d2
- RPM components are properly emitted when no module components exist
1638d2
- Parser works around late determination of modulemd version
1638d2
1638d2
* Fri Feb 16 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.2-1
1638d2
- Be more strict with certain parser edge-cases
1638d2
- Replace popt argument processing with glib
1638d2
- Drop upstreamed patches
1638d2
1638d2
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-2
1638d2
- Handle certain unlikely format violations
1638d2
1638d2
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-1
1638d2
- Support modulemd v2
1638d2
- Add tool to do quick validation of modulemd
1638d2
- Fix memory management
1638d2
- Warn and ignore unparseable sub-documents in the YAML
1638d2
- Fix several memory issues detected by Coverity scan
1638d2
1638d2
* Tue Feb 06 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.2-1
1638d2
- Update to libmodulemd 0.2.2
1638d2
- Fix numerous minor memory leaks
1638d2
- Fix issues with EOL/SL dates
1638d2
1638d2
* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-3
1638d2
- Own appropriate directories
1638d2
1638d2
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-2
1638d2
- Switch to %%ldconfig_scriptlets
1638d2
1638d2
* Fri Jan 05 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.1-1
1638d2
- Update to libmodulemd 0.2.1
1638d2
- Add 'name' property for Profiles
1638d2
1638d2
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-2
1638d2
- Add missing BuildRequires for gtk-doc
1638d2
1638d2
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-1
1638d2
- Update to libmodulemd 0.2.0
1638d2
- Adds gtk-doc generated documentation
1638d2
- (ABI-break) Makes all optional properties accept NULL as a value to clear
1638d2
  them
1638d2
- (ABI-break) Modulemd.SimpleSet takes a STRV (char **) instead of a
1638d2
  GLib.PtrArray
1638d2
- Fixes a bug where the name was not always set for components
1638d2
- Adds support for dumping YAML from the introspected API
1638d2
- Includes add/remove routines for profiles
1638d2
1638d2
* Sat Sep 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-5
1638d2
- Use %%_isa in Requires for main package from devel
1638d2
1638d2
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-4
1638d2
- Correct the license to MIT
1638d2
1638d2
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-3
1638d2
- Modifications requested during package review
1638d2
1638d2
* Fri Sep 15 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-2
1638d2
- First public release
1638d2