From: Thierry Parmentelat Date: Mon, 7 Apr 2008 17:24:37 +0000 (+0000) Subject: creating a dummy module for playing with module-tools X-Git-Tag: playground-1.0-1~1 X-Git-Url: http://git.onelab.eu/?p=playground.git;a=commitdiff_plain;h=cbad00b2ac979a56836d9933639bb7e4daecd635 creating a dummy module for playing with module-tools --- cbad00b2ac979a56836d9933639bb7e4daecd635 diff --git a/playground.spec b/playground.spec new file mode 100644 index 0000000..1b25fb0 --- /dev/null +++ b/playground.spec @@ -0,0 +1,14 @@ +# 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 1.0 +%define mytaglevel 1