15
0
2025-05-28 12:11:49 +00:00
committed by Git OBS Bridge
parent d9d5988d48
commit 2563b39a0f
2 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 28 12:11:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sun Feb 16 20:07:57 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ifconfig-parser
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -12,22 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ifconfig-parser
Version: 0.0.5
Release: 0
License: MIT
Summary: Python package for parsing raw output of ifconfig
Url: https://github.com/KnightWhoSayNi/ifconfig-parser
License: MIT
Group: Development/Languages/Python
URL: https://github.com/KnightWhoSayNi/ifconfig-parser
Source: https://files.pythonhosted.org/packages/source/i/ifconfig-parser/ifconfig-parser-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/KnightWhoSayNi/ifconfig-parser/master/LICENSE
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -41,10 +43,10 @@ sed -i -e '/^#!\//, 1d' ifconfigparser/*.py
rm -f ifconfig_parser.egg-info/.gitignore
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check