%global debug_package %{nil} Name: repo2module Version: 0.1 Release: 1%{?dist} Summary: A tool to take a yum repository and turn it into a Fedora module stream License: MIT URL: https://github.com/sgallagher/repo2module Source0: https://github.com/sgallagher/repo2module/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-click BuildRequires: python3-dnf BuildRequires: python3-libmodulemd BuildRequires: python3-libdnf BuildRequires: python3-createrepo_c Requires: python3-click Requires: python3-dnf Requires: python3-libmodulemd Requires: python3-libdnf Requires: python3-createrepo_c %description This will generate most of the module metadata that you will need for this repository to be treated as a module. You should examine the contents of modules.yaml and modify it as appropriate. This tool adds all packages in the repository to the API section and the common profile. It will also generate a Defaults object setting this common as the default profile for this stream. It will not set a default stream, so you'll want to do this manually as appropriate. %prep %setup -q %build %py3_build %install %py3_install %check %{python3} setup.py test %files %doc README.md %license LICENSE %{python3_sitelib}/%{name}/ %{python3_sitelib}/%{name}-%{version}-*.egg-info/ %{_bindir}/%{name} %changelog * Fri May 29 2020 Jakub Kadlčík 0.1-1 - Initial package