Update modulemd-tools to 0.13-1

This commit is contained in:
Jakub Kadlcik 2022-02-23 12:14:38 +01:00
parent 621f252f8a
commit fd76a407ae
3 changed files with 34 additions and 6 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/modulemd-tools-0.9.tar.gz /modulemd-tools-0.9.tar.gz
/modulemd-tools-0.10.tar.gz /modulemd-tools-0.10.tar.gz
/modulemd-tools-0.11.tar.gz /modulemd-tools-0.11.tar.gz
/modulemd-tools-0.13.tar.gz

View File

@ -1,6 +1,6 @@
Name: modulemd-tools Name: modulemd-tools
Version: 0.11 Version: 0.13
Release: 2%{?dist} Release: 1%{?dist}
Summary: Collection of tools for parsing and generating modulemd YAML files Summary: Collection of tools for parsing and generating modulemd YAML files
License: MIT License: MIT
BuildArch: noarch BuildArch: noarch
@ -11,7 +11,9 @@ Source0: https://github.com/rpm-software-management/modulemd-tools/archive/%{ver
BuildRequires: createrepo_c BuildRequires: createrepo_c
BuildRequires: argparse-manpage BuildRequires: argparse-manpage
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-wheel
BuildRequires: python3-libmodulemd >= 2.9.3 BuildRequires: python3-libmodulemd >= 2.9.3
BuildRequires: python3-dnf BuildRequires: python3-dnf
BuildRequires: python3-hawkey BuildRequires: python3-hawkey
@ -43,6 +45,9 @@ dir2module - Generates a module YAML definition based on essential module
createrepo_mod - A small wrapper around createrepo_c and modifyrepo_c to provide createrepo_mod - A small wrapper around createrepo_c and modifyrepo_c to provide
an easy tool for generating module repositories. an easy tool for generating module repositories.
modulemd-add-platform - Add a new context configuration for a new platform
into a modulemd-packager file.
modulemd-merge - Merge several modules.yaml files into one. This is useful for modulemd-merge - Merge several modules.yaml files into one. This is useful for
example if you have several yum repositories and want to merge them into one. example if you have several yum repositories and want to merge them into one.
@ -70,6 +75,10 @@ cd createrepo_mod
%py3_build %py3_build
cd .. cd ..
cd modulemd-add-platform
%py3_build
cd ..
cd modulemd-merge cd modulemd-merge
%py3_build %py3_build
cd .. cd ..
@ -98,6 +107,10 @@ cd createrepo_mod
%py3_install %py3_install
cd .. cd ..
cd modulemd-add-platform
%py3_install
cd ..
cd modulemd-merge cd modulemd-merge
%py3_install %py3_install
cd .. cd ..
@ -118,7 +131,7 @@ cp man/*.1 %{buildroot}%{_mandir}/man1/
%check %check
export PATH={buildroot}%{_bindir}:$PATH export PATH=%{buildroot}%{_bindir}:$PATH
cd repo2module cd repo2module
%{python3} -m pytest -vv %{python3} -m pytest -vv
@ -132,6 +145,10 @@ cd createrepo_mod
%{python3} -m pytest -vv %{python3} -m pytest -vv
cd .. cd ..
cd modulemd-add-platform
%pytest
cd ..
cd modulemd-merge cd modulemd-merge
%{python3} -m pytest -vv -s %{python3} -m pytest -vv -s
cd .. cd ..
@ -159,9 +176,12 @@ cd ..
%{python3_sitelib}/modulemd_tools-*.egg-info/ %{python3_sitelib}/modulemd_tools-*.egg-info/
%{python3_sitelib}/bld2repo %{python3_sitelib}/bld2repo
%{python3_sitelib}/bld2repo-*.egg-info/ %{python3_sitelib}/bld2repo-*.egg-info/
%{python3_sitelib}/modulemd_add_platform
%{python3_sitelib}/modulemd_add_platform-*.egg-info/
%{_bindir}/repo2module %{_bindir}/repo2module
%{_bindir}/dir2module %{_bindir}/dir2module
%{_bindir}/createrepo_mod %{_bindir}/createrepo_mod
%{_bindir}/modulemd-add-platform
%{_bindir}/modulemd-merge %{_bindir}/modulemd-merge
%{_bindir}/modulemd-generate-macros %{_bindir}/modulemd-generate-macros
%{_bindir}/bld2repo %{_bindir}/bld2repo
@ -169,14 +189,21 @@ cd ..
%{_mandir}/man1/repo2module.1* %{_mandir}/man1/repo2module.1*
%{_mandir}/man1/dir2module.1* %{_mandir}/man1/dir2module.1*
%{_mandir}/man1/createrepo_mod.1* %{_mandir}/man1/createrepo_mod.1*
%{_mandir}/man1/modulemd-add-platform.1*
%{_mandir}/man1/modulemd-merge.1* %{_mandir}/man1/modulemd-merge.1*
%{_mandir}/man1/modulemd-generate-macros.1.* %{_mandir}/man1/modulemd-generate-macros.1.*
%{_mandir}/man1/bld2repo.1.* %{_mandir}/man1/bld2repo.1.*
%changelog %changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2 * Wed Feb 23 2022 Jakub Kadlcik <frostyx@email.cz> 0.13-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - modulemd_add_platform: don't use pyproject macros (frostyx@email.cz)
- createrepo_mod: fix failing test because of modulemd-merge (frostyx@email.cz)
- Add modulemd_add_platform tool (ppisar@redhat.com)
- Fix bld2repo issue causing possibly missed dependencies (fvalder@redhat.com)
* Wed Feb 09 2022 Petr Pisar <ppisar@redhat.com> - 0.12-1
- Add modulemd-add-platform tool
* Mon Aug 23 2021 Jakub Kadlcik <frostyx@email.cz> 0.11-1 * Mon Aug 23 2021 Jakub Kadlcik <frostyx@email.cz> 0.11-1
- modulemd_tools: compatibility for upgrade_ext on EPEL8 (frostyx@email.cz) - modulemd_tools: compatibility for upgrade_ext on EPEL8 (frostyx@email.cz)

View File

@ -1 +1 @@
SHA512 (modulemd-tools-0.11.tar.gz) = 52f537254bf6348e4888fed12e7f4cff446a6f1ef3d258c902c1a0a552811875f118cf83a909058c4f5fc9f2f301c9d3d4c8305ef7878b9a364731d595e8420b SHA512 (modulemd-tools-0.13.tar.gz) = 1895eed3e73ad1865410acf2dec27ad358ef94215ef6daf2760c7e850c1bf817461001415ad270b36e0e70298c790aa3ff4aca7bb58ccb9cc7f4d88f07dc9a96