package init

This commit is contained in:
orange-snn 2021-08-26 14:40:27 +08:00
parent 09363e9cd7
commit 606329f73e
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,40 @@
%define debug_package %{nil}
%define pypi_name rfc3339-validator
%define source_name rfc3339_validator
Name: python-rfc3339-validator
Version: 0.1.4
Release: 1
Summary: A pure python RFC3339 validator
License: MIT
URL: https://github.com/naimetti/rfc3339-validator
Source0: https://files.pythonhosted.org/packages/28/ea/a9387748e2d111c3c2b275ba970b735e04e15cdb1eb30693b6b5708c4dbd/%{source_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-six
%description
A pure python RFC3339 validator
%package -n python3-%{pypi_name}
Summary: python3 package for %{pypi_name}
Requires: python3-six
%description -n python3-%{pypi_name}
python3 package for %{pypi_name}
%prep
%autosetup -n %{source_name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%{python3_sitelib}/*
%changelog
* Thu Aug 26 2021 orange-snn<songnannan2@huawei.com> - 0.1.4-1
- Package init

View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: rfc3339_validator
tag_prefix: "^v"
separator: "."

Binary file not shown.