Update rpm spec and pbr setup configs (#2170)

* Update rpm spec and pbr setup configs

* Rename package to kubespray
* Do not break Fedora's FHS and install to /usr/share instead
* Remove the vendor tag
* Update source0 for better artifacts' names
* Fix missing files build errors
* Make version/release to auto match from git and fit PEP 440

Co-authored-by: Matthias Runge <mrunge@redhat.com>
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>

* Add package paths to roles search in ansible conf

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>

* Poke jinja2 requirements in rpm spec file

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
This commit is contained in:
Bogdan Dobrelya
2018-01-18 16:22:37 +01:00
committed by GitHub
parent f19c8e8c1d
commit c116b8022e
4 changed files with 72 additions and 69 deletions

View File

@ -1,10 +1,11 @@
[metadata]
name = ansible-kubespray
name = kubespray
summary = Ansible modules for installing Kubernetes
description-file =
README.md
author = Kubespray
author-email = smainklh@gmail.com
license = Apache License (2.0)
home-page = https://github.com/kubernetes-incubator/kubespray
classifier =
License :: OSI Approved :: Apache Software License
@ -20,20 +21,21 @@ setup-hooks =
[files]
data_files =
/usr/local/share/kubespray/playbooks/ =
/usr/share/kubespray/playbooks/ =
cluster.yml
upgrade-cluster.yml
scale.yml
reset.yml
extra_playbooks/upgrade-only-k8s.yml
/usr/local/share/kubespray/roles = roles/*
doc_files =
README.md
inventory/inventory.example
config_files =
/usr/share/kubespray/roles = roles/*
/usr/share/doc/kubespray/ =
LICENSE
README.md
/usr/share/doc/kubespray/inventory/ =
inventory/inventory.example
/etc/kubespray/ =
ansible.cfg
/etc/kubespray/inventory/ =
/etc/kubespray/inventory/group_vars/ =
inventory/group_vars/all.yml
inventory/group_vars/k8s-cluster.yml