mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
f803935d26
commit
83de9bb4b1
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue