Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions base/comps/azurelinux-release/azurelinux-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Summary: Azure Linux release files
Name: azurelinux-release
Version: 4.0
# TODO(azl): Review whether we can move back to autorelease (with conditional -p)
Release: 17%{?dist}
Release: 18%{?dist}
License: MIT
URL: https://aka.ms/azurelinux

Expand Down Expand Up @@ -233,7 +233,7 @@ mkdir -p licenses
%install
install -d %{buildroot}%{_prefix}/lib
echo "Azure Linux release %{version} (%{release_name})" > %{buildroot}%{_prefix}/lib/azurelinux-release
echo "cpe:/o:microsoft:azurelinux:%{version}" > %{buildroot}%{_prefix}/lib/system-release-cpe
echo "cpe:2.3:o:microsoft:azure_linux:%{version}:*:*:*:*:*:*:*" > %{buildroot}%{_prefix}/lib/system-release-cpe

Comment thread
anphel31 marked this conversation as resolved.
# Symlink the -release files
install -d %{buildroot}%{_sysconfdir}
Expand Down Expand Up @@ -295,7 +295,7 @@ VERSION_CODENAME=""
PRETTY_NAME="Azure Linux %{dist_version} (%{release_name}%{?prerelease})"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=azurelinux-logo-icon
CPE_NAME="cpe:/o:azurelinuxproject:azurelinux:%{dist_version}"
CPE_NAME="cpe:2.3:o:microsoft:azure_linux:%{dist_version}:*:*:*:*:*:*:*"
DEFAULT_HOSTNAME="azurelinux"
HOME_URL="%{dist_home_url}"
DOCUMENTATION_URL="https://aka.ms/azurelinux"
Expand Down Expand Up @@ -476,6 +476,11 @@ install -Dm0644 %{SOURCE22} -t %{buildroot}%{_sysctldir}/


%changelog
* Wed Jun 10 2026 Andrew Phelps <anphel@microsoft.com> - 4.0-18
- Update CPE_NAME in os-release to a well-formed CPE 2.3 formatted string
(microsoft:azure_linux), replacing the legacy CPE 2.2 URI binding
- Update system-release-cpe to the matching CPE 2.3 formatted string

* Thu May 14 2026 Reuben Olinsky <reubeno@microsoft.com> - 4.0-17
- Redefine azurelinux macro as major version.

Expand Down
2 changes: 1 addition & 1 deletion locks/azurelinux-release.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Managed by azldev component update. Do not edit manually.
version = 1
input-fingerprint = 'sha256:124623b2ce048aa85c9d4af46ea9f151155be5cb62cdf4c8814c82af8c0064f7'
input-fingerprint = 'sha256:6a105d4aacebb7e35a9084dba13aa064805f0a4382cf893a844d351d8ac1cdce'
11 changes: 8 additions & 3 deletions specs/a/azurelinux-release/azurelinux-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Summary: Azure Linux release files
Name: azurelinux-release
Version: 4.0
# TODO(azl): Review whether we can move back to autorelease (with conditional -p)
Release: 17%{?dist}
Release: 18%{?dist}
License: MIT
URL: https://aka.ms/azurelinux

Expand Down Expand Up @@ -236,7 +236,7 @@ mkdir -p licenses
%install
install -d %{buildroot}%{_prefix}/lib
echo "Azure Linux release %{version} (%{release_name})" > %{buildroot}%{_prefix}/lib/azurelinux-release
echo "cpe:/o:microsoft:azurelinux:%{version}" > %{buildroot}%{_prefix}/lib/system-release-cpe
echo "cpe:2.3:o:microsoft:azure_linux:%{version}:*:*:*:*:*:*:*" > %{buildroot}%{_prefix}/lib/system-release-cpe

# Symlink the -release files
install -d %{buildroot}%{_sysconfdir}
Expand Down Expand Up @@ -298,7 +298,7 @@ VERSION_CODENAME=""
PRETTY_NAME="Azure Linux %{dist_version} (%{release_name}%{?prerelease})"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=azurelinux-logo-icon
CPE_NAME="cpe:/o:azurelinuxproject:azurelinux:%{dist_version}"
CPE_NAME="cpe:2.3:o:microsoft:azure_linux:%{dist_version}:*:*:*:*:*:*:*"
DEFAULT_HOSTNAME="azurelinux"
HOME_URL="%{dist_home_url}"
DOCUMENTATION_URL="https://aka.ms/azurelinux"
Expand Down Expand Up @@ -479,6 +479,11 @@ install -Dm0644 %{SOURCE22} -t %{buildroot}%{_sysctldir}/


%changelog
* Wed Jun 10 2026 Andrew Phelps <anphel@microsoft.com> - 4.0-18
- Update CPE_NAME in os-release to a well-formed CPE 2.3 formatted string
(microsoft:azure_linux), replacing the legacy CPE 2.2 URI binding
- Update system-release-cpe to the matching CPE 2.3 formatted string

* Thu May 14 2026 Reuben Olinsky <reubeno@microsoft.com> - 4.0-17
- Redefine azurelinux macro as major version.

Expand Down
Loading