public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Johan Cwiklinski <johan@x-tnd.be>
To: git-commits@fedoraproject.org
Subject: [rpms/tig] v2.6.1: New upstream release, add bash completion
Date: Mon, 15 Jun 2026 07:22:54 GMT	[thread overview]
Message-ID: <178150817431.1.3775890272352589035.rpms-tig-d938346e124d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/tig
Branch : v2.6.1
Commit : d938346e124d212bbef4966f167b3ce82a1c0573
Author : Johan Cwiklinski <johan@x-tnd.be>
Date   : 2013-08-26T18:18:26+02:00
Stats  : +16/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/tig/c/d938346e124d212bbef4966f167b3ce82a1c0573?branch=v2.6.1

Log:
New upstream release, add bash completion

---
diff --git a/sources b/sources
index cb3e903..b48eab1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9821525564aa3f4aa51ad2b6c11b3a91  tig-1.2.tar.gz
+9dec2966d3d51f7d8b5b8d4a4b8d93eb  tig-1.2.1.tar.gz

diff --git a/tig.spec b/tig.spec
index e57a1b3..798a38b 100644
--- a/tig.spec
+++ b/tig.spec
@@ -1,5 +1,5 @@
 Name:           tig
-Version:        1.2
+Version:        1.2.1
 Release:        1%{?dist}
 Summary:        Text-mode interface for the git revision control system
 
@@ -37,12 +37,19 @@ make %{?_smp_mflags} all doc-man doc-html
 #Convert to unix line endings
 sed -i -e 's/\r//' *.html
 
+# Remove shebang from bash-completion script
+sed -i '/^#!bash/,+1 d' contrib/%{name}-completion.bash
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
 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}
+
 # Remove test-graph binary
 rm -f $RPM_BUILD_ROOT%{_bindir}/test-graph
 
@@ -52,16 +59,22 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING NEWS README SITES BUGS manual.txt *.html
+%doc COPYING NEWS README BUGS *.html
 
 %{_bindir}/tig
 
+%{_sysconfdir}/bash_completion.d/%{name}
+
 %{_mandir}/man1/tig.1*
 %{_mandir}/man5/tigrc.5*
 %{_mandir}/man7/tigmanual.7*
 
 
 %changelog
+* Mon Aug 26 2013 Johan Cwiklinski <johan AT x-tnd DOT be> - 1.2.1-1
+- New upstream release
+- Add bash completion (bz #1000823)
+
 * Mon Aug 12 2013 Johan Cwiklinski <johan AT x-tnd DOT be> - 1.2-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=178150817431.1.3775890272352589035.rpms-tig-d938346e124d@fedoraproject.org \
    --to=johan@x-tnd.be \
    --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