14
0

Accepting request 682427 from devel:languages:python

- Fix fdupes call

OBS-URL: https://build.opensuse.org/request/show/682427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysndfile?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2019-03-10 08:34:17 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 7 11:26:38 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Fix fdupes call
-------------------------------------------------------------------
Thu Feb 7 22:06:30 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pysndfile
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,7 +23,7 @@ Release: 0
Summary: Cython wrapper class for reading/writing soundfiles
License: LGPL-3.0-only
Group: Development/Languages/Python
URL: http://forge.ircam.fr/p/pysndfile
URL: https://forge-2.ircam.fr/roebel/pysndfile
Source: https://files.pythonhosted.org/packages/source/p/pysndfile/pysndfile-%{version}.tar.gz
Source10: https://forge-2.ircam.fr/roebel/pysndfile/raw/master/COPYING.txt
Source11: https://forge-2.ircam.fr/roebel/pysndfile/raw/master/COPYING.LESSER.txt
@@ -32,8 +32,8 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libsndfile-devel
BuildRequires: python-rpm-macros
Requires: python-numpy
@@ -68,7 +68,7 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand %fdupes %{buildroot}%{python_sitearch}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}