forked from pool/python-pifpaf
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pifpaf?expand=0&rev=27
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 11:22:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 01:21:59 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pifpaf
|
||||
#
|
||||
# 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,14 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pifpaf
|
||||
Version: 3.1.5
|
||||
Release: 0
|
||||
Summary: Suite of tools and fixtures to manage daemons for testing
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/jd/pifpaf
|
||||
Source: https://pypi.io/packages/source/p/pifpaf/pifpaf-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pifpaf/pifpaf-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -36,11 +35,9 @@ Requires: python-requests
|
||||
Requires: python-testrepository
|
||||
Requires: python-testtools
|
||||
Requires: python-xattr
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(post): alts
|
||||
Requires(postun): alts
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -54,11 +51,11 @@ its precussor `overtest`_.
|
||||
|
||||
%build
|
||||
export LC_ALL=en_US.utf8
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
export LC_ALL=en_US.utf8
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pifpaf
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -74,7 +71,8 @@ export LC_ALL=en_US.utf8
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pifpaf
|
||||
%{python_sitelib}/pifpaf-%{version}*-info
|
||||
%python_alternative %{_bindir}/pifpaf
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user