forked from pool/python-statsd
Accepting request 518044 from home:tbechtold:branches:devel:languages:python
- convert to singlespec OBS-URL: https://build.opensuse.org/request/show/518044 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-statsd?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
8d8d7534a3
commit
e30fea5bfc
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 22 06:16:14 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- convert to singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 14 21:06:11 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-statsd
|
||||
Version: 3.2.1
|
||||
Release: 0
|
||||
@@ -23,15 +24,14 @@ Summary: A simple statsd client
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/jsocol/pystatsd
|
||||
Source: https://pypi.python.org/packages/source/s/statsd/statsd-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Source: https://files.pythonhosted.org/packages/source/s/statsd/statsd-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
statsd is a front-end to Graphite. This is a Python client
|
||||
@@ -41,12 +41,12 @@ for the statsd daemon.
|
||||
%setup -q -n statsd-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES LICENSE README.rst
|
||||
%{python_sitelib}/*
|
||||
|
Reference in New Issue
Block a user