2024-03-13 13:42:12 +00:00
committed by Git OBS Bridge
parent bd8e0403fc
commit da466cf71d
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

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,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-biplist
Version: 1.0.3
@@ -32,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
@@ -49,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
@@ -61,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