From fd76a407aed231ae037a0e5355456ae021946107 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Feb 23 2022 11:14:38 +0000 Subject: Update modulemd-tools to 0.13-1 --- diff --git a/.gitignore b/.gitignore index 382ff5c..d7c277f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /modulemd-tools-0.9.tar.gz /modulemd-tools-0.10.tar.gz /modulemd-tools-0.11.tar.gz +/modulemd-tools-0.13.tar.gz diff --git a/modulemd-tools.spec b/modulemd-tools.spec index c0a78a7..b3a93e3 100644 --- a/modulemd-tools.spec +++ b/modulemd-tools.spec @@ -1,6 +1,6 @@ Name: modulemd-tools -Version: 0.11 -Release: 2%{?dist} +Version: 0.13 +Release: 1%{?dist} Summary: Collection of tools for parsing and generating modulemd YAML files License: MIT BuildArch: noarch @@ -11,7 +11,9 @@ Source0: https://github.com/rpm-software-management/modulemd-tools/archive/%{ver BuildRequires: createrepo_c BuildRequires: argparse-manpage BuildRequires: python3-devel +BuildRequires: python3-pip BuildRequires: python3-setuptools +BuildRequires: python3-wheel BuildRequires: python3-libmodulemd >= 2.9.3 BuildRequires: python3-dnf 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 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 example if you have several yum repositories and want to merge them into one. @@ -70,6 +75,10 @@ cd createrepo_mod %py3_build cd .. +cd modulemd-add-platform +%py3_build +cd .. + cd modulemd-merge %py3_build cd .. @@ -98,6 +107,10 @@ cd createrepo_mod %py3_install cd .. +cd modulemd-add-platform +%py3_install +cd .. + cd modulemd-merge %py3_install cd .. @@ -118,7 +131,7 @@ cp man/*.1 %{buildroot}%{_mandir}/man1/ %check -export PATH={buildroot}%{_bindir}:$PATH +export PATH=%{buildroot}%{_bindir}:$PATH cd repo2module %{python3} -m pytest -vv @@ -132,6 +145,10 @@ cd createrepo_mod %{python3} -m pytest -vv cd .. +cd modulemd-add-platform +%pytest +cd .. + cd modulemd-merge %{python3} -m pytest -vv -s cd .. @@ -159,9 +176,12 @@ cd .. %{python3_sitelib}/modulemd_tools-*.egg-info/ %{python3_sitelib}/bld2repo %{python3_sitelib}/bld2repo-*.egg-info/ +%{python3_sitelib}/modulemd_add_platform +%{python3_sitelib}/modulemd_add_platform-*.egg-info/ %{_bindir}/repo2module %{_bindir}/dir2module %{_bindir}/createrepo_mod +%{_bindir}/modulemd-add-platform %{_bindir}/modulemd-merge %{_bindir}/modulemd-generate-macros %{_bindir}/bld2repo @@ -169,14 +189,21 @@ cd .. %{_mandir}/man1/repo2module.1* %{_mandir}/man1/dir2module.1* %{_mandir}/man1/createrepo_mod.1* +%{_mandir}/man1/modulemd-add-platform.1* %{_mandir}/man1/modulemd-merge.1* %{_mandir}/man1/modulemd-generate-macros.1.* %{_mandir}/man1/bld2repo.1.* %changelog -* Thu Jan 20 2022 Fedora Release Engineering - 0.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild +* Wed Feb 23 2022 Jakub Kadlcik 0.13-1 +- 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 - 0.12-1 +- Add modulemd-add-platform tool * Mon Aug 23 2021 Jakub Kadlcik 0.11-1 - modulemd_tools: compatibility for upgrade_ext on EPEL8 (frostyx@email.cz) diff --git a/sources b/sources index 0d3403b..ea5c454 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (modulemd-tools-0.11.tar.gz) = 52f537254bf6348e4888fed12e7f4cff446a6f1ef3d258c902c1a0a552811875f118cf83a909058c4f5fc9f2f301c9d3d4c8305ef7878b9a364731d595e8420b +SHA512 (modulemd-tools-0.13.tar.gz) = 1895eed3e73ad1865410acf2dec27ad358ef94215ef6daf2760c7e850c1bf817461001415ad270b36e0e70298c790aa3ff4aca7bb58ccb9cc7f4d88f07dc9a96