SHA256
1
0
forked from pool/salt

Accepting request 241788 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/241788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/salt?expand=0&rev=31
This commit is contained in:
Stephan Kulow 2014-07-21 19:40:37 +00:00 committed by Git OBS Bridge
parent ddc3dc6d14
commit 05f3de07f5
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jul 19 07:58:18 UTC 2014 - aboe76@gmail.com
- Fixed bug in opensuse 12.3 systemd file
systemd 198 doesn't have python-systemd binding.
- Disabled testing on SLES
-------------------------------------------------------------------
Thu Jul 10 18:25:05 UTC 2014 - aboe76@gmail.com

View File

@ -253,7 +253,12 @@ mkdir -p %{buildroot}/var/log/salt
mkdir -p %{buildroot}/srv/salt
mkdir -p %{buildroot}/srv/pillar
mkdir -p %{buildroot}%{_docdir}/salt
#
## fix opensuse 12.3 systemd service file
%if 0%{?suse_version} == 1230
sed -i 's/^Type=notify/Type=simple/g' pkg/salt-master.service
%endif
## install init and systemd scripts
%if 0%{?_unitdir:1}
install -Dpm 0644 pkg/salt-master.service %{buildroot}%_unitdir/salt-master.service
@ -293,10 +298,9 @@ install -Dpm 0644 pkg/salt.bash "%{buildroot}/etc/bash_completion.d/%{name}"
%endif #with_bashcomp
%check
# don't test on factory because of ssl2 method deprication
#%%if 0%{?suse_version} < 1310
%if 0%{?suse_version} < 1310
%{__python} setup.py test --runtests-opts=-u
#%%endif
%endif
%preun syndic
%if 0%{?_unitdir:1}