15
0

Accepting request 511439 from home:seanmarlow:branches:devel:languages:python

Use py2pack package from PyPi instead of Github.

OBS-URL: https://build.opensuse.org/request/show/511439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multidict?expand=0&rev=2
This commit is contained in:
2017-07-19 17:42:00 +00:00
committed by Git OBS Bridge
parent e6620a25d0
commit 8ace2179ad
3 changed files with 15 additions and 6 deletions
+7
View File
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jul 19 14:41:55 UTC 2017 - sean.marlow@suse.com
- Use package from PyPi via py2pack instead of Github.
The packages are not the same.
- Remove compiled shared libraries from package prior to build.
-------------------------------------------------------------------
Thu Jul 13 22:28:39 UTC 2017 - sean.marlow@suse.com
+6 -4
View File
@@ -1,5 +1,5 @@
#
# spec file for package python3-multidict
# spec file for package python-multidict
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
@@ -27,10 +27,10 @@ License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/aio-libs/multidict
Source: https://files.pythonhosted.org/packages/source/m/multidict/multidict-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module Cython}
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
@@ -46,6 +46,8 @@ The code was extracted from the aiohttp library.
%build
export CFLAGS="%{optflags}"
# Package contains pre-compiled shared libraries
rm -f multidict/*.so
%python_build
%install
@@ -53,7 +55,7 @@ export CFLAGS="%{optflags}"
%check
%if %{with test}
# Tests have problems importing the *so file
# Tests have import problems
%endif
%files %{python_files}
BIN
View File
Binary file not shown.