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:
parent
ddc3dc6d14
commit
05f3de07f5
@ -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
|
Thu Jul 10 18:25:05 UTC 2014 - aboe76@gmail.com
|
||||||
|
|
||||||
|
12
salt.spec
12
salt.spec
@ -253,7 +253,12 @@ mkdir -p %{buildroot}/var/log/salt
|
|||||||
mkdir -p %{buildroot}/srv/salt
|
mkdir -p %{buildroot}/srv/salt
|
||||||
mkdir -p %{buildroot}/srv/pillar
|
mkdir -p %{buildroot}/srv/pillar
|
||||||
mkdir -p %{buildroot}%{_docdir}/salt
|
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
|
## install init and systemd scripts
|
||||||
%if 0%{?_unitdir:1}
|
%if 0%{?_unitdir:1}
|
||||||
install -Dpm 0644 pkg/salt-master.service %{buildroot}%_unitdir/salt-master.service
|
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
|
%endif #with_bashcomp
|
||||||
|
|
||||||
%check
|
%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
|
%{__python} setup.py test --runtests-opts=-u
|
||||||
#%%endif
|
%endif
|
||||||
|
|
||||||
%preun syndic
|
%preun syndic
|
||||||
%if 0%{?_unitdir:1}
|
%if 0%{?_unitdir:1}
|
||||||
|
Loading…
Reference in New Issue
Block a user