Name: modulemd-tools Version: 0.16 Release: 1 Summary: Collection of tools for modular (in terms of Fedora Modularity origin) content creators License: MIT BuildArch: noarch URL: https://github.com/rpm-software-management/modulemd-tools Source0: https://github.com/rpm-software-management/modulemd-tools/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-createrepo_mod-fix-failing-tests-on-F39-because-of-n.patch BuildRequires: createrepo_c BuildRequires: python3-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 BuildRequires: python3-createrepo_c BuildRequires: python3-pyyaml BuildRequires: python3-pytest BuildRequires: python3-koji Requires: createrepo_c Requires: python3-dnf Requires: python3-hawkey Requires: python3-createrepo_c Requires: python3-pyyaml Requires: python3-libmodulemd >= 2.9.3 Requires: python3-koji %description Tools provided by this package: repo2module - Takes a YUM repository on its input and creates modules.yaml containing YAML module definitions generated for each package. dir2module - Generates a module YAML definition based on essential module information provided via command-line parameters. The packages provided by the module are found in a specified directory or a text file containing their list. 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. 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 %patch 0 -p1 %build %py3_build PYTHONPATH=: ./man/generate-manpages.sh %install %py3_install install -d %{buildroot}%{_mandir}/man1 cp man/*.1 %{buildroot}%{_mandir}/man1/ %check %{__python3} -m pytest -vv %files %doc README.md %license LICENSE %{python3_sitelib}/modulemd_tools %{python3_sitelib}/modulemd_tools-*.egg-info/ %{_bindir}/repo2module %{_bindir}/dir2module %{_bindir}/createrepo_mod %{_bindir}/modulemd-add-platform %{_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-add-platform.1* %{_mandir}/man1/modulemd-merge.1* %{_mandir}/man1/modulemd-generate-macros.1.* %{_mandir}/man1/bld2repo.1.* %changelog * Tue Feb 18 2025 mywaaagh_admin - 0.16-1 - Init package