summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2012-01-28 11:07:48 -0500
committerTodd Zullinger <tmz@pobox.com>2012-01-28 11:07:48 -0500
commit04382cd4ac75238432fa38b534463e27adb946f3 (patch)
treef0e43cb6067196d94e368475a2df0926ee2b6be0
parentb1e115df3592fb540f2dd9fdc7b5e2064eff3bfb (diff)
downloadpuppet-host-package-04382cd4ac75238432fa38b534463e27adb946f3.zip
puppet-host-package-04382cd4ac75238432fa38b534463e27adb946f3.tar.gz
puppet-host-package-04382cd4ac75238432fa38b534463e27adb946f3.tar.xz
Replace %define with %global in rpm template.spec
-rw-r--r--template.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/template.spec b/template.spec
index 2b8fde7..9421cb5 100644
--- a/template.spec
+++ b/template.spec
@@ -1,8 +1,8 @@
-%define hostname __HOSTNAME__
-%define version __VERSION__
-%define release __RELEASE__
-%define ssldir __SSLDIR__
-%define pkgprefix __PKGPREFIX__
+%global hostname __HOSTNAME__
+%global version __VERSION__
+%global release __RELEASE__
+%global ssldir __SSLDIR__
+%global pkgprefix __PKGPREFIX__
Name: %{pkgprefix}%{hostname}
Version: %{version}
@@ -50,5 +50,8 @@ rm -rf %{buildroot}
%changelog
+* Sat Jan 28 2012 Todd Zullinger <tmz@pobox.com>
+- Replace %%define with %%global
+
* Thu Nov 20 2008 Todd Zullinger <tmz@pobox.com>
- Initial template for puppet host package