17
0

Accepting request 1276816 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1276816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyOpenAL?expand=0&rev=6
This commit is contained in:
2025-05-12 14:52:09 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 12 10:38:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
- convert to pip-based build
-------------------------------------------------------------------
Tue Jan 21 16:44:01 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyOpenAL
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyOpenAL
Version: 0.7.11a1
Release: 0
@@ -25,7 +24,9 @@ License: SUSE-Public-Domain
Group: Development/Languages/Python
URL: https://github.com/Zuzu-Typ/PyOpenAL
Source: https://files.pythonhosted.org/packages/source/P/PyOpenAL/PyOpenAL-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -46,15 +47,16 @@ installed, OGG Vorbis, OGG Opus and FLAC files.
dos2unix README.md
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.md
%license COPYING LICENSE
%{python_sitelib}/*
%{python_sitelib}/openal
%{python_sitelib}/[Pp]y[Oo]pen[Aa][Ll]-%{version}*-info
%changelog