Add requires to provide the semanage command

(cherry picked from commit 748ffc2e5bd82533755a7d1259fd4e6d856d7076)
This commit is contained in:
jiangxinyu 2022-07-28 14:04:50 +08:00 committed by openeuler-sync-bot
parent 2d7511cf40
commit 450f9e0de0

View File

@ -1,6 +1,6 @@
Name: ansible-runner-service Name: ansible-runner-service
Version: 1.0.7 Version: 1.0.7
Release: 2 Release: 3
License: ASL 2.0 License: ASL 2.0
Summary: RESTful API for ansible/ansible_runner execution Summary: RESTful API for ansible/ansible_runner execution
Source0: https://github.com/ansible/%{name}/archive/%{name}-%{version}.tar.gz Source0: https://github.com/ansible/%{name}/archive/%{name}-%{version}.tar.gz
@ -9,6 +9,7 @@ Patch1: wsgi.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: systemd python3-devel python3-setuptools BuildRequires: systemd python3-devel python3-setuptools
Requires: python3-flask-restful python3-ansible-runner Requires: python3-flask-restful python3-ansible-runner
Requires: policycoreutils-python-utils
%global _description %{expand: %global _description %{expand:
This package provides the Ansible Runner Service source files. Ansible runner service exposes a REST API interface on top of the functionality provided by ansible and ansible_runner. This package provides the Ansible Runner Service source files. Ansible runner service exposes a REST API interface on top of the functionality provided by ansible and ansible_runner.
@ -49,6 +50,9 @@ semanage fcontext -a -t httpd_log_t -s system_u /var/log/ovirt-engine/ansible-ru
%doc README.md %doc README.md
%changelog %changelog
* Thu Jul 28 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.7-3
- Add requires to provide the semanage command
* Wed Oct 13 2021 Ge Wang <wangge20@huawei.com> - 1.0.7-2 * Wed Oct 13 2021 Ge Wang <wangge20@huawei.com> - 1.0.7-2
- Add install require - Add install require