Accepting request 519861 from devel:languages:python:singlespec-staging

1

OBS-URL: https://build.opensuse.org/request/show/519861
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logilab-common?expand=0&rev=50
This commit is contained in:
Todd R 2017-08-31 07:18:34 +00:00 committed by Git OBS Bridge
parent 5a70524e4c
commit e83fdcc711
4 changed files with 25 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f847b36f6c03ffc8521ed61e691501c9713f8654964b90201f2056742d38300
size 190912

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed1c60f32c3fa03dc2efaa730e606db1209d14b4769561ff0365aa584a29360a
size 185150

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 31 07:16:52 UTC 2017 - toddrme2178@gmail.com
- Update to 1.4.1
* pytest: executable deprecated and renamed as logilab-pytest to prevent
conflict with pytest provided by http://pytest.org/
- singlespec autoconversion
-------------------------------------------------------------------
Wed Sep 2 14:23:28 UTC 2015 - mcihar@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package python-logilab-common
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -16,23 +16,20 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-logilab-common
Version: 1.0.2
Version: 1.4.1
Release: 0
Url: http://www.logilab.org/projects/common/
Summary: Python lowlevel functionality shared by logilab projects
License: LGPL-2.1+
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
%if 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
%{py_requires}
%else
Url: http://www.logilab.org/projects/common/
Source: https://files.pythonhosted.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildArch: noarch
%endif
%python_subpackages
%description
The package logilab.common contains several modules providing low level
@ -53,16 +50,16 @@ use google and add "site:lists.logilab.org" to your keywords to narrow
your search. We will soon provide our own search engine.
%prep
%setup -n logilab-common-%{version}
%setup -q -n logilab-common-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root="%{buildroot}"
rm -rf %{buildroot}{%{_bindir}/pytest,%{python_sitelib}/logilab/common/test} # Don't install tests
%python_install
rm -f %{buildroot}%{_bindir}/logilab-pytest
%files
%files %{python_files}
%defattr(-,root,root)
%doc ChangeLog COPYING COPYING.LESSER README
%{python_sitelib}/*