[packages/dnf] - fix bash completion install path - rel 2

baggins baggins at pld-linux.org
Sun Mar 14 02:44:54 CET 2021


commit 5aa69e21207588a17d80e49b59fa65ee751e7fb7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 14 02:44:29 2021 +0100

    - fix bash completion install path
    - rel 2

 dnf.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/dnf.spec b/dnf.spec
index 544c7f4..1ca03ab 100644
--- a/dnf.spec
+++ b/dnf.spec
@@ -11,7 +11,7 @@ Summary:	Package manager
 Summary(pl.UTF-8):	Zarządca pakietów
 Name:		dnf
 Version:	4.6.1
-Release:	1
+Release:	2
 Group:		Base
 # GPL v2+ with GPL v2 and GPL parts; for a breakdown of the licensing, see PACKAGE-LICENSING
 License:	GPL v2 (parts on GPL v2+ or GPL)
@@ -19,7 +19,7 @@ Source0:	https://github.com/rpm-software-management/dnf/archive/%{version}/%{nam
 # Source0-md5:	21880d44905d6aa67ab6bee1e86380b3
 Patch0:		install.patch
 URL:		https://github.com/rpm-software-management/dnf
-BuildRequires:	bash-completion
+BuildRequires:	bash-completion-devel
 BuildRequires:	cmake >= 2.4
 BuildRequires:	gettext-tools
 BuildRequires:	python3
@@ -212,7 +212,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n bash-completion-dnf
 %defattr(644,root,root,755)
-/etc/bash_completion.d/dnf
+%{bash_compdir}/dnf
 
 %files -n yum
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dnf.git/commitdiff/5aa69e21207588a17d80e49b59fa65ee751e7fb7



More information about the pld-cvs-commit mailing list