public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jason Tibbitts <tibbs@math.uh.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/tig] v2.6.1: Apply patch from Ville Skyttä; move bash competion
Date: Mon, 15 Jun 2026 07:22:56 GMT [thread overview]
Message-ID: <178150817662.1.1931081034910359312.rpms-tig-9a84671c82da@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/tig
Branch : v2.6.1
Commit : 9a84671c82da497708ba4c09fa3de8f055834088
Author : Jason Tibbitts <tibbs@math.uh.edu>
Date : 2015-02-19T13:00:21-06:00
Stats : +8/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/tig/c/9a84671c82da497708ba4c09fa3de8f055834088?branch=v2.6.1
Log:
Apply patch from Ville Skyttä; move bash competion
---
diff --git a/tig.spec b/tig.spec
index 96cf802..ed05b4a 100644
--- a/tig.spec
+++ b/tig.spec
@@ -1,6 +1,6 @@
Name: tig
Version: 2.0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Text-mode interface for the git revision control system
Group: Development/Tools
@@ -13,6 +13,7 @@ BuildRequires: git
BuildRequires: ncurses-devel
BuildRequires: xmlto
BuildRequires: asciidoc
+BuildRequires: bash-completion
Requires: git
%description
@@ -47,8 +48,8 @@ make install install-doc-man DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} \
mandir=%{_mandir}
# Setup bash completion
-mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
-install -pm 644 contrib/%{name}-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
+bashcompdir=$(pkg-config --variable=completionsdir bash-completion)
+install -Dpm 644 contrib/%{name}-completion.bash %{buildroot}$bashcompdir/%{name}
# Remove test-graph binary
rm -f $RPM_BUILD_ROOT%{_bindir}/test-graph
@@ -63,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/tig
-%{_sysconfdir}/bash_completion.d/%{name}
+%{_datadir}/bash-completion/
%config(noreplace) %{_sysconfdir}/%{name}rc
%{_mandir}/man1/tig.1*
@@ -72,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Feb 14 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.0.3-2
+- Move bash completion to %%{_datadir}/bash-completion/completions
+
* Sun Sep 28 2014 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.0.3-1
- New upstream release
reply other threads:[~2026-06-15 7:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178150817662.1.1931081034910359312.rpms-tig-9a84671c82da@fedoraproject.org \
--to=tibbs@math.uh.edu \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox