python-rfc3339-validator/python-rfc3339-validator.spec
2021-08-31 14:20:38 +08:00

41 lines
953 B
RPMSpec

%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