diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-22 02:52:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-22 02:52:48 +0000 |
commit | c5068cb061f6fac9ab665757f9908290af88ea6c (patch) | |
tree | 429ad9a84dcd5febac7d96005e83150cad579272 | |
parent | ef6069c3065c634010549aa3d860afd00a109188 (diff) |
automatic import of ansibleopeneuler24.03_LTS
-rw-r--r-- | ansible.spec | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible.spec b/ansible.spec index b8afb27..ec40b55 100644 --- a/ansible.spec +++ b/ansible.spec @@ -35,9 +35,21 @@ multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. + %prep %autosetup -n ansible-%{version} +# dependency tokens must begin with alpha-numeric +sed -i "s/~= 2.16.10/>= 2.16.10/g" setup.cfg + +for file in .git_keep .travis.yml ; do + find . -name "$file" -delete +done + +# remove .keep and .gitignore files +find ./ansible_collections/ -iname .gitignore -delete +find ./ansible_collections/ -iname .keep -delete + %build %py3_build |