Description of problem: The tendrl-ansible package[1] have no changes related to downstream and contains (only) upstream related files. Version-Release number of selected component (if applicable): tendrl-ansible-1.5.3-2.el7rhgs How reproducible: 100% Actual results: For example tendrl repo points to copr and grafana repo points to upstream repository: # cat /usr/share/ansible/roles/tendrl-ansible.tendrl-copr/files/tendrl-release-epel-7.repo [tendrl-release] name=Copr repo for release owned by tendrl baseurl=https://copr-be.cloud.fedoraproject.org/results/tendrl/release/epel-7-$basearch/ ... # cat /usr/share/ansible/roles/tendrl-ansible.grafana-repo/files/grafana.repo [grafana] name=grafana baseurl=https://packagecloud.io/grafana/stable/el/6/$basearch ... Expected results: Downstream tendrl-ansible package should not contain upstream only related content and should be updated for downstream installation. Additional info: [1] https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=608075
Created attachment 1339732 [details] example of suggested upstream changes for rpm specfile
Created attachment 1339733 [details] example of suggested upstream changes for site.yml.sample playbook
I suggest at least to drop roles ceph-installer, gluster-gdeploy-copr, grafana-repo and tendrl-copr in the downstream package. We would need to do this via patch against pristine upstream release source tarball. This means that we need to: 1) Remove references to these roles in downstream specfile (see example of suggested change of upstream specfile in attachment 1339732 [details]). 2) Moreover we would need to maintain a patch of upstream example playbook site.yml.sample, so that it would not contain references to these roles (see example of suggested change in attachment 1339733 [details]). This patch needs to be added into dist git repo and referenced in downstream specfile (via Patch0: and related %patch0 during %prep) to be applied during rpmbuild.
Done the required changes in the spec file and taken patch2 and build the package tendrl-selinux version 1.5.3-3 and updated the repo.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3478