aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2024-05-08 10:44:52 +0200
committerOliver Smith <osmith@sysmocom.de>2024-05-08 10:45:32 +0200
commit8af047a3a6b9faaefd6ed8931c494507b82d6d67 (patch)
tree6a299704e61bd4850e79a64e7a8b58e38656ee55
parentef2d95d0a298da20043e3ec37f343c6661eedb01 (diff)
OBS: sync_obs_projects: remove AlmaLinux:8osmith/wip
-rw-r--r--jobs/osmocom-obs-sync.yml1
-rwxr-xr-xscripts/obs/sync_obs_projects.py17
2 files changed, 0 insertions, 18 deletions
diff --git a/jobs/osmocom-obs-sync.yml b/jobs/osmocom-obs-sync.yml
index a57f968..3776688 100644
--- a/jobs/osmocom-obs-sync.yml
+++ b/jobs/osmocom-obs-sync.yml
@@ -28,7 +28,6 @@
- shell: |
export PYTHONUNBUFFERED=1
export DISTROS="
- AlmaLinux:8
Debian:10
Debian:11
Debian:12
diff --git a/scripts/obs/sync_obs_projects.py b/scripts/obs/sync_obs_projects.py
index cc4635a..965aca2 100755
--- a/scripts/obs/sync_obs_projects.py
+++ b/scripts/obs/sync_obs_projects.py
@@ -124,8 +124,6 @@ def is_up_to_date(header, projects, project):
def get_relevant_arches(project):
- if project.startswith("AlmaLinux:"):
- return ["x86_64"]
if project.startswith("Raspbian:"):
return ["armv7l"]
@@ -226,21 +224,6 @@ def rewrite_prjconf(project, header):
prjconf += f"{line}\n"
- # Extend the AlmaLinux prjconf to also set CentOS variables, as some of
- # our prjconfigs and spec files rely on them
- if project == "AlmaLinux:8":
- print(f" appending CentOS 8 variables")
- prjconf += "\n"
- prjconf += "# CentOS 8 compat added by sync script\n"
- prjconf += "%define centos_version 800\n"
- prjconf += "%define centos_ver 8\n"
- prjconf += "%define centos 8\n"
- prjconf += "Macros:\n"
- prjconf += "%centos_version 800\n"
- prjconf += "%centos_ver 8\n"
- prjconf += "%centos 8\n"
- prjconf += ":Macros\n"
-
with open(temp_dest_new_prjconf, "w") as f:
f.write(header)
f.write(prjconf)