Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

2 changed files with 5 additions and 11 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Tue May 27 13:07:59 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 25 22:29:10 UTC 2020 - Martin Hauke <mardnh@gmx.de> Sat Jan 25 22:29:10 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-formats # spec file for package python-formats
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2020 SUSE LLC
# Copyright (c) 2016-2020, Martin Hauke <mardnh@gmx.de> # Copyright (c) 2016-2020, Martin Hauke <mardnh@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -17,6 +17,7 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-formats Name: python-formats
Version: 0.1.1 Version: 0.1.1
Release: 0 Release: 0
@ -27,9 +28,7 @@ URL: https://github.com/redodo/formats
Source: https://files.pythonhosted.org/packages/source/f/formats/formats-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/f/formats/formats-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/redodo/formats/master/LICENSE Source1: https://raw.githubusercontent.com/redodo/formats/master/LICENSE
Source2: https://raw.githubusercontent.com/redodo/formats/master/test_formats.py Source2: https://raw.githubusercontent.com/redodo/formats/master/test_formats.py
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@ -44,14 +43,14 @@ cp %{SOURCE1} .
cp %{SOURCE2} . cp %{SOURCE2} .
%build %build
%pyproject_wheel %python_build
%install %install
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pyunittest -v %python_expand %python_exec -m unittest discover -v
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE