From cbad00b2ac979a56836d9933639bb7e4daecd635 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 7 Apr 2008 17:24:37 +0000 Subject: [PATCH] creating a dummy module for playing with module-tools --- playground.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 playground.spec 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 -- 2.43.0