public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nordugrid-arc7] epel8: Update to version 7.2.0
@ 2026-09-07  8:40 Mattias Ellert
  0 siblings, 0 replies; only message in thread
From: Mattias Ellert @ 2026-09-07  8:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/nordugrid-arc7
            Branch : epel8
            Commit : 83302454f8d93fae3895d8bd453f7a87c6744158
            Author : Mattias Ellert <mattias.ellert@physics.uu.se>
            Date   : 2026-09-07T10:34:51+02:00
            Stats  : +81/-30 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/nordugrid-arc7/c/83302454f8d93fae3895d8bd453f7a87c6744158?branch=epel8

            Log:
            Update to version 7.2.0

Build python 3.12 packages for EPEL 9

---
diff --git a/nordugrid-arc7.spec b/nordugrid-arc7.spec
index 90ba894..f945c6a 100644
--- a/nordugrid-arc7.spec
+++ b/nordugrid-arc7.spec
@@ -4,7 +4,7 @@
 
 %global with_s3 1
 
-%if %{?fedora}%{!?fedora:0} >= 43
+%if %{?fedora}%{!?fedora:0} >= 43 || %{?rhel}%{!?rhel:0} >= 11
 %global with_gfal 0
 %else
 %global with_gfal 1
@@ -16,11 +16,16 @@
 
 %global with_ldap_service 1
 
-%if "%{?dist}" == ".el10_0"
-# Dependency python3-prometheus_client not available in EPEL 10.0
-%global exporter 0
+%if %{?rhel}%{!?rhel:0} == 9
+%global with_altpython 1
+%global altpython3_pkgversion 3.12
 %else
-%global exporter 1
+%global with_altpython 0
+%endif
+
+%if %{with_altpython}
+%global altpython3_sitearch %(python%{altpython3_pkgversion} -Ic "import sysconfig; print(sysconfig.get_path('platlib', vars={'platbase': '%{_prefix}', 'base': '%{_prefix}'}))")
+%global altpython3_sitelib  %(python%{altpython3_pkgversion} -Ic "import sysconfig; print(sysconfig.get_path('purelib', vars={'platbase': '%{_prefix}', 'base': '%{_prefix}'}))")
 %endif
 
 %global pkgdir arc
@@ -29,7 +34,7 @@
 %global _bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null || echo %{_sysconfdir}/bash_completion.d)
 
 Name:		nordugrid-arc7
-Version:	7.1.2
+Version:	7.2.0
 Release:	1%{?dist}
 Summary:	Advanced Resource Connector Middleware
 #		Apache-2.0: most files
@@ -55,10 +60,16 @@ BuildRequires:	systemd-rpm-macros
 BuildRequires:	systemd-devel
 BuildRequires:	libuuid-devel
 BuildRequires:	gettext-devel
-BuildRequires:	python%{python3_pkgversion}-devel
-BuildRequires:	python%{python3_pkgversion}-pip
-BuildRequires:	python%{python3_pkgversion}-setuptools
-BuildRequires:	python%{python3_pkgversion}-wheel
+BuildRequires:	python3-devel
+BuildRequires:	python3-pip
+BuildRequires:	python3-setuptools
+BuildRequires:	python3-wheel
+%if %{with_altpython}
+BuildRequires:	python%{altpython3_pkgversion}-devel
+BuildRequires:	python%{altpython3_pkgversion}-pip
+BuildRequires:	python%{altpython3_pkgversion}-setuptools
+BuildRequires:	python%{altpython3_pkgversion}-wheel
+%endif
 %if %{with_pylint}
 BuildRequires:	pylint
 %endif
@@ -464,7 +475,7 @@ Provides:	nordugrid-arc-plugins-python = %{version}-%{release}
 Conflicts:	nordugrid-arc6-plugins-python
 Summary:	ARC Python dependent plugin
 Requires:	%{name} = %{version}-%{release}
-Requires:	python%{python3_pkgversion}-%{name} = %{version}-%{release}
+Requires:	python3-%{name} = %{version}-%{release}
 
 %description plugins-python
 NorduGrid is a collaboration aiming at development, maintenance and
@@ -493,20 +504,34 @@ Connector (ARC).
 
 Header files and libraries needed to develop applications using ARC.
 
-%package -n python%{python3_pkgversion}-%{name}
-Provides:	python%{python3_pkgversion}-nordugrid-arc = %{version}-%{release}
-Conflicts:	python%{python3_pkgversion}-nordugrid-arc6
+%package -n python3-%{name}
+Provides:	python3-nordugrid-arc = %{version}-%{release}
+Conflicts:	python3-nordugrid-arc6
 Summary:	ARC Python 3 wrapper
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
+%py_provides	python3-%{name}
 Requires:	%{name} = %{version}-%{release}
 
-%description -n python%{python3_pkgversion}-%{name}
+%description -n python3-%{name}
 NorduGrid is a collaboration aiming at development, maintenance and
 support of the middleware, known as the Advanced Resource
 Connector (ARC).
 
 Python 3 bindings for ARC.
 
+%if %{with_altpython}
+%package -n python%{altpython3_pkgversion}-%{name}
+Summary:	ARC Python 3 wrapper
+%py_provides	python%{altpython3_pkgversion}-%{name}
+Requires:	%{name} = %{version}-%{release}
+
+%description -n python%{altpython3_pkgversion}-%{name}
+NorduGrid is a collaboration aiming at development, maintenance and
+support of the middleware, known as the Advanced Resource
+Connector (ARC).
+
+Python 3 bindings for ARC.
+%endif
+
 %package test-utils
 Provides:	nordugrid-arc-test-utils = %{version}-%{release}
 Conflicts:	nordugrid-arc6-test-utils
@@ -552,19 +577,32 @@ Connector (ARC).
 This package contains the optional components that provide new job
 management features on the worker nodes (WN).
 
-%package -n python%{python3_pkgversion}-arcrest
+%package -n python3-arcrest
 Summary:	ARC REST client
-%{?python_provide:%python_provide python%{python3_pkgversion}-arcrest}
+%py_provides	python3-arcrest
 BuildArch:	noarch
 
-%description -n python%{python3_pkgversion}-arcrest
+%description -n python3-arcrest
 NorduGrid is a collaboration aiming at development, maintenance and
 support of the middleware, known as the Advanced Resource
 Connector (ARC).
 
 This package contains the ARC REST client.
 
-%if %{exporter}
+%if %{with_altpython}
+%package -n python%{altpython3_pkgversion}-arcrest
+Summary:	ARC REST client
+%py_provides	python%{altpython3_pkgversion}-arcrest
+BuildArch:	noarch
+
+%description -n python%{altpython3_pkgversion}-arcrest
+NorduGrid is a collaboration aiming at development, maintenance and
+support of the middleware, known as the Advanced Resource
+Connector (ARC).
+
+This package contains the ARC REST client.
+%endif
+
 %package arc-exporter
 Provides:	nordugrid-arc-arc-exporter = %{version}-%{release}
 Summary:	ARC Prometheus exporter service
@@ -578,7 +616,6 @@ Connector (ARC).
 
 This package contains the Prometheus arc-exporter which collects and
 publishes metrics about jobs and datastaging on the ARC-CE.
-%endif
 
 %prep
 %setup -q -n nordugrid-arc-%{version}
@@ -593,6 +630,9 @@ autoreconf -v -f -i
      --enable-s3 \
 %endif
      --with-python=python3 \
+%if %{with_altpython}
+     --with-altpython=python%{altpython3_pkgversion} \
+%endif
 %if ! %{with_pylint}
      --disable-pylint \
 %endif
@@ -650,10 +690,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/arc.conf.d
 
 %find_lang nordugrid-arc
 
-%if ! %{exporter}
-rm %{buildroot}%{_sbindir}/arc-exporter
-%endif
-
 # Remove examples and let RPM package them under /usr/share/doc using the doc macro
 rm -rf %{buildroot}%{_datadir}/%{pkgdir}/examples
 make -C src/libs/data-staging/examples	DESTDIR=$PWD/docdir/devel  pkgdatadir= install-exampleDATA
@@ -1133,11 +1169,17 @@ systemctl try-restart arc-infosys-ldap.service > /dev/null 2>&1 || :
 %{_bindir}/arcplugin
 %doc %{_mandir}/man1/arcplugin.1*
 
-%files -n python%{python3_pkgversion}-%{name}
+%files -n python3-%{name}
 %{python3_sitearch}/_arc.*so
 %{python3_sitearch}/%{pkgdir}/[^_p]*.py
 %{python3_sitearch}/%{pkgdir}/__pycache__/[^_p]*.*
 
+%if %{with_altpython}
+%files -n python%{altpython3_pkgversion}-%{name}
+%{altpython3_sitearch}/_arc.*so
+%{altpython3_sitearch}/%{pkgdir}
+%endif
+
 %files test-utils
 %{_bindir}/arcperftest
 %doc %{_mandir}/man1/arcperftest.1*
@@ -1148,17 +1190,26 @@ systemctl try-restart arc-infosys-ldap.service > /dev/null 2>&1 || :
 %files wn
 %attr(4755,root,root) %{_bindir}/arc-job-cgroup
 
-%files -n python%{python3_pkgversion}-arcrest
+%files -n python3-arcrest
 %{python3_sitelib}/pyarcrest
 %{python3_sitelib}/pyarcrest-*.*-info
 %{_bindir}/arcrest
 
-%if %{exporter}
+%if %{with_altpython}
+%files -n python%{altpython3_pkgversion}-arcrest
+%{altpython3_sitelib}/pyarcrest
+%{altpython3_sitelib}/pyarcrest-*.*-info
+%{_bindir}/arcrest-%{altpython3_pkgversion}
+%endif
+
 %files arc-exporter
 %{_sbindir}/arc-exporter
-%endif
 
 %changelog
+* Tue Sep 01 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 7.2.0-1
+- Update to version 7.2.0
+- Build python 3.12 packages for EPEL 9
+
 * Tue May 26 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 7.1.2-1
 - Update to version 7.1.2
 

diff --git a/sources b/sources
index 29497e8..366c4a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nordugrid-arc-7.1.2.tar.gz) = 5cfa3778197f87fdc4d999fba56153257aa099168137387ded5520d580bdbf046f48d94dccb226d4356f36979d5a128d2828c0fa47a96c64305b9c92340bef83
+SHA512 (nordugrid-arc-7.2.0.tar.gz) = 8b9f0d8f6337ab61a9fc83bf2fb3168a6c6430abb12d603a3b39a8da78a5405b24ba6ba6089a473f022fb33401a67a37b52515f232e7c75d875150c8fba105b1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-07  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  8:40 [rpms/nordugrid-arc7] epel8: Update to version 7.2.0 Mattias Ellert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox