17
0

Compare commits

2 Commits

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