generic/.gear/generic.spec

44 lines
842 B
RPMSpec

%define _unpackaged_files_terminate_build 1
%define mod_name generic
Name: python3-module-%mod_name
Version: 1.1.3
Release: alt1
Summary: Generic is a library for Generic programming, also known as Multiple dispatch.
License: LGPL-3.0
Group: Development/Python3
URL: https://github.com/gaphor/generic
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-macros-python3
BuildRequires: rpm-build-python3
BuildRequires: python3-module-pyproject-installer
BuildRequires: python3-module-poetry
%description
%summary.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%files
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %mod_name}/
%doc README.md
%changelog
* Thu Oct 17 2024 Konstantin Kozoriz <kozorizki@basealt.ru> 1.1.3-alt1
- Initial build