Accepting request 1142377 from home:PSuarezHernandez:branches:systemsmanagement:saltstack
- Provide user(salt)/group(salt) capabilities for RPM 4.19 OBS-URL: https://build.opensuse.org/request/show/1142377 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=227
This commit is contained in:
parent
1bf701f25a
commit
e24e51778b
11
salt.changes
11
salt.changes
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 29 13:50:44 UTC 2024 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||||
|
|
||||||
|
- Provide user(salt)/group(salt) capabilities for RPM 4.19
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 23 15:39:14 UTC 2024 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
Tue Jan 23 15:39:14 UTC 2024 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||||
|
|
||||||
@ -50,7 +55,6 @@ Mon Nov 13 16:02:35 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@s
|
|||||||
|
|
||||||
- Align behavior of some modules when using salt-call via symlink (bsc#1215963)
|
- Align behavior of some modules when using salt-call via symlink (bsc#1215963)
|
||||||
- Fix gitfs "__env__" and improve cache cleaning (bsc#1193948)
|
- Fix gitfs "__env__" and improve cache cleaning (bsc#1193948)
|
||||||
- Remove python-boto dependency for the python3-salt-testsuite package for Tumbleweed
|
|
||||||
|
|
||||||
- Added:
|
- Added:
|
||||||
* fix-gitfs-__env__-and-improve-cache-cleaning-bsc-119.patch
|
* fix-gitfs-__env__-and-improve-cache-cleaning-bsc-119.patch
|
||||||
@ -98,11 +102,6 @@ Mon Oct 2 09:50:00 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@s
|
|||||||
- Added:
|
- Added:
|
||||||
* fix-calculation-of-sls-context-vars-when-trailing-do.patch
|
* fix-calculation-of-sls-context-vars-when-trailing-do.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Sep 29 08:47:48 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
|
||||||
|
|
||||||
- Rename salt-tests to python3-salt-testsuite
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 20 12:17:44 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
Wed Sep 20 12:17:44 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||||
|
|
||||||
|
47
salt.spec
47
salt.spec
@ -357,6 +357,8 @@ Obsoletes: python2-%{name}
|
|||||||
|
|
||||||
Requires(pre): %{_sbindir}/groupadd
|
Requires(pre): %{_sbindir}/groupadd
|
||||||
Requires(pre): %{_sbindir}/useradd
|
Requires(pre): %{_sbindir}/useradd
|
||||||
|
Provides: user(salt)
|
||||||
|
Provides: group(salt)
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
@ -697,30 +699,12 @@ Requires(pre): %fillup_prereq
|
|||||||
Salt ssh is a master running without zmq.
|
Salt ssh is a master running without zmq.
|
||||||
it enables the management of minions over a ssh connection.
|
it enables the management of minions over a ssh connection.
|
||||||
|
|
||||||
%package -n python3-salt-testsuite
|
%package tests
|
||||||
Summary: Unit and integration tests for Salt
|
Summary: Unit and integration tests for Salt
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: python3-CherryPy
|
|
||||||
Requires: python3-Genshi
|
|
||||||
Requires: python3-Mako
|
|
||||||
%if !0%{?suse_version} > 1600 || 0%{?centos}
|
|
||||||
Requires: python3-boto
|
|
||||||
%endif
|
|
||||||
Requires: python3-boto3
|
|
||||||
Requires: python3-docker
|
|
||||||
Requires: python3-mock
|
|
||||||
Requires: python3-pygit2
|
|
||||||
Requires: python3-pytest >= 7.0.1
|
|
||||||
Requires: python3-pytest-httpserver
|
|
||||||
Requires: python3-pytest-salt-factories >= 1.0.0~rc21
|
|
||||||
Requires: python3-pytest-subtests
|
|
||||||
Requires: python3-testinfra
|
|
||||||
Requires: python3-yamllint
|
|
||||||
|
|
||||||
Obsoletes: %{name}-tests
|
%description tests
|
||||||
|
Collections of unit and integration tests for Salt
|
||||||
%description -n python3-salt-testsuite
|
|
||||||
Collection of unit, functional, and integration tests for %{name}.
|
|
||||||
|
|
||||||
%if %{with bash_completion}
|
%if %{with bash_completion}
|
||||||
%package bash-completion
|
%package bash-completion
|
||||||
@ -868,12 +852,10 @@ install -Dd -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d/
|
|||||||
install -Dpm 0644 salt/cli/support/profiles/* %{buildroot}%{python3_sitelib}/salt/cli/support/profiles
|
install -Dpm 0644 salt/cli/support/profiles/* %{buildroot}%{python3_sitelib}/salt/cli/support/profiles
|
||||||
|
|
||||||
# Install Salt tests
|
# Install Salt tests
|
||||||
install -Dd %{buildroot}%{python3_sitelib}/salt-testsuite
|
install -Dd -m 0750 %{buildroot}%{_datadir}/salt
|
||||||
cp -a tests %{buildroot}%{python3_sitelib}/salt-testsuite/
|
install -Dd -m 0750 %{buildroot}%{_datadir}/salt/tests
|
||||||
# Remove runtests.py which is not used as deprecated method of running the tests
|
cp -a tests/* %{buildroot}%{_datadir}/salt/tests/
|
||||||
rm %{buildroot}%{python3_sitelib}/salt-testsuite/tests/runtests.py
|
sed -i '1s=^#!/usr/bin/\(python\|env python\)[0-9.]*=#!/usr/bin/python3=' %{buildroot}%{_datadir}/salt/tests/runtests.py
|
||||||
# Copy conf files to the testsuite as they are used by the tests
|
|
||||||
cp -a conf %{buildroot}%{python3_sitelib}/salt-testsuite/
|
|
||||||
|
|
||||||
## Install Zypper plugins only on SUSE machines
|
## Install Zypper plugins only on SUSE machines
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -1450,10 +1432,7 @@ rm -f %{_localstatedir}/cache/salt/minion/thin/version
|
|||||||
|
|
||||||
%files -n python3-salt
|
%files -n python3-salt
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{python3_sitelib}/salt
|
%{python3_sitelib}/*
|
||||||
%dir %{python3_sitelib}/salt-*.egg-info
|
|
||||||
%{python3_sitelib}/salt/*
|
|
||||||
%{python3_sitelib}/salt-*.egg-info/*
|
|
||||||
%exclude %{python3_sitelib}/salt/cloud/deploy/*.sh
|
%exclude %{python3_sitelib}/salt/cloud/deploy/*.sh
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
@ -1462,8 +1441,10 @@ rm -f %{_localstatedir}/cache/salt/minion/thin/version
|
|||||||
%doc doc/_build/html
|
%doc doc/_build/html
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python3-salt-testsuite
|
%files tests
|
||||||
%{python3_sitelib}/salt-testsuite
|
%dir %{_datadir}/salt/
|
||||||
|
%dir %{_datadir}/salt/tests/
|
||||||
|
%{_datadir}/salt/tests/*
|
||||||
|
|
||||||
%if %{with bash_completion}
|
%if %{with bash_completion}
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user