SHA256
1
0
forked from pool/python-kiwi

- Fix spec file

Require docopt-ng for Fedora 41+

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=249
This commit is contained in:
Marcus Schäfer 2024-05-08 12:59:40 +00:00 committed by Git OBS Bridge
parent 20b46d0ef5
commit 72c6b92239
4 changed files with 18 additions and 3 deletions

View File

@ -12,7 +12,7 @@ makedepends=(make gcc python-build python-docopt python-installer python-lxml py
provides=(kiwi-ng kiwi) provides=(kiwi-ng kiwi)
source=("${pkgname}.tar.gz") source=("${pkgname}.tar.gz")
changelog="${pkgname}.changes" changelog="${pkgname}.changes"
md5sums=('e7c3b49a965fe2d842197ab25f84521b') md5sums=('16585c1d596368fcddf095046b9fa384')
build() { build() {

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 08 10:48:57 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix spec file
Require docopt-ng for Fedora 41+
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 07 16:18:28 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com> Tue May 07 16:18:28 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>

View File

@ -76,7 +76,11 @@ BuildRequires: python%{python3_pkgversion}-installer
BuildRequires: python%{python3_pkgversion}-poetry-core >= 1.2.0 BuildRequires: python%{python3_pkgversion}-poetry-core >= 1.2.0
BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-wheel
# doc build requirements # doc build requirements
%if ! (0%{?fedora} >= 41 || 0%{?rhel} >= 10)
BuildRequires: python%{python3_pkgversion}-docopt >= 0.6.2 BuildRequires: python%{python3_pkgversion}-docopt >= 0.6.2
%else
BuildRequires: python%{python3_pkgversion}-docopt-ng
%endif
BuildRequires: python%{python3_pkgversion}-lxml BuildRequires: python%{python3_pkgversion}-lxml
BuildRequires: python%{python3_pkgversion}-requests BuildRequires: python%{python3_pkgversion}-requests
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
@ -396,7 +400,11 @@ Requires: python%{python3_pkgversion}-yaml
Requires: python%{python3_pkgversion}-PyYAML Requires: python%{python3_pkgversion}-PyYAML
%endif %endif
Requires: python%{python3_pkgversion}-simplejson Requires: python%{python3_pkgversion}-simplejson
%if ! (0%{?fedora} >= 41 || 0%{?rhel} >= 10)
Requires: python%{python3_pkgversion}-docopt Requires: python%{python3_pkgversion}-docopt
%else
Requires: python%{python3_pkgversion}-docopt-ng
%endif
Requires: python%{python3_pkgversion}-lxml Requires: python%{python3_pkgversion}-lxml
Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-setuptools

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:e34cfbbed5baaa95d3e99ca34512b419379207f7a6b3b1d39165348e2073f2c2 oid sha256:efed58a0171964457d52cc5a15a010980c039aec23c2549cd331e5b92631385d
size 1016295 size 1016334