Accepting request 1102126 from devel:tools
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1102126 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b4?expand=0&rev=36
This commit is contained in:
commit
3cdfe66997
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 27 06:41:39 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
||||||
|
|
||||||
|
- add python3-base >= 3.9 to BuildRequires for 15.5 and older
|
||||||
|
- add %{?sle15_python_module_pythons}
|
||||||
|
- switch back to python_module macro to have all this working
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 26 05:20:06 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
Mon Jun 26 05:20:06 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
||||||
|
|
||||||
|
21
b4.spec
21
b4.spec
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define pythons python3
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: b4
|
Name: b4
|
||||||
Version: 0.12.3
|
Version: 0.12.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,15 +26,16 @@ License: GPL-2.0-or-later
|
|||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
|
URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
|
||||||
Source0: https://github.com/mricon/b4/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/mricon/b4/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
|
BuildRequires: %{python_module dkimpy >= 1.0.5}
|
||||||
|
BuildRequires: %{python_module dnspython >= 2.0.0}
|
||||||
|
BuildRequires: %{python_module patatt >= 0.5}
|
||||||
|
BuildRequires: %{python_module requests >= 2.24.0}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: git-filter-repo >= 2.30
|
BuildRequires: git-filter-repo >= 2.30
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-dkimpy >= 1.0.5
|
|
||||||
BuildRequires: python3-dnspython >= 2.0.0
|
|
||||||
BuildRequires: python3-patatt >= 0.5
|
|
||||||
BuildRequires: python3-requests >= 2.24.0
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
Requires: git-filter-repo >= 2.30
|
Requires: git-filter-repo >= 2.30
|
||||||
Requires: python3-dkimpy
|
Requires: python3-dkimpy
|
||||||
@ -60,14 +63,14 @@ rm -rf patatt
|
|||||||
sed -i.old '1{/#!.*/d}' b4/*.py
|
sed -i.old '1{/#!.*/d}' b4/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python3_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python3_install
|
%python_install
|
||||||
%fdupes %{buildroot}%{python3_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python3 setup.py check
|
%python_exec setup.py check
|
||||||
export PYTHONPATH="./"
|
export PYTHONPATH="./"
|
||||||
THEIRS=`%{buildroot}/%{_bindir}/b4 --version`
|
THEIRS=`%{buildroot}/%{_bindir}/b4 --version`
|
||||||
OURS=`sed -n "s/__VERSION__ = '\(.*\)'/\1/p" b4/__init__.py`
|
OURS=`sed -n "s/__VERSION__ = '\(.*\)'/\1/p" b4/__init__.py`
|
||||||
|
Loading…
Reference in New Issue
Block a user