diff options
Diffstat (limited to 'python/python-myrepos-utils.spec')
| -rw-r--r-- | python/python-myrepos-utils.spec | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/python/python-myrepos-utils.spec b/python/python-myrepos-utils.spec deleted file mode 100644 index 0995176..0000000 --- a/python/python-myrepos-utils.spec +++ /dev/null @@ -1,60 +0,0 @@ -%bcond_without check - -%global srcname myrepos-utils - -Name: python-%{srcname} -Version: 0.0.1.1 -Release: %autorelease -Summary: Additional utilities for myrepos - -License: MIT -URL: https://git.sr.ht/~michel-slm/myrepos-utils -Source0: %{pypi_source} - -BuildArch: noarch -BuildRequires: python3-devel - -%global _description %{expand: -Additional utilities for myrepos.} - -%description %_description - - -%package -n %{srcname} -Summary: %{summary} -Requires: myrepos - -%description -n %{srcname} %_description - - -%prep -%autosetup -p1 -n %{srcname}-%{version} - -%generate_buildrequires -%pyproject_buildrequires %{?with_check:-r requirements-test.txt} - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files myrepos_utils - - -%check -%pyproject_check_import myrepos_utils -%if %{with check} -%pytest -%endif - - -%files -n %{srcname} -f %{pyproject_files} -%doc README.md -%license COPYING.md -%{_bindir}/mr-utils - - -%changelog -%autochangelog |
