Name: python-onecat-task-queue Version: 1.0.1 Release: 1%{?dist} Summary: 简单异步任务队列。版本[1.0.1] 更新内容:又是造轮子系列咯,Python上有很多成熟完善的异步任务队列框架可以用,比如Celery,或者RQ,不过这些都不自带消息队列服务,都需要使用Redis、RabbitMQ之类的消息队列才行,我用到小项目中又不需要附带这么多东西,于是自己动手来实现咯。 # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: GPLv3 URL: https://gitee.com/deali/OneCat-TaskQueue Source: %{pypi_source onecat_task_queue} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'onecat-task-queue' generated automatically by pyp2spec.} %description %_description %package -n python3-onecat-task-queue Summary: %{summary} %description -n python3-onecat-task-queue %_description %prep %autosetup -p1 -n onecat_task_queue-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # For official Fedora packages, including files with '*' +auto is not allowed # Replace it with a list of relevant Python modules/globs and list extra files in %%files %pyproject_save_files '*' +auto %check %pyproject_check_import -t %files -n python3-onecat-task-queue -f %{pyproject_files} %changelog * Mon Apr 25 2022 mockbuilder - 1.0.1-1 - Package generated with pyp2spec