From 0b753dfd57f3e528e5319586565e4a440307910c Mon Sep 17 00:00:00 2001 From: Brian Lin Date: Thu, 28 Sep 2023 18:19:34 -0500 Subject: [PATCH] Fix EL9 python dependency Also bump the release version twice since we have a 3.5.0-3 in OSG 23 already: https://github.com/opensciencegrid/xcache/releases/tag/v3.5.0-3 ``` blin@blin-work:~$ podman run --rm -it quay.io/rockylinux/rockylinux:9 rpm -q --provides python3 platform-python = 3.9.16-1.el9 platform-python(x86-64) = 3.9.16-1.el9 python(abi) = 3.9 python(abi) = 3.9 python3 = 3.9.16-1.el9 python3(x86-64) = 3.9.16-1.el9 python3.9 = 3.9.16-1.el9 python3.9(x86-64) = 3.9.16-1.el9 python39 = 3.9.16-1.el9 blin@blin-work:~$ podman run --rm -it quay.io/almalinux/almalinux:9 rpm -q --provides python3 platform-python = 3.9.14-1.el9_1.1 platform-python(x86-64) = 3.9.14-1.el9_1.1 python(abi) = 3.9 python(abi) = 3.9 python3 = 3.9.14-1.el9_1.1 python3(x86-64) = 3.9.14-1.el9_1.1 python3.9 = 3.9.14-1.el9_1.1 python3.9(x86-64) = 3.9.14-1.el9_1.1 python39 = 3.9.14-1.el9_1.1 blin@blin-work:~$ podman run --rm -it quay.io/centos/centos:stream9 rpm -q --provides python3 platform-python = 3.9.16-1.el9 platform-python(x86-64) = 3.9.16-1.el9 python(abi) = 3.9 python(abi) = 3.9 python3 = 3.9.16-1.el9 python3(x86-64) = 3.9.16-1.el9 python3.9 = 3.9.16-1.el9 python3.9(x86-64) = 3.9.16-1.el9 python39 = 3.9.16-1.el9 ``` --- rpm/xcache.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rpm/xcache.spec b/rpm/xcache.spec index 02427e6..c13e431 100644 --- a/rpm/xcache.spec +++ b/rpm/xcache.spec @@ -1,7 +1,7 @@ Name: xcache Summary: XCache scripts and configurations Version: 3.5.0 -Release: 2%{?dist} +Release: 4%{?dist} License: Apache 2.0 Group: Grid URL: https://opensciencegrid.org/docs/ @@ -76,7 +76,7 @@ AutoReq: no Requires: xz Requires: xrootd-server %if 0%{?el9} -Requires: python39(x86-64) +Requires: python3.9(x86-64) %else Requires: python36(x86-64) %endif @@ -306,6 +306,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/grid-security/xrd %config %{_sysconfdir}/xrootd/config.d/03-redir-tuning.cfg %changelog +* Thu Sep 28 2023 Brian Lin - 3.5.0-4 +- Fix EL9 python dependency + * Fri Jun 23 2023 Mátyás Selmeci - 3.5.0-2 - Add xrdcl-http dependency for stash-cache (SOFTWARE-5606)