| |
@@ -65,12 +65,18 @@
|
| |
python3 setup.py --command-packages=click_man.commands man_pages --target %{buildroot}%{_mandir}/man1
|
| |
%endif
|
| |
|
| |
+ # FIXME: workaround for setuptools installing it into bash_completion/ instead of bash-completion/
|
| |
+ install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions
|
| |
+ mv %{buildroot}%{_datadir}/bash_completion/completions/packit %{buildroot}%{_datadir}/bash-completion/completions/packit
|
| |
+
|
| |
%files
|
| |
%license LICENSE
|
| |
%{_bindir}/packit
|
| |
%if 0%{?fedora} >= 30
|
| |
%{_mandir}/man1/packit*.1*
|
| |
%endif
|
| |
+ %dir %{_datadir}/bash-completion/completions
|
| |
+ %{_datadir}/bash-completion/completions/%{real_name}
|
| |
|
| |
%files -n python3-%{real_name}
|
| |
%license LICENSE
|
| |
@@ -78,6 +84,9 @@
|
| |
%{python3_sitelib}/*
|
| |
|
| |
%changelog
|
| |
+ * Mon Jan 20 2020 Jiri Popelka <jpopelka@redhat.com> - 0.8.0-1
|
| |
+ - new upstream release: 0.8.0
|
| |
+
|
| |
* Wed Jan 15 2020 Dominika Hodovska <dhodovsk@redhat.com> - 0.8.0-1
|
| |
- new upstream release: 0.8.0
|
| |
|
| |
Upstream tag: 0.8.0
Upstream commit: 6255879d