forked from pool/python-python-memcached
- Version update to 1.59:
* Various fixes for python 3.7 and 3.6 - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-memcached?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
380df1fefd
commit
cea91b03d5
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-memcached
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,23 +18,20 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%bcond_with test
|
||||
Name: python-python-memcached
|
||||
Version: 1.58
|
||||
Version: 1.59
|
||||
Release: 0
|
||||
Summary: Pure python memcached client
|
||||
License: Python-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.tummy.com/Community/software/python-memcached/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-memcached/python-memcached-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
URL: https://github.com/linsomniac/python-memcached
|
||||
Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: memcached
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: memcached
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
@@ -55,6 +52,9 @@ for more information.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-memcached-%{version}
|
||||
sed -i \
|
||||
-e 's:#!/usr/bin/env python::' \
|
||||
memcache.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -62,14 +62,13 @@ for more information.
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
/usr/sbin/memcached &
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md PSF.LICENSE
|
||||
%license PSF.LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user