Projects
home:Eustace:branches:Eulaceura:Factory
ovirt-ansible-repositories
_service:obs_scm:ovirt-ansible-repositories.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ovirt-ansible-repositories.spec of Package ovirt-ansible-repositories
%global rolename repositories %global roleprefix ovirt. %global roleprefix_legacy_uppercase oVirt. %global ansible_roles_dir ansible/roles Name: ovirt-ansible-repositories Summary: Ansible role to setup oVirt/RHV repositories Version: 1.2.5 Release: 1 Source0: http://resources.ovirt.org/pub/src/ovirt-ansible-repositories/ovirt-ansible-repositories-1.2.5.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 is used to set up the repositories required for oVirt engine or host installation. %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_uppercase = "%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy_uppercase}%{rolename}" 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_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_uppercase}%{rolename} %doc README.md %doc examples/ %license LICENSE %changelog * Tue Jul 6 2021 chenjian <chenjian@kylinos.cn> - 1.2.5-1 - Init package
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