Skip to content
Snippets Groups Projects
Unverified Commit 367d429f authored by Jeff Ohrstrom's avatar Jeff Ohrstrom Committed by GitHub
Browse files

show the version in the RPM

parent 71800959
No related tags found
No related merge requests found
......@@ -34,14 +34,9 @@ DESCRIPTION
%install
export PASSENGER_APP_ENV=production
export PASSENGER_BASE_URI=/pun/sys/%{app_name}
mkdir -p %{buildroot}%{_localstatedir}/www/ood/apps/sys/%{app_name}
if [ -x bin/setup ]; then
bin/setup
fi
cp -a ./. %{buildroot}%{_localstatedir}/www/ood/apps/sys/%{app_name}/
echo v%{version} > %{buildroot}%{_localstatedir}/www/ood/apps/sys/%{app_name}/VERSION
%files
%defattr(-,root,root)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment