os-release: add ALT_BRANCH_ID

This commit is contained in:
Алексей Шабалин 2024-10-11 16:50:06 +03:00
parent b34195d74f
commit c6e8277859
3 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@
%define status %nil
%define status_en %nil
%define flavour %brand-%theme
%define altbranch %_priority_distbranch
%define design_graphics_abi_epoch 0
%define design_graphics_abi_major 12
@ -213,7 +214,7 @@ cp /usr/share/distro-licenses/ALT_Product_License/license.{all,ru}.html.in notes
%build
autoconf
THEME=%theme NAME='%Brand %Theme' BRAND_FNAME='%brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version PRODUCT_NAME_RU='%distro_name_ru' PRODUCT_NAME='%distro_name' CODENAME='%codename' ./configure
THEME=%theme NAME='%Brand %Theme' BRAND_FNAME='%brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version PRODUCT_NAME_RU='%distro_name_ru' PRODUCT_NAME='%distro_name' CODENAME='%codename' BRANCH='%altbranch' ./configure
make
%install

View File

@ -39,6 +39,7 @@ AC_SUBST(LIGHT_COLOR_DEC)
AC_SUBST(MIDDLE_COLOR_DEC)
AC_SUBST(DARK_COLOR_DEC)
AC_SUBST(TITLE_COLOR)
AC_SUBST(BRANCH)
AC_CONFIG_FILES([
Makefile

View File

@ -6,5 +6,6 @@ PRETTY_NAME="@PRODUCT_NAME@ (@CODENAME@)"
ANSI_COLOR="1;33"
CPE_NAME="cpe:/o:alt:@THEME@:@VERSION@"
BUILD_ID="@NAME@ @VERSION@@STATUS@"
ALT_BRANCH_ID="@BRANCH@"
HOME_URL="https://basealt.ru/"
BUG_REPORT_URL="https://bugs.altlinux.org/"