Fix distro name for @Name@ placeholder

This commit is contained in:
Andrey Cherepanov 2013-10-16 13:11:16 +04:00
parent 5df1fffd13
commit 817bf4681c

View File

@ -286,7 +286,7 @@ Some system settings for Simply Linux.
%build
autoconf
THEME=%theme NAME='%Name' 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' X86='%x86' ./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' X86='%x86' ./configure
make
%install
@ -314,7 +314,7 @@ __EOF__
#release
install -pD -m644 /dev/null %buildroot%_sysconfdir/buildreqs/packages/ignore.d/%name-release
echo "%Name %version %status_en (%codename)" >%buildroot%_sysconfdir/altlinux-release
echo "%distro_name" >%buildroot%_sysconfdir/altlinux-release
for n in fedora redhat system; do
ln -s altlinux-release %buildroot%_sysconfdir/$n-release
done