From 2549baa96edc69fa58654e592a3466885578beec6b1b67c3af4a11ee0710b457 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 31 Aug 2017 10:43:44 +0000 Subject: [PATCH] Accepting request 519850 from devel:languages:python:singlespec-staging 1 OBS-URL: https://build.opensuse.org/request/show/519850 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=19 --- python-setuptools-git.changes | 12 ++++++++++++ python-setuptools-git.spec | 31 +++++++++++++++---------------- setuptools-git-1.1.tar.gz | 3 --- setuptools-git-1.2.tar.gz | 3 +++ 4 files changed, 30 insertions(+), 19 deletions(-) delete mode 100644 setuptools-git-1.1.tar.gz create mode 100644 setuptools-git-1.2.tar.gz diff --git a/python-setuptools-git.changes b/python-setuptools-git.changes index 8015dca..710dde4 100644 --- a/python-setuptools-git.changes +++ b/python-setuptools-git.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Aug 31 06:54:17 UTC 2017 - toddrme2178@gmail.com + +- update to version 1.2: + * no changelog available + +------------------------------------------------------------------- +Thu Aug 24 13:54:33 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + ------------------------------------------------------------------- Sat May 16 13:26:27 UTC 2015 - p.drouand@gmail.com @@ -53,3 +64,4 @@ Tue May 3 22:08:54 UTC 2011 - alexandre@exatati.com.br Thu Aug 13 19:17:33 UTC 2009 - alexandre@exatati.com.br - Initial package (0.3) for openSUSE. + diff --git a/python-setuptools-git.spec b/python-setuptools-git.spec index 093e6e5..cc0c97d 100644 --- a/python-setuptools-git.spec +++ b/python-setuptools-git.spec @@ -1,7 +1,7 @@ # # spec file for package python-setuptools-git # -# 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,25 +16,22 @@ # -%define mod_name setuptools-git - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-setuptools-git -Version: 1.1 +Version: 1.2 Release: 0 Summary: Setuptools revision control system plugin for Git License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/wichert/setuptools-git -Source: http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: git-core -BuildRequires: python-devel -BuildRequires: python-setuptools -%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 +BuildRequires: python-rpm-macros BuildArch: noarch -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%python_subpackages %description This is a plugin for setuptools that enables git integration. Once @@ -50,19 +47,21 @@ uniform naming convention. %setup -q -n setuptools-git-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %check +export LANG=en_US.UTF-8 # configure git for the test git config --global user.email "test@test.test" git config --global user.name "test" -python setup.py -q test +%python_exec setup.py test -%files +%files %{python_files} %defattr(-,root,root,-) +%doc AUTHORS.txt LICENSE.txt README.rst TODO.txt %{python_sitelib}/* %changelog diff --git a/setuptools-git-1.1.tar.gz b/setuptools-git-1.1.tar.gz deleted file mode 100644 index 5738928..0000000 --- a/setuptools-git-1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:047d7595546635edebef226bc566579d422ccc48a8a91c7d32d8bd174f68f831 -size 9450 diff --git a/setuptools-git-1.2.tar.gz b/setuptools-git-1.2.tar.gz new file mode 100644 index 0000000..e4fc5b8 --- /dev/null +++ b/setuptools-git-1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445 +size 10546