Accepting request 327739 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/327739 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/salt?expand=0&rev=50
This commit is contained in:
14
salt.spec
14
salt.spec
@@ -17,14 +17,14 @@
|
||||
|
||||
|
||||
Name: salt
|
||||
Version: 2015.5.3
|
||||
Version: 2015.5.5
|
||||
Release: 0
|
||||
Summary: A parallel remote execution system
|
||||
License: Apache-2.0
|
||||
Group: System/Monitoring
|
||||
Url: http://saltstack.org/
|
||||
Source0: http://pypi.python.org/packages/source/s/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
Source1: README.SUSE
|
||||
# PATCH-FIX-OPENSUSE use-forking-daemon.patch tserong@suse.com -- We don't have python-systemd, so notify can't work
|
||||
Patch1: use-forking-daemon.patch
|
||||
|
||||
@@ -76,7 +76,10 @@ Requires: python-tornado
|
||||
Requires: python-xml
|
||||
Requires: python-yaml
|
||||
Requires: python-zypp
|
||||
Requires(pre): %fillup_prereq
|
||||
Requires(pre): %fillup_prereq
|
||||
Requires(pre): %{_sbindir}/groupadd
|
||||
Requires(pre): %{_sbindir}/useradd
|
||||
Requires(pre): pwdutils
|
||||
%if 0%{?suse_version} < 1210
|
||||
Requires(pre): %insserv_prereq
|
||||
%endif
|
||||
@@ -239,6 +242,7 @@ Zsh command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp %{S:1} .
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
@@ -355,6 +359,8 @@ install -Dpm 0644 pkg/zsh_completion.zsh %{buildroot}/etc/zsh_completion.d/%{nam
|
||||
%endif
|
||||
|
||||
%pre master
|
||||
getent group salt >/dev/null || %{_sbindir}/groupadd -r salt
|
||||
getent passwd salt >/dev/null || %{_sbindir}/useradd -r -g salt -d /srv/salt -s /bin/false -c "salt-master daemon" salt
|
||||
%if 0%{?_unitdir:1}
|
||||
%service_add_pre salt-master.service
|
||||
%endif
|
||||
@@ -521,7 +527,7 @@ install -Dpm 0644 pkg/zsh_completion.zsh %{buildroot}/etc/zsh_completion.d/%{nam
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/salt
|
||||
%attr(755,root,root)%{python_sitelib}/salt/cloud/deploy/*.sh
|
||||
%{python_sitelib}/*
|
||||
%doc LICENSE AUTHORS README.rst HACKING.rst
|
||||
%doc LICENSE AUTHORS README.rst HACKING.rst README.SUSE
|
||||
|
||||
%if %with_bashcomp
|
||||
|
||||
|
Reference in New Issue
Block a user