creating a dummy module for playing with module-tools
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 7 Apr 2008 17:24:37 +0000 (17:24 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 7 Apr 2008 17:24:37 +0000 (17:24 +0000)
playground.spec [new file with mode: 0644]

diff --git a/playground.spec b/playground.spec
new file mode 100644 (file)
index 0000000..1b25fb0
--- /dev/null
@@ -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