diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..209e044 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/makefun-1.6.11.tar.gz diff --git a/python-makefun.spec b/python-makefun.spec new file mode 100644 index 0000000..82666a4 --- /dev/null +++ b/python-makefun.spec @@ -0,0 +1,56 @@ +Name: python-makefun +Version: 1.6.11 +Release: 1%{?dist} +Summary: Dynamically create python functions with a proper signature + +License: BSD +URL: https://pypi.org/project/makefun +Source0: %{pypi_source makefun} + +BuildArch: noarch +BuildRequires: pyproject-rpm-macros + +%global _description \ +%summary. + +%description %_description + +%package -n python3-makefun +Summary: %{summary} +%{?python_provide:%python_provide python3-makefun} + +%description -n python3-makefun %_description + +%prep +%autosetup -n makefun-%{version} + +cat >pyproject.toml < - 1.6.11-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..2d78d9c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (makefun-1.6.11.tar.gz) = 7716fceecf528b5e09a1e1234efb1ad04c56114cfe43d1cb40df1c447a18a2a9af9b475bb5f5829d61d7a60d367b1f62905920e70e9e3a55dd422f864d963bd1