15
0

Accepting request 412406 from home:1Antoine1:branches:devel:languages:python

- Fix build (boo#985412):
  * Use --record-rpm instead of --record for listing files
    installed with setup.py
  * Fix ConcurrentLogHandler-0.9.1-testpath.patch: py files were
    not installed.

OBS-URL: https://build.opensuse.org/request/show/412406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-concurrentloghandler?expand=0&rev=8
This commit is contained in:
Denisart Benjamin
2016-07-24 15:57:13 +00:00
committed by Git OBS Bridge
parent 3fa72e4afe
commit 89a72a73a1
3 changed files with 16 additions and 8 deletions

View File

@@ -1,10 +1,9 @@
--- setup.py
+++ setup.py
@@ -261,14 +261,7 @@
"cloghandler",
@@ -262,13 +262,7 @@ setup(name='ConcurrentLogHandler',
"portalocker",
],
- package_dir={ '' : 'src', },
package_dir={ '' : 'src', },
- data_files=[
- ('tests', ["stresstest.py"]),
- ('docs', [
@@ -12,7 +11,7 @@
- 'LICENSE',
- ]),
- ],
+ data_files=[ ],
+ data_files=[],
url="http://launchpad.net/python-concurrent-log-handler",
license = "http://www.apache.org/licenses/LICENSE-2.0",
description=doc.pop(0),

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jul 20 17:05:26 UTC 2016 - antoine.belvire@laposte.net
- Fix build (boo#985412):
* Use --record-rpm instead of --record for listing files
installed with setup.py
* Fix ConcurrentLogHandler-0.9.1-testpath.patch: py files were
not installed.
-------------------------------------------------------------------
Thu Sep 26 23:38:12 UTC 2013 - p.drouand@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-concurrentloghandler
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -20,11 +20,11 @@
Name: python-concurrentloghandler
Version: 0.9.1
Release: 1
Release: 0
Summary: Concurrent logging handler
Url: http://pypi.python.org/pypi/ConcurrentLogHandler
License: Apache-2.0
Group: Development/Libraries/Python
Url: http://pypi.python.org/pypi/ConcurrentLogHandler
Source: https://pypi.python.org/packages/source/C/ConcurrentLogHandler/%{modname}-%{version}.tar.gz
Patch0: %modname-0.9.1-testpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -51,7 +51,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --install-data=%_defaultdocdir/%name --record=INSTALLED_FILES
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --install-data=%_defaultdocdir/%name --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)