Update modulemd-tools to 0.10-1

This commit is contained in:
Jakub Kadlcik 2021-06-14 19:09:35 +02:00
parent f47d7c9e62
commit 15cd7b6046
3 changed files with 26 additions and 6 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/modulemd-tools-0.7.tar.gz /modulemd-tools-0.7.tar.gz
/modulemd-tools-0.8.tar.gz /modulemd-tools-0.8.tar.gz
/modulemd-tools-0.9.tar.gz /modulemd-tools-0.9.tar.gz
/modulemd-tools-0.10.tar.gz

View File

@ -1,6 +1,6 @@
Name: modulemd-tools Name: modulemd-tools
Version: 0.9 Version: 0.10
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
@ -18,6 +18,7 @@ BuildRequires: python3-hawkey
BuildRequires: python3-createrepo_c BuildRequires: python3-createrepo_c
BuildRequires: python3-pyyaml BuildRequires: python3-pyyaml
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: python3-koji
Requires: createrepo_c Requires: createrepo_c
Requires: python3-dnf Requires: python3-dnf
@ -25,6 +26,7 @@ Requires: python3-hawkey
Requires: python3-createrepo_c Requires: python3-createrepo_c
Requires: python3-pyyaml Requires: python3-pyyaml
Requires: python3-libmodulemd >= 2.9.3 Requires: python3-libmodulemd >= 2.9.3
Requires: python3-koji
%description %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 a central piece for building modules. It should be present in the buildroot
before any other module packages are submitted to be built. 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 %prep
%setup -q %setup -q
@ -74,7 +78,11 @@ cd modulemd_tools
%py3_build %py3_build
cd .. cd ..
PYTHONPATH=./modulemd_tools ./man/generate-manpages.sh cd bld2repo
%py3_build
cd ..
PYTHONPATH=./modulemd_tools:./bld2repo ./man/generate-manpages.sh
%install %install
@ -98,6 +106,10 @@ cd modulemd_tools
%py3_install %py3_install
cd .. cd ..
cd bld2repo
%py3_install
cd ..
cp modulemd-generate-macros/modulemd-generate-macros.py \ cp modulemd-generate-macros/modulemd-generate-macros.py \
%{buildroot}%{_bindir}/modulemd-generate-macros %{buildroot}%{_bindir}/modulemd-generate-macros
@ -128,6 +140,9 @@ cd modulemd_tools
%{python3} -m pytest -vv %{python3} -m pytest -vv
cd .. cd ..
cd bld2repo
%{python3} -m pytest -vv
cd ..
%files %files
%doc README.md %doc README.md
@ -142,22 +157,26 @@ cd ..
%{python3_sitelib}/modulemd_merge-*.egg-info/ %{python3_sitelib}/modulemd_merge-*.egg-info/
%{python3_sitelib}/modulemd_tools %{python3_sitelib}/modulemd_tools
%{python3_sitelib}/modulemd_tools-*.egg-info/ %{python3_sitelib}/modulemd_tools-*.egg-info/
%{python3_sitelib}/bld2repo
%{python3_sitelib}/bld2repo-*.egg-info/
%{_bindir}/repo2module %{_bindir}/repo2module
%{_bindir}/dir2module %{_bindir}/dir2module
%{_bindir}/createrepo_mod %{_bindir}/createrepo_mod
%{_bindir}/modulemd-merge %{_bindir}/modulemd-merge
%{_bindir}/modulemd-generate-macros %{_bindir}/modulemd-generate-macros
%{_bindir}/bld2repo
%{_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-merge.1* %{_mandir}/man1/modulemd-merge.1*
%{_mandir}/man1/modulemd-generate-macros.1.* %{_mandir}/man1/modulemd-generate-macros.1.*
%{_mandir}/man1/bld2repo.1.*
%changelog %changelog
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9-2 * Mon Jun 14 2021 Jakub Kadlcik <frostyx@email.cz> 0.10-1
- Rebuilt for Python 3.10 - Added bld2repo (mcurlej@redhat.com)
* Fri Apr 09 2021 Jakub Kadlcik <frostyx@email.cz> 0.9-1 * Fri Apr 09 2021 Jakub Kadlcik <frostyx@email.cz> 0.9-1
- repo2module: drop python-click dependency (frostyx@email.cz) - repo2module: drop python-click dependency (frostyx@email.cz)

View File

@ -1 +1 @@
SHA512 (modulemd-tools-0.9.tar.gz) = cf4c92f381933d0c57ecb79a95dcd66bfb19926e968bf304870284686a3120fe4a6c384f32bcc1548bd3b1179804ef9cb8c6ff5f5ae2f336eebc34aeead2a36d SHA512 (modulemd-tools-0.10.tar.gz) = 62a2dc58405905d11b7b429435f1c782ccfcebb3624870518f15a259d285b78f586e69bd695e5e7565e3e84748289293df140ee4cf16030dc901d14002d7975f