diff --git a/python-statsd.spec b/python-statsd.spec index 589d5ec..3fc493c 100644 --- a/python-statsd.spec +++ b/python-statsd.spec @@ -1,33 +1,34 @@ %global _empty_manifest_terminate_build 0 Name: python-statsd -Version: 3.3.0 +Version: 4.0.1 Release: 1 Summary: A simple statsd client. License: MIT URL: https://github.com/jsocol/pystatsd -Source0: https://files.pythonhosted.org/packages/2d/f2/48ffc8d0051849e4417e809dc9420e76084c8a62749b3442915402127caa/statsd-3.3.0.tar.gz +Source0: https://files.pythonhosted.org/packages/27/29/05e9f50946f4cf2ed182726c60d9c0ae523bb3f180588c574dd9746de557/statsd-4.0.1.tar.gz +Source1: setup.py BuildArch: noarch - %description statsd is a friendly front-end to Graphite. %package -n python3-statsd Summary: A simple statsd client. -Provides: python-statsd +Provides: python-statsd = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-statsd - +statsd is a friendly front-end to Graphite. %package help Summary: Development documents and examples for statsd Provides: python3-statsd-doc %description help - +statsd is a friendly front-end to Graphite. %prep -%autosetup -n statsd-3.3.0 +%autosetup -n statsd-%{version} +cp %{SOURCE1} ./ %build %py3_build @@ -67,5 +68,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Dec 07 2022 liqiuyu - 4.0.1-1 +- Update package to version 4.0.1 + * Sat Nov 21 2020 Python_Bot - Package Spec generated diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..5c7e5cf --- /dev/null +++ b/setup.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python + +import setuptools + +if __name__ == "__main__": + setuptools.setup( + name='statsd', + version='4.0.1', + ) diff --git a/statsd-3.3.0.tar.gz b/statsd-3.3.0.tar.gz deleted file mode 100644 index 2068fd8..0000000 Binary files a/statsd-3.3.0.tar.gz and /dev/null differ diff --git a/statsd-4.0.1.tar.gz b/statsd-4.0.1.tar.gz new file mode 100644 index 0000000..c2124ee Binary files /dev/null and b/statsd-4.0.1.tar.gz differ