From a252b9bca55468b25f1e0639488d174e84169dbe Mon Sep 17 00:00:00 2001 From: Trey Dockendorf Date: Mon, 22 Jul 2019 12:54:49 -0400 Subject: [PATCH] Use correct macro for VERSION --- packaging/ondemand.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/ondemand.spec b/packaging/ondemand.spec index 6adb14825b..82be750df2 100644 --- a/packaging/ondemand.spec +++ b/packaging/ondemand.spec @@ -78,7 +78,7 @@ EOS scl enable ondemand - << \EOS rake install PREFIX=%{buildroot}/opt/ood %__rm %{buildroot}/opt/ood/apps/*/log/production.log -echo "%{package_version}" > %{buildroot}/opt/ood/VERSION +echo "%{git_tag}" > %{buildroot}/opt/ood/VERSION %__mkdir_p %{buildroot}%{_localstatedir}/www/ood/public %__mkdir_p %{buildroot}%{_localstatedir}/www/ood/discover %__mkdir_p %{buildroot}%{_localstatedir}/www/ood/register