Hello community,
here is the log from the commit of package python-setproctitle for
openSUSE:Factory checked in at 2019-09-18 13:10:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setproctitle (Old)
and /work/SRC/openSUSE:Factory/.python-setproctitle.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setproctitle"
Wed Sep 18 13:10:22 2019 rev:23 rq:731153 version:1.1.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setproctitle/python-setproctitle.changes
2019-03-04 09:24:47.716553259 +0100
+++
/work/SRC/openSUSE:Factory/.python-setproctitle.new.7948/python-setproctitle.changes
2019-09-18 13:10:45.760698446 +0200
@@ -1,0 +2,11 @@
+Sun Sep 15 10:35:42 UTC 2019 - John Vandenberg <[email protected]>
+
+- Replace PyPI URL with GitHub URL
+- Drop errant skip-failing-tests.patch caused by missing
+ test dependency procps
+- Add use-pkg-config.patch to build using pkg-config instead of
+ python-config, as the latter is not shipped in python3-devel
+- Add LANG in %check to fix openSUSE/SLE 15
+- Use %license
+
+-------------------------------------------------------------------
Old:
----
skip-failing-tests.patch
New:
----
use-pkg-config.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setproctitle.spec ++++++
--- /var/tmp/diff_new_pack.X764vI/_old 2019-09-18 13:10:46.536698283 +0200
+++ /var/tmp/diff_new_pack.X764vI/_new 2019-09-18 13:10:46.540698282 +0200
@@ -23,12 +23,13 @@
Summary: Python module to allow customization of the process title
License: BSD-3-Clause
Group: Development/Libraries/Python
-URL: http://pypi.python.org/pypi/setproctitle/
+URL: https://github.com/dvarrazzo/py-setproctitle/
Source:
https://files.pythonhosted.org/packages/source/s/setproctitle/setproctitle-%{version}.tar.gz
-Patch: skip-failing-tests.patch
+Patch0: use-pkg-config.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
+BuildRequires: procps
BuildRequires: python-rpm-macros
BuildRequires: python3-tools
%python_subpackages
@@ -51,12 +52,14 @@
%python_install
%check
+export LANG=en_US.UTF-8
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
make PYTHON=$python check
}
%files %{python_files}
-%doc COPYRIGHT HISTORY.rst README.rst
+%doc HISTORY.rst README.rst
+%license COPYRIGHT
%{python_sitearch}/*
%changelog
++++++ use-pkg-config.patch ++++++
--- a/Makefile.orig 2019-09-15 17:13:27.656631109 +0700
+++ b/Makefile 2019-09-15 17:16:00.458264928 +0700
@@ -7,15 +7,15 @@
# Customize these to select the Python to build/test
PYTHON ?= python
-PYCONFIG ?= python-config
+PYCONFIG ?= pkg-config
PY2TO3 ?= 2to3
# PYVER value is 2 or 3
PYVER := $(shell $(PYTHON) -c "import sys; print(sys.version_info[0])")
ROOT_PATH := $(shell pwd)
-PYINC := $(shell $(PYCONFIG) --includes)
-PYLIB := $(shell $(PYCONFIG) --ldflags) -L$(shell $(PYCONFIG) --prefix)/lib
+PYINC := $(shell $(PYCONFIG) python$(PYVER) --cflags)
+PYLIB := $(shell $(PYCONFIG) python$(PYVER) --libs) -L$(shell $(PYCONFIG)
python$(PYVER) --prefix)/lib
BUILD_DIR = build/lib.$(PYVER)