Include codename in /etc/altlinux-release

This commit is contained in:
Andrey Cherepanov 2017-06-09 13:16:07 +03:00
parent f520efb065
commit 2e5845c46d

View File

@ -320,7 +320,7 @@ __EOF__
#release
mkdir -p %buildroot%_sysconfdir/buildreqs/packages/ignore.d/
install -pD -m644 /dev/null %buildroot%_sysconfdir/buildreqs/packages/ignore.d/%name-release
echo "%distro_name" >%buildroot%_sysconfdir/altlinux-release
echo "%distro_name (%codename)" >%buildroot%_sysconfdir/altlinux-release
for n in fedora redhat system; do
ln -s altlinux-release %buildroot%_sysconfdir/$n-release
done