public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tig] v2.6.1: New upstream release, add bash completion
@ 2026-06-15 7:22 Johan Cwiklinski
0 siblings, 0 replies; only message in thread
From: Johan Cwiklinski @ 2026-06-15 7:22 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 7:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 7:22 [rpms/tig] v2.6.1: New upstream release, add bash completion Johan Cwiklinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox