[python-setproctitle] upstream 1.1.6

Haïkel Guémar hguemar at fedoraproject.org
Sat Aug 4 15:39:55 UTC 2012


commit 64c1486042df7aece5572199dcf00c768d836628
Author: Haïkel Guémar <hguemar at fedoraproject.org>
Date:   Sat Aug 4 17:39:42 2012 +0200

    upstream 1.1.6

 .gitignore               |    1 +
 python-setproctitle.spec |   20 +++++++++-----------
 sources                  |    2 +-
 3 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a06e37b..f06bc59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /setproctitle-1.1.3.tar.gz
+/setproctitle-1.1.6.tar.gz
diff --git a/python-setproctitle.spec b/python-setproctitle.spec
index 0cba7e3..8de207c 100644
--- a/python-setproctitle.spec
+++ b/python-setproctitle.spec
@@ -9,8 +9,8 @@
 %global tarname setproctitle
 
 Name:           python-setproctitle
-Version:        1.1.3
-Release:        3%{?dist}
+Version:        1.1.6
+Release:        1%{?dist}
 Summary:        Python module to customize a process title
 
 License:        BSD
@@ -80,12 +80,7 @@ chmod 0755 %{buildroot}%{python3_sitearch}/setproctitle*.so
 %endif
 
 %check
-BUILD_DIR=$(%{__python} -c "import sys; import platform; \
-print('build/lib.linux-{0}-{1}.{2}'.format(platform.machine(), \
-sys.version_info[0], sys.version_info[1]))")
-gcc `pkg-config --cflags --libs python` -o tests/pyrun tests/pyrun.c
-PYTHONPATH=$BUILD_DIR:$PYTHONPATH ROOT_PATH=$(pwd) \
-                                  %{__python} tests/setproctitle_test.py -v
+make tests/pyrun2
 # FIXME: tests are broken with python3
 %if 0%{?with_python3}
 pushd %{py3dir}
@@ -94,7 +89,7 @@ print('build/lib.linux-{0}-{1}.{2}'.format(platform.machine(), \
 sys.version_info[0], sys.version_info[1]))")
 # looks like tests are not 2to3'ed by setup.py
 2to3 -w --no-diffs tests
-gcc `pkg-config --cflags --libs python3` -o tests/pyrun tests/pyrun.c
+gcc `pkg-config --cflags --libs python3` -o tests/pyrun3 tests/pyrun.c
 PYTHONPATH=$BUILD_DIR:$PYTHONPATH ROOT_PATH=$(pwd) \
                                   %{__python3} tests/setproctitle_test.py -v || :
 popd
@@ -102,18 +97,21 @@ popd
 
 
 %files
-%doc README COPYRIGHT
+%doc README.rst COPYRIGHT
 # For arch-specific packages: sitearch
 %{python_sitearch}/*
 
 %if 0%{?with_python3}
 %files -n python3-%{tarname}
-%doc README COPYRIGHT
+%doc README.rst COPYRIGHT
 # For arch-specific packages: sitearch
 %{python3_sitearch}/*
 %endif
 
 %changelog
+* Sat Aug  4 2012 Haïkel Guémar <hguemar at fedoraproject.org> - 1.1.6-1
+- upstream 1.1.6
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.3-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 1069f3d..0e709c4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-64028521850dc68c5b90d45377de3f5c  setproctitle-1.1.3.tar.gz
+1e42e43b440214b971f4b33c21eac369  setproctitle-1.1.6.tar.gz


More information about the scm-commits mailing list