diff --git a/redhat/python-exabgp.spec b/redhat/python-exabgp.spec index 39c6b6c0b..5ac6ec866 100644 --- a/redhat/python-exabgp.spec +++ b/redhat/python-exabgp.spec @@ -66,7 +66,7 @@ ln -s %{_sysconfdir}/exabgp/examples/api-api.conf %{buildroot}/%{_sysconfdir}/ex %post -n exabgp %systemd_post exabgp.service # Default env -[ -f %{_sysconfdir}/exabgp/exabgp.env ] || %{_sbindir}/exabgp > %{_sysconfdir}/exabgp/exabgp.env +[ -f %{_sysconfdir}/exabgp/exabgp.env ] || %{_sbindir}/exabgp --fi > %{_sysconfdir}/exabgp/exabgp.env %preun -n exabgp %systemd_preun exabgp.service @@ -77,22 +77,23 @@ ln -s %{_sysconfdir}/exabgp/examples/api-api.conf %{buildroot}/%{_sysconfdir}/ex %files %defattr(-,root,root,-) %{python3_sitelib}/* -%doc COPYRIGHT CHANGELOG README.md +%doc CHANGELOG.rst README.md %files -n exabgp %defattr(-,root,root,-) %attr(755, root, root) %{_sbindir}/exabgp %attr(755, root, root) %{_sbindir}/exabgpcli +%attr(755, root, root) %{_sbindir}/exabgp-cli %attr(755, root, root) %{_sbindir}/exabgp-healthcheck %dir %{_sysconfdir}/exabgp %{_sysconfdir}/exabgp/exabgp.conf %dir %{_sysconfdir}/exabgp/examples -%attr(744, root, root) %{_prefix}/share/exabgp/* +%attr(744, root, root) %{_prefix}/etc/exabgp/* %attr(744, root, root) %{_sysconfdir}/exabgp/examples/* %{_unitdir}/exabgp.service %{_unitdir}/exabgp@.service %attr(644, root, root) %{_unitdir}/* -%doc COPYRIGHT CHANGELOG README.md +%doc CHANGELOG.rst README.md %{_mandir}/man1/* %{_mandir}/man5/* diff --git a/redhat/python-exabgp.spec.git b/redhat/python-exabgp.spec.git index 2ee26e7f1..1fa3ba00c 100644 --- a/redhat/python-exabgp.spec.git +++ b/redhat/python-exabgp.spec.git @@ -85,22 +85,23 @@ ln -s %{_sysconfdir}/exabgp/examples/api-api.conf %{buildroot}/%{_sysconfdir}/ex %files %defattr(-,root,root,-) %{python3_sitelib}/* -%doc COPYRIGHT CHANGELOG README.md +%doc CHANGELOG.rst README.md %files -n exabgp %defattr(-,root,root,-) %attr(755, root, root) %{_sbindir}/exabgp %attr(755, root, root) %{_sbindir}/exabgpcli +%attr(755, root, root) %{_sbindir}/exabgp-cli %attr(755, root, root) %{_sbindir}/exabgp-healthcheck %dir %{_sysconfdir}/exabgp %{_sysconfdir}/exabgp/exabgp.conf %dir %{_sysconfdir}/exabgp/examples -%attr(744, root, root) %{_prefix}/share/exabgp/* +%attr(744, root, root) %{_prefix}/etc/exabgp/* %attr(744, root, root) %{_sysconfdir}/exabgp/examples/* %{_unitdir}/exabgp.service %{_unitdir}/exabgp@.service %attr(644, root, root) %{_unitdir}/* -%doc COPYRIGHT CHANGELOG README.md +%doc CHANGELOG.rst README.md %{_mandir}/man1/* %{_mandir}/man5/*