From 15cd7b604642c42818ad57440a62fcef899fcabd Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Mon, 14 Jun 2021 19:09:35 +0200 Subject: [PATCH] Update modulemd-tools to 0.10-1 --- .gitignore | 1 + modulemd-tools.spec | 29 ++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6477d7a..1ce868d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /modulemd-tools-0.7.tar.gz /modulemd-tools-0.8.tar.gz /modulemd-tools-0.9.tar.gz +/modulemd-tools-0.10.tar.gz diff --git a/modulemd-tools.spec b/modulemd-tools.spec index 1d7901a..368eba0 100644 --- a/modulemd-tools.spec +++ b/modulemd-tools.spec @@ -1,6 +1,6 @@ Name: modulemd-tools -Version: 0.9 -Release: 2%{?dist} +Version: 0.10 +Release: 1%{?dist} Summary: Collection of tools for parsing and generating modulemd YAML files License: MIT BuildArch: noarch @@ -18,6 +18,7 @@ BuildRequires: python3-hawkey BuildRequires: python3-createrepo_c BuildRequires: python3-pyyaml BuildRequires: python3-pytest +BuildRequires: python3-koji Requires: createrepo_c Requires: python3-dnf @@ -25,6 +26,7 @@ Requires: python3-hawkey Requires: python3-createrepo_c Requires: python3-pyyaml Requires: python3-libmodulemd >= 2.9.3 +Requires: python3-koji %description @@ -48,6 +50,8 @@ modulemd-generate-macros - Generate module-build-macros SRPM package, which is a central piece for building modules. It should be present in the buildroot before any other module packages are submitted to be built. +bld2repo - Simple tool for dowloading build required RPMs of a modular build from koji. + %prep %setup -q @@ -74,7 +78,11 @@ cd modulemd_tools %py3_build cd .. -PYTHONPATH=./modulemd_tools ./man/generate-manpages.sh +cd bld2repo +%py3_build +cd .. + +PYTHONPATH=./modulemd_tools:./bld2repo ./man/generate-manpages.sh %install @@ -98,6 +106,10 @@ cd modulemd_tools %py3_install cd .. +cd bld2repo +%py3_install +cd .. + cp modulemd-generate-macros/modulemd-generate-macros.py \ %{buildroot}%{_bindir}/modulemd-generate-macros @@ -128,6 +140,9 @@ cd modulemd_tools %{python3} -m pytest -vv cd .. +cd bld2repo +%{python3} -m pytest -vv +cd .. %files %doc README.md @@ -142,22 +157,26 @@ cd .. %{python3_sitelib}/modulemd_merge-*.egg-info/ %{python3_sitelib}/modulemd_tools %{python3_sitelib}/modulemd_tools-*.egg-info/ +%{python3_sitelib}/bld2repo +%{python3_sitelib}/bld2repo-*.egg-info/ %{_bindir}/repo2module %{_bindir}/dir2module %{_bindir}/createrepo_mod %{_bindir}/modulemd-merge %{_bindir}/modulemd-generate-macros +%{_bindir}/bld2repo %{_mandir}/man1/repo2module.1* %{_mandir}/man1/dir2module.1* %{_mandir}/man1/createrepo_mod.1* %{_mandir}/man1/modulemd-merge.1* %{_mandir}/man1/modulemd-generate-macros.1.* +%{_mandir}/man1/bld2repo.1.* %changelog -* Fri Jun 04 2021 Python Maint - 0.9-2 -- Rebuilt for Python 3.10 +* Mon Jun 14 2021 Jakub Kadlcik 0.10-1 +- Added bld2repo (mcurlej@redhat.com) * Fri Apr 09 2021 Jakub Kadlcik 0.9-1 - repo2module: drop python-click dependency (frostyx@email.cz) diff --git a/sources b/sources index 5d5c02e..564d4ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (modulemd-tools-0.9.tar.gz) = cf4c92f381933d0c57ecb79a95dcd66bfb19926e968bf304870284686a3120fe4a6c384f32bcc1548bd3b1179804ef9cb8c6ff5f5ae2f336eebc34aeead2a36d +SHA512 (modulemd-tools-0.10.tar.gz) = 62a2dc58405905d11b7b429435f1c782ccfcebb3624870518f15a259d285b78f586e69bd695e5e7565e3e84748289293df140ee4cf16030dc901d14002d7975f