Name: python-clock-timer Version: 0.1.6 Release: 1%{?dist} Summary: clock_timer 是 Python 下的时间库,用于时间字符串处理,可在 Web 开发、数据分析 等领域使用。该库 80% 基于 datetime ,使用该库,您能更人性化地处理时间字符串,而无需每次查询 datetime 繁琐的接口。该库主要用于时间加减计算、获取时间对应的周数和星座、获取当前时间、获取时间戳、时间戳和时间字符串的转换 等功能。后期仍会不断优化,欢迎留言。 # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: MIT URL: https://pypi.org/project/clock-timer/ Source0: %{pypi_source clock_timer} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'clock-timer' generated automatically by pyp2spec.} %description %_description %package -n python3-clock-timer Summary: %{summary} %description -n python3-clock-timer %_description %prep %autosetup -p1 -n clock_timer-%{version} %generate_buildrequires %pyproject_buildrequires -r %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-clock-timer -f %{pyproject_files} %changelog * Thu Mar 24 2022 mockbuilder - 0.1.6-1 - Package generated with pyp2spec