commit
2eaac432ba
40
python-rfc3339-validator.spec
Normal file
40
python-rfc3339-validator.spec
Normal 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
|
||||
4
python-rfc3339-validator.yaml
Normal file
4
python-rfc3339-validator.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: pypi
|
||||
src_repo: rfc3339_validator
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
BIN
rfc3339_validator-0.1.4.tar.gz
Normal file
BIN
rfc3339_validator-0.1.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user