Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 90e8681d6a6dc36d310167f51530d195 > files > 4

xmms2-0.9.3-1.mga9.src.rpm

--- xmms2-0.9.3/wscript	2022-05-02 20:34:27.000000000 +0200
+++ xmms2-0.9.3/wscript.versionsanity	2022-06-08 16:23:19.485171001 +0200
@@ -20,7 +20,7 @@ from waflib import Configure, Options, U
 from waftools.compiler_flags import compiler_flags
 from waftools import gittools
 
-BASEVERSION="0.9.3 DrPong"
+BASEVERSION="0.9.3"
 APPNAME='xmms2'
 
 top = '.'
@@ -367,10 +367,7 @@ def configure(conf):
     conf.msg("git commit id", nam)
     conf.msg("uncommited changed", changed and "yes" or "no")
 
-    conf.env.VERSION = conf.options.customversion % {
-        "commit": nam + (changed and "-dirty" or ""),
-        "version": BASEVERSION
-    }
+    conf.env.VERSION = "%s" % (BASEVERSION)
 
     for env in ('CFLAGS', 'CXXFLAGS'):
         # Makes sure the env variable exists and is a list