15
0

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inifile?expand=0&rev=4
This commit is contained in:
2025-05-28 12:32:03 +00:00
committed by Git OBS Bridge
parent 351bf82e03
commit d57be8bb1a
2 changed files with 14 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 28 12:31:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Jan 6 10:59:19 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-inifile
#
# Copyright (c) 2022 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,22 +16,22 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-inifile
Version: 0.4.1
Release: 0
License: BSD-3-Clause
Summary: A small INI library for Python
URL: https://github.com/mitsuhiko/python-inifile
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/mitsuhiko/python-inifile
Source0: https://files.pythonhosted.org/packages/source/i/inifile/inifile-%{version}.tar.gz
# Files missing from tarball
Source1: missing_files.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -42,10 +42,10 @@ A small INI library for Python.
%autopatch -p1
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -53,6 +53,7 @@ A small INI library for Python.
%files %{python_files}
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/inifile
%{python_sitelib}/inifile-%{version}*-info
%changelog