15
0

Accepting request 1157621 from devel:languages:python

- Clean up the SPEC file

- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1157621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-biplist?expand=0&rev=15
This commit is contained in:
2024-03-13 21:20:55 +00:00
committed by Git OBS Bridge
2 changed files with 18 additions and 5 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 13 13:42:06 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file
-------------------------------------------------------------------
Tue Mar 12 11:35:34 UTC 2024 - Max Lin <mlin@suse.com>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon May 31 12:48:50 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-biplist
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 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,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-biplist
Version: 1.0.3
Release: 0
@@ -31,7 +31,9 @@ Patch0: skip-test.patch
# Add plistlib-Data.patch to avoid deprecated plistslib.Data
Patch1: plistlib-Data.patch
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -48,10 +50,10 @@ plists which can be read by OS X, iOS, or other clients.
%autosetup -p1 -n biplist-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,6 +62,7 @@ plists which can be read by OS X, iOS, or other clients.
%files %{python_files}
%license LICENSE
%doc AUTHORS README.md
%{python_sitelib}/*
%{python_sitelib}/biplist
%{python_sitelib}/biplist-%{version}*-info
%changelog