diff --git a/logilab-common-1.0.2.tar.gz b/logilab-common-1.0.2.tar.gz deleted file mode 100644 index 479f87c..0000000 --- a/logilab-common-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f847b36f6c03ffc8521ed61e691501c9713f8654964b90201f2056742d38300 -size 190912 diff --git a/logilab-common-1.4.1.tar.gz b/logilab-common-1.4.1.tar.gz new file mode 100644 index 0000000..573c5e1 --- /dev/null +++ b/logilab-common-1.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed1c60f32c3fa03dc2efaa730e606db1209d14b4769561ff0365aa584a29360a +size 185150 diff --git a/python-logilab-common.changes b/python-logilab-common.changes index 64766c6..ae1b08e 100644 --- a/python-logilab-common.changes +++ b/python-logilab-common.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Sep 2 08:48:45 UTC 2017 - jengelh@inai.de + +- Trim non-description and outdated parts about python2.2 + from description. + +------------------------------------------------------------------- +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 diff --git a/python-logilab-common.spec b/python-logilab-common.spec index 5fce8b6..02504d6 100644 --- a/python-logilab-common.spec +++ b/python-logilab-common.spec @@ -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 @@ -43,26 +40,19 @@ checker. Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant -database driver. Command line parsing modules require optik to be -installed, if you're using python2.1 or 2.2. - -Please send any comment, patch or question to the python-projects -mailing-list. Before asking a question, please first search the -archives in case it would have already been answered. You may want to -use google and add "site:lists.logilab.org" to your keywords to narrow -your search. We will soon provide our own search engine. +database driver. %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}/*