Upgrade package version to 1.2.2

This commit is contained in:
jxy_git 2023-05-30 11:12:40 +08:00
parent 49859c5de1
commit cd94ea88ff
3 changed files with 10 additions and 9 deletions

Binary file not shown.

View File

@ -4,25 +4,23 @@
%global roleprefix_legacy_uppercase oVirt.
%global ansible_roles_dir ansible/roles
Name: ovirt-ansible-image-template
Summary: Ansible role to create virtual machine template from disk image
Version: 1.1.12
Release: 2%{?release_suffix}%{?dist}
Source0: http://resources.ovirt.org/pub/src/ovirt-ansible-image-template/ovirt-ansible-image-template-1.1.12.tar.gz
License: ASL 2.0
Name: ovirt-ansible-image-template
Summary: Ansible role to create virtual machine template from disk image
Version: 1.2.2
Release: 1
Source0: http://resources.ovirt.org/pub/src/%{name}/%{name}-%{version}.tar.gz
License: ASL 2.0
Group: Virtualization/Management
BuildArch: noarch
Url: http://www.ovirt.org
Requires: ansible-2.9 >= 2.7.2
Requires: ansible >= 2.9.0
%description
This Ansible role provide funtionality to create virtual machine template from disk
image.
%pretrans -p <lua>
-- Remove the legacy directory before installing the symlink. This is known issue in RPM:
-- https://fedoraproject.org/wiki/Packaging:Directory_Replacement
path_dash = "%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy}%{rolename}"
path_uppercase = "%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy_uppercase}%{rolename}"
@ -60,6 +58,9 @@ sh build.sh install
%license LICENSE
%changelog
* Tue May 30 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.2.2-1
- Upgrade package version to 1.2.2
* Thu Sep 15 2021 wulei <wulei80@huawei.com> - 1.1.12-2
- Change require from ansible to ansible-2.9