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,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)