From b0c016858d6ec9b92d53f19ec092e52b817b7d2d Mon Sep 17 00:00:00 2001
From: Joao Lopes <joao.pedro.batista.lopes@cern.ch>
Date: Thu, 26 Jan 2023 14:41:10 +0100
Subject: [PATCH] DMC-1359: Fedora37 build

---
 .gitlab-ci.yml                  | 12 ++++++------
 packaging/gfal2-repo-manager.py |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8e2c22..a9edfd7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,14 +36,14 @@ cs9:
   image: gitlab-registry.cern.ch/linuxsupport/cs9-base
   <<: *build-template_definition
 
-fedora-35:
-  image: fedora:35
-  <<: *build-template_definition
-
 fedora-36:
   image: fedora:36
   <<: *build-template_definition
 
+fedora-37:
+  image: fedora:37
+  <<: *build-template_definition
+
 fedora-rawhide:
   image: fedora:rawhide
   <<: *build-template_definition
@@ -61,8 +61,8 @@ fedora-rawhide:
     - cc7
     - centos8
     - cs9
-    - fedora-35
     - fedora-36
+    - fedora-37
     - fedora-rawhide
   script:
     - yum install -y python sssd-client sudo createrepo
@@ -70,7 +70,7 @@ fedora-rawhide:
     - cat "$repo_passwd" | kinit "$repo_user"
     - eosfusebind
     - |
-        for platform in cc7 centos8 cs9 fedora-35 fedora-36 fedora-rawhide; do
+        for platform in cc7 centos8 cs9 fedora-36 fedora-37 fedora-rawhide; do
           if [[ "${platform}" == "fedora-rawhide" ]] && [[ ! -d ${platform} ]] ; then
             echo "Skipping ${platform} packages..." ;
             continue ;
diff --git a/packaging/gfal2-repo-manager.py b/packaging/gfal2-repo-manager.py
index 33bb08d..be819f1 100755
--- a/packaging/gfal2-repo-manager.py
+++ b/packaging/gfal2-repo-manager.py
@@ -5,7 +5,7 @@ import os, subprocess, sys, inspect, argparse, re, shutil, errno
 
 DRY_RUN = False
 NO_CREATE_REPO = False
-RAWHIDE_VERSIONS = ["fc37", "fc38"]
+RAWHIDE_VERSIONS = ["fc38", "fc39"]
 
 def sh(cmd):
     # poor man's subprocess.check_output, not supported on SL6
-- 
GitLab