On Wed, Sep 28, 2016 at 11:03 AM, Dominique Leuenberger / DimStar
On Wed, 2016-09-28 at 10:56 +0200, Roger Oberholtzer wrote:
I am curious if my /etc/os-release is odd:
# VERSION="20160913" ID=opensuse ID_LIKE="suse" VERSION_ID="20160913" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20160913" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/"
Should the VERSION line be commented as shown above? Or has something odd happened to my file?
That's correct...
VERSION is added merely for 'your reference' but not used to interpret by tools (hence commented)
Okay. We use this in Makefiles via a simple "include /etc/os-release". All previous /etc/os-release and /etc/SuSE-release defined this. 42.1 changed VERSION from something like "13.1 (Bottle)" to "42.1" without the code name. But VERSION was defined. What we are trying to do is obtain things like 12.3, 13.1, 42.1, Tumbleweed. We build for multiple platforms with the results placed as based on the openSUSE release. There has to be an easier way. GNU Makefile macros are a PITA.... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org