[Mageia-dev] Discrepancy between /etc/version and /etc/release - which one for MIRRORLIST

nicolas vigier boklm at mars-attacks.org
Wed Jun 8 09:51:09 CEST 2011


On Wed, 08 Jun 2011, Oliver Burger wrote:

> Hi,
> 
> after some discussion in the German forums, I saw, that there are 
> discrepancies between /etc/version and /etc/release, both coming from 
> the mageia-release-common-1-2.mga1 package.
> 
> While /etc/release calls my system
> ----------
> Mageia release 1 (Official) for i586
> ----------
> 
> it is called
> ----------
> 1 2 cauldron
> ----------
> 
> by /etc/version.

In mageia-release package :
echo "%{version} %{rel} %{distname}" > $RPM_BUILD_ROOT/etc/version

So /etc/version contains both the version and release of mageia-release
package. But maybe there is a problem with %{distname}.



More information about the Mageia-dev mailing list