OBS: sync_obs_projects: remove AlmaLinux:8

Related: OS#6446
Change-Id: I19fc021a950790eab8b8074ea1c0cdd34232f4f8
This commit is contained in:
Oliver Smith 2024-05-08 10:44:52 +02:00
parent ef2d95d0a2
commit 8af047a3a6
2 changed files with 0 additions and 18 deletions

View File

@ -28,7 +28,6 @@
- shell: |
export PYTHONUNBUFFERED=1
export DISTROS="
AlmaLinux:8
Debian:10
Debian:11
Debian:12

View File

@ -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)