From: Jan Rękorajski Date: Sun, 14 Mar 2021 01:44:29 +0000 (+0100) Subject: - fix bash completion install path X-Git-Tag: auto/th/dnf-4.6.1-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdnf.git;a=commitdiff_plain;h=5aa69e21207588a17d80e49b59fa65ee751e7fb7 - fix bash completion install path - rel 2 --- 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)