Projects
Eulaceura:Factory
ovirt-ansible-manageiq
_service:obs_scm:ovirt-ansible-manageiq.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ovirt-ansible-manageiq.spec of Package ovirt-ansible-manageiq
%global rolename manageiq %global roleprefix ovirt. %global roleprefix_legacy ovirt- %global roleprefix_legacy_uppercase oVirt. %global ansible_roles_dir ansible/roles Name: ovirt-ansible-manageiq Summary: Ansible role to create ManageIQ or CloudForms virtual machine from qcow image Version: 1.2.1 Release: 1 #from http://resources.ovirt.org/pub/src/ovirt-ansible-manageiq/ovirt-ansible-manageiq-1.2.1.tar.gz Source0: ovirt-ansible-manageiq-1.2.1.tar.gz License: ASL 2.0 Group: Virtualization/Management BuildArch: noarch Url: http://www.ovirt.org Requires: ansible >= 2.9.0 %description This Ansible role provide funtionality to create ManageIQ or CloudForms virtual machine from qcow image. %pretrans -p <lua> path_dash = "%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy}%{rolename}" path_uppercase = "%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy_uppercase}%{rolename}" st = posix.stat(path_dash) if st and st.type == "directory" then os.execute('rm -rf "'..path_dash..'"') end st = posix.stat(path_uppercase) if st and st.type == "directory" then os.execute('rm -rf "'..path_uppercase..'"') end %prep %setup -c -q %build %install export PKG_DATA_DIR_ORIG=%{_datadir}/%{ansible_roles_dir}/%{roleprefix}%{rolename} export PKG_DATA_DIR=%{buildroot}$PKG_DATA_DIR_ORIG export PKG_DOC_DIR=%{buildroot}%{_pkgdocdir} export ROLENAME_LEGACY=%{buildroot}%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy}%{rolename} export ROLENAME_LEGACY_UPPERCASE=%{buildroot}%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy_uppercase}%{rolename} sh build.sh install %files %{_datadir}/%{ansible_roles_dir}/%{roleprefix}%{rolename} %{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy}%{rolename} %{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy_uppercase}%{rolename} %doc README.md %doc examples/ %license LICENSE %changelog * Wed Jul 7 2021 kymayl<mayilin@kylinos.cn> - 1.2.1-1 - upgrade package * Tue Mar 3 2020 changjie.fu <changjie.fu@cs2c.com.cn> - 1.1.14-1 - Package Initialization
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2