diff --git a/pylibmc-1.5.2.tar.gz b/pylibmc-1.5.2.tar.gz deleted file mode 100644 index 55a9d04..0000000 --- a/pylibmc-1.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc54e28a9f1b5b2ec0c030da29c7ad8a15c2755bd98aaa4142eaf419d5fabb33 -size 62262 diff --git a/pylibmc-1.6.0.tar.gz b/pylibmc-1.6.0.tar.gz new file mode 100644 index 0000000..3f98d22 --- /dev/null +++ b/pylibmc-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ef97be4ca5527d5b87dbe77cfdd94b427028caf4136feff7da23c40e1ded6d8 +size 65925 diff --git a/python-pylibmc.changes b/python-pylibmc.changes index 6754f9c..81122ee 100644 --- a/python-pylibmc.changes +++ b/python-pylibmc.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 12 05:07:50 UTC 2019 - John Vandenberg + +- Remove bcond test +- Activate test suite +- Use %license +- Update URL to GitHub repository +- Update to v1.6.0 + ------------------------------------------------------------------- Sat Sep 2 22:06:36 UTC 2017 - jengelh@inai.de diff --git a/python-pylibmc.spec b/python-pylibmc.spec index e21d496..749631d 100644 --- a/python-pylibmc.spec +++ b/python-pylibmc.spec @@ -1,7 +1,7 @@ # # spec file for package python-pylibmc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,29 +12,27 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-pylibmc -Version: 1.5.2 +Version: 1.6.0 Release: 0 Summary: memcached client for Python License: BSD-3-Clause Group: Development/Languages/Python -Url: http://sendapatch.se/projects/pylibmc/ +URL: https://github.com/lericson/pylibmc Source: https://files.pythonhosted.org/packages/source/p/pylibmc/pylibmc-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: libmemcached-devel +BuildRequires: memcached BuildRequires: python-rpm-macros BuildRequires: zlib-devel -%if %{with test} -BuildRequires: %{python_module nose} -%endif %python_subpackages %description @@ -56,17 +54,18 @@ export CFLAGS="%{optflags}" %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} -%if %{with test} %check +%{_sbindir}/memcached & +pid=$! export NOSE_IGNORE_CONFIG_FILES=1 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} nosetests-%{$python_bin_suffix} tests } -%endif +kill $pid %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitearch}/* %changelog