From fd988b046ddfd75295416516fe89bf5bb45cece4 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: May 12 2016 00:14:20 +0000 Subject: Tweaks to make my editing experience more pleasant. --- diff --git a/macros.zzz-epel b/macros.zzz-epel index a1fead1..47d7d1f 100644 --- a/macros.zzz-epel +++ b/macros.zzz-epel @@ -30,7 +30,7 @@ else trace = 1 end -} +}# # Initializes global lua state and then undefines itself. # Should be called before or as part of any macros below this one. @@ -118,7 +118,7 @@ end \ rpm.define("epel_macros_init %{nil}") -} +}# # ================ @@ -199,7 +199,7 @@ \ -- The next call to this macro should skip all the work did_description = 1 - } +}# # ================ # Add the usual buildroot cleaning to the very beginning of %install @@ -207,7 +207,7 @@ db("In %install.") print("%install\\n") print(rpm.expand("rm -rf %{buildroot}\\n")) -} +}# # Add a directory for RPM macros that can be used consistently across Fedora and EPEL %rpmmacrodir %{_sysconfdir}/rpm @@ -228,7 +228,7 @@ for i,v in ipairs(sources) do db("Found source: " .. v) end -} +}# %el5_setup_patches() %{lua: maxcheck = getval("el5_patches_limit") @@ -238,4 +238,6 @@ for i,v in ipairs(patches) do db("Found patch: " .. v) end -} +}# + +# vim: set filetype=spec: