Reverting the spec file

I was wrong... when building the src rpm you only need to have the files defined in the Source{n}. So if you have the packaged files tarballed, grabbing the version automatically will not work.
This commit is contained in:
Bret Palsson 2012-07-14 17:41:08 -06:00
parent f803935d26
commit 83de9bb4b1

View file

@ -8,10 +8,8 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%define salt_version %(%{__python} %{_sourcedir}/salt/version.py)
Name: salt
Version: %{salt_version}
Version: 0.9.9.1
Release: 1%{?dist}
Summary: A parallel remote execution system