updating to 0.9.6

e9
Clint Savage 13 years ago
parent bfbe7b1cb0
commit 6768f2242e

1
.gitignore vendored

@ -1 +1,2 @@
/salt-0.9.4.tar.gz /salt-0.9.4.tar.gz
/salt-0.9.6.tar.gz

@ -1,7 +1,11 @@
These packages are *optional* dependencies for salt. By default, they are not included in the salt RPMs. These packages are *optional* dependencies for salt. By default, they are not included in the salt RPMs.
Feel free to yum install any of these packages. Install any of these packages to enable the functionality within salt.
MySQL-python MySQL-python
libvirt-python libvirt-python
yum python-mako
pymongo
python-redis / redis
A semi-canonical list of the optional salt modules can be found at
https://github.com/saltstack/salt/blob/develop/doc/conf.py#L30

@ -9,8 +9,8 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: salt Name: salt
Version: 0.9.4 Version: 0.9.6
Release: 7%{?dist} Release: 2%{?dist}
Summary: A parallel remote execution system Summary: A parallel remote execution system
Group: System Environment/Daemons Group: System Environment/Daemons
@ -34,6 +34,7 @@ BuildRequires: python26-crypto
BuildRequires: python26-devel BuildRequires: python26-devel
BuildRequires: python26-PyYAML BuildRequires: python26-PyYAML
BuildRequires: python26-m2crypto BuildRequires: python26-m2crypto
BuildRequires: python26-msgpack
Requires: python26-crypto Requires: python26-crypto
Requires: python26-zmq Requires: python26-zmq
@ -41,6 +42,7 @@ Requires: python26-jinja2
Requires: python26-PyYAML Requires: python26-PyYAML
Requires: python26-m2crypto Requires: python26-m2crypto
Requires: python26-PyXML Requires: python26-PyXML
Requires: python26-msgpack
%else %else
@ -49,6 +51,7 @@ BuildRequires: python-crypto
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: PyYAML BuildRequires: PyYAML
BuildRequires: m2crypto BuildRequires: m2crypto
BuildRequires: python-msgpack
Requires: python-crypto Requires: python-crypto
Requires: python-zmq Requires: python-zmq
@ -56,6 +59,7 @@ Requires: python-jinja2
Requires: PyYAML Requires: PyYAML
Requires: m2crypto Requires: m2crypto
Requires: PyXML Requires: PyXML
Requires: python-msgpack
%endif %endif
@ -72,7 +76,6 @@ BuildRequires: systemd-units
%endif %endif
# These packages are *optional* dependencies and not required.
#Requires: MySQL-python libvirt-python yum #Requires: MySQL-python libvirt-python yum
%description %description
@ -110,8 +113,6 @@ Salt minion is queried and controlled from the master.
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT %{__python} setup.py install -O1 --root $RPM_BUILD_ROOT
install -p %{SOURCE7} .
%if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15) %if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15)
mkdir -p $RPM_BUILD_ROOT%{_initrddir} mkdir -p $RPM_BUILD_ROOT%{_initrddir}
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/ install -p %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/
@ -123,6 +124,11 @@ install -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/
install -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_unitdir}/ install -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_unitdir}/
install -p -m 0644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/ install -p -m 0644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/
%endif %endif
install -p %{SOURCE7} .
install -p -m 0640 $RPM_BUILD_ROOT%{_sysconfdir}/salt/minion.template $RPM_BUILD_ROOT%{_sysconfdir}/salt/minion
install -p -m 0640 $RPM_BUILD_ROOT%{_sysconfdir}/salt/master.template $RPM_BUILD_ROOT%{_sysconfdir}/salt/master
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -148,7 +154,8 @@ rm -rf $RPM_BUILD_ROOT
%{_unitdir}/salt-minion.service %{_unitdir}/salt-minion.service
%endif %endif
%config(noreplace) /etc/salt/minion %config(noreplace) %{_sysconfdir}/salt/minion
%config %{_sysconfdir}/salt/minion.template
%files -n salt-master %files -n salt-master
%defattr(-,root,root) %defattr(-,root,root)
@ -171,7 +178,8 @@ rm -rf $RPM_BUILD_ROOT
%{_unitdir}/salt-master.service %{_unitdir}/salt-master.service
%{_unitdir}/salt-syndic.service %{_unitdir}/salt-syndic.service
%endif %endif
%config(noreplace) /etc/salt/master %config(noreplace) %{_sysconfdir}/salt/master
%config %{_sysconfdir}/salt/master.template
%if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15) %if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15)
@ -247,8 +255,11 @@ fi
%endif %endif
%changelog %changelog
* Sun Jan 15 2012 Clint Savage <herlo1@gmail.com> - 0.9.4-7 * Tue Jan 24 2012 Clint Savage <herlo1@gmail.com> - 0.9.6-2
- Removed optional requires from RPM and documented in added README.fedora - Added README.fedora and removed deps for optional modules
* Sat Jan 21 2012 Clint Savage <herlo1@gmail.com> - 0.9.6-1
- New upstream release
* Sun Jan 8 2012 Clint Savage <herlo1@gmail.com> - 0.9.4-6 * Sun Jan 8 2012 Clint Savage <herlo1@gmail.com> - 0.9.4-6
- Missed some critical elements for SysV and rpmlint cleanup - Missed some critical elements for SysV and rpmlint cleanup

@ -1 +1 @@
c27837bac06dadfdb51b4a2b63fe6d35 salt-0.9.4.tar.gz 8c1fe119e6f1fd96bc06614473509bf1 salt-0.9.6.tar.gz

Loading…
Cancel
Save