Backport macros.shell-completions from Fedora

epel9
Maxwell G 2 years ago
parent e19afa3b2e
commit c212ede694
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

@ -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 <gotmax@e.email> - 9-6
- Backport macros.shell-completions from Fedora
* Fri May 27 2022 Carl George <carl@george.computer> - 9-5
- Backport java_arches macro from Fedora

@ -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
Loading…
Cancel
Save