17
0

Compare commits

3 Commits

2 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 2 12:58:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Sep 29 16:57:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mulpyplexer
#
# 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,7 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define pkg_version 0.9
Name: python-mulpyplexer
Version: 0.09
Release: 0
@@ -26,11 +26,12 @@ Group: Development/Languages/Python
URL: https://github.com/zardus/mulpyplexer
Source: https://files.pythonhosted.org/packages/source/m/mulpyplexer/mulpyplexer-%{version}.tar.gz
Source1: https://github.com/zardus/mulpyplexer/raw/master/LICENSE
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -41,14 +42,16 @@ Mulpyplexer is a piece of code that can multiplex interactions with lists of pyt
[ -e LICENSE ] || cp %{SOURCE1} LICENSE
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/mulpyplexer.py
%{python_sitelib}/mulpyplexer-%{pkg_version}*-info
%pycache_only %{python_sitelib}/__pycache__/mulpyplexer*
%changelog