# in simple cases you would use something like # %define version 1.0 # %define taglevel 0 # that are hard-wired in module-tools by default # when this is not your specfile and you want to do minimal changes, you can use redirectors like this %global module_version_varname fullversion # so you can use a pre-existing variable for the version name # you can use define or global, and redirectors work for taglevel as well of course %define module_taglevel_varname mytaglevel %global fullversion planetlab.4.2 %define mytaglevel 1 %define module_current_branch 1.4 # this is for testing module-tools %changelog * Thu Jun 28 2012 Thierry Parmentelat - playground-planetlab.4.2-1 - a oneliner * Thu Jul 24 2008 Stephen Soltesz - playground-1.4-1 - testing taging and branching