diff --git a/epel-rpm-macros.spec b/epel-rpm-macros.spec index 30022d1..d415d32 100644 --- a/epel-rpm-macros.spec +++ b/epel-rpm-macros.spec @@ -1,6 +1,6 @@ Name: epel-rpm-macros Version: 9 -Release: 5%{dist} +Release: 6%{dist} Summary: Extra Packages for Enterprise Linux RPM macros License: GPLv2 @@ -13,6 +13,8 @@ Source0: macros.epel-rpm-macros Source1: macros.zzz-epel-override Source2: GPL #Add source for misc macros below here +# https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/macros.shell-completions +Source3: macros.shell-completions BuildArch: noarch @@ -42,15 +44,20 @@ install -Dpm 644 %{SOURCE1} \ %{buildroot}%{_sysconfdir}/rpm/macros.zzz-epel-override #Add misc macros below here - +install -Dpm 644 %{SOURCE3} \ + %{buildroot}%{_rpmmacrodir}/macros.shell-completions %files %license GPL %{_rpmmacrodir}/macros.epel-rpm-macros %{_sysconfdir}/rpm/macros.zzz-epel-override +%{_rpmmacrodir}/macros.shell-completions %changelog +* Thu Sep 01 2022 Maxwell G - 9-6 +- Backport macros.shell-completions from Fedora + * Fri May 27 2022 Carl George - 9-5 - Backport java_arches macro from Fedora diff --git a/macros.shell-completions b/macros.shell-completions new file mode 100644 index 0000000..8e505d7 --- /dev/null +++ b/macros.shell-completions @@ -0,0 +1,3 @@ +%bash_completions_dir %{_datadir}/bash-completion/completions +%zsh_completions_dir %{_datadir}/zsh/site-functions +%fish_completions_dir %{_datadir}/fish/vendor_completions.d