forked from pool/python-robotframework
Accepting request 1288110 from devel:languages:python
- Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/request/show/1288110 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-robotframework?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 24 02:22:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 9 15:53:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Nov 9 15:53:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-robotframework
|
# spec file for package python-robotframework
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-robotframework
|
Name: python-robotframework
|
||||||
Version: 7.1.1
|
Version: 7.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -24,7 +23,9 @@ Summary: Generic test automation framework for acceptance testing and ATD
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://robotframework.org/
|
URL: https://robotframework.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/robotframework/robotframework-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/r/robotframework/robotframework-%{version}.zip
|
||||||
|
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
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
@@ -49,10 +50,10 @@ for file in $(grep -l '#!%{_bindir}/env python' src/robot/*.py); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
for p in robot rebot libdoc; do
|
for p in robot rebot libdoc; do
|
||||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||||
done
|
done
|
||||||
@@ -71,6 +72,7 @@ done
|
|||||||
%python_alternative %{_bindir}/rebot
|
%python_alternative %{_bindir}/rebot
|
||||||
%python_alternative %{_bindir}/robot
|
%python_alternative %{_bindir}/robot
|
||||||
%python_alternative %{_bindir}/libdoc
|
%python_alternative %{_bindir}/libdoc
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/robot
|
||||||
|
%{python_sitelib}/robotframework-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user