Skip to content

Commit

Permalink
Merge pull request #1959 from SUSE/gcc_logo
Browse files Browse the repository at this point in the history
Add logo for the gcc containers
  • Loading branch information
dcermak authored Nov 8, 2024
2 parents 0ac2ceb + 222d4a8 commit fb4a918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bci_build/package/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def build_name(self) -> str | None:

@property
def build_version(self) -> str | None:
if self.os_version not in (OsVersion.TUMBLEWEED, OsVersion.SLE16_0):
if self.os_version.is_sle15:
epoch = ""
if self.os_epoch:
epoch = f"{self.os_epoch}."
Expand Down
1 change: 1 addition & 0 deletions src/bci_build/package/gcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def _is_main_gcc(os_version: OsVersion, gcc_version: _GCC_VERSIONS) -> bool:
+ os_version.lifecycle_data_pkg
),
pretty_name="GNU Compiler Collection",
logo_url="https://gcc.gnu.org/img/gccegg-65.png",
is_latest=(
(os_version in CAN_BE_LATEST_OS_VERSION)
and _is_latest_gcc(os_version, gcc_version)
Expand Down

0 comments on commit fb4a918

Please sign in to comment.