Skip to content

Commit

Permalink
Add tag_version for pcp and remove obsolete services
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Nov 15, 2024
1 parent abec027 commit 3c75366
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/bci_build/package/appcontainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,9 @@ def _envsubst_pkg_name(os_version: OsVersion) -> str:
is_latest=os_version in CAN_BE_LATEST_OS_VERSION,
support_level=SupportLevel.L3,
version=(pcp_ver := get_pkg_version("pcp", os_version)),
tag_version=(pcp_major := format_version(pcp_ver, ParseVersion.MAJOR)),
version_in_uid=False,
additional_versions=[
format_version(pcp_ver, ParseVersion.MINOR),
format_version(pcp_ver, ParseVersion.MAJOR),
],
replacements_via_service=[
Replacement(
regex_in_build_description=f"%%pcp_{ver}%%",
package_name="pcp",
parse_version=ver,
)
for ver in (ParseVersion.MAJOR, ParseVersion.MINOR)
],
additional_versions=[format_version(pcp_ver, ParseVersion.MINOR), pcp_major],
license="(LGPL-2.1+ AND GPL-2.0+)",
package_list=[
"pcp",
Expand Down

0 comments on commit 3c75366

Please sign in to comment.