- Update to v2016.3.0

see https://docs.saltstack.com/en/latest/topics/releases/2016.3.0.html
  * backwards-incompatible changes:
    - The default path for the extension_modules master config option
      has been changed. 
- add 0014-Fix-crashing-Maintenence-process.patch
  see release notes

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=71
This commit is contained in:
Klaus Kämpf
2016-06-15 11:46:27 +00:00
committed by Git OBS Bridge
parent a10aa73e42
commit 6fe4934941
18 changed files with 365 additions and 77 deletions

View File

@@ -36,7 +36,7 @@
%bcond_without docs
Name: salt
Version: 2015.8.10
Version: 2016.3.0
Release: 0
Summary: A parallel remote execution system
License: Apache-2.0
@@ -73,6 +73,10 @@ Patch11: 0011-jobs.exit_success-allow-to-check-if-a-job-has-execut.patch
# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/33432
# https://github.com/saltstack/salt/pull/33581
Patch12: 0012-Fix-pkgrepo.managed-gpgkey-argument-bsc-979448.patch
# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/33712
Patch13: 0013-fix-groupadd-module-for-sles11-systems.patch
# PATCH-FIX-UPSTREAM https://github.com/saltstack/salt/pull/33555
Patch14: 0014-Fix-crashing-Maintenence-process.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: logrotate
@@ -115,6 +119,9 @@ BuildRequires: python-xml
#for docs
BuildRequires: python-sphinx
%endif
%if 0%{?suse_version} > 1010
BuildRequires: fdupes
%endif
Requires(pre): %{_sbindir}/groupadd
Requires(pre): %{_sbindir}/useradd
@@ -434,6 +441,8 @@ cp %{S:1} .
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
python setup.py --salt-transport=both build
@@ -546,6 +555,12 @@ install -Dpm 0644 pkg/fish-completions/* %{buildroot}%{fish_completions_dir}
echo "transport: raet" > %{buildroot}%{_sysconfdir}/salt/master.d/transport-raet.conf
echo "transport: raet" > %{buildroot}%{_sysconfdir}/salt/minion.d/transport-raet.conf
%if 0%{?suse_version} > 1020
%fdupes %{buildroot}%{_docdir}/salt
%fdupes %{buildroot}%{_sysconfdir}
%fdupes %{buildroot}%{python_sitelib}
%endif
%check
%if %{with test}
python setup.py test --runtests-opts=-u
@@ -853,6 +868,7 @@ fi
%{_bindir}/salt-unity
%{_mandir}/man1/salt-unity.1.gz
%{_mandir}/man1/salt-call.1.gz
%{_mandir}/man1/spm.1.gz
%config(noreplace) %{_sysconfdir}/logrotate.d/salt
%{python_sitelib}/*
%exclude %{python_sitelib}/salt/cloud/deploy/*.sh