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: Some spec cleanups.
Date: Mon, 15 Jun 2026 07:23:01 GMT	[thread overview]
Message-ID: <178150818128.1.17704390944540235709.rpms-tig-14be347fe6b4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/tig
Branch : v2.6.1
Commit : 14be347fe6b42e79a0df6e9173f4712a1c9df394
Author : Jason Tibbitts <tibbs@math.uh.edu>
Date   : 2016-08-11T12:39:54-05:00
Stats  : +11/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/tig/c/14be347fe6b42e79a0df6e9173f4712a1c9df394?branch=v2.6.1

Log:
Some spec cleanups.

---
diff --git a/tig.spec b/tig.spec
index b079275..03d01b4 100644
--- a/tig.spec
+++ b/tig.spec
@@ -1,6 +1,6 @@
 Name:           tig
 Version:        2.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Text-mode interface for the git revision control system
 
 License:        GPLv2+
@@ -41,18 +41,15 @@ sed -i '/^#!bash/,+1 d' contrib/%{name}-completion.bash
 
 
 %install
-make install install-doc-man DESTDIR=%{buildroot} prefix=%{_prefix} \
-    mandir=%{_mandir}
+%make_install install-doc-man
 
 # Setup bash completion
-bashcompdir=$(pkg-config --variable=completionsdir bash-completion)
+bashcompdir=$(pkg-config --variable=completionsdir bash-completion || echo /etc/bash_completion.d)
 install -Dpm 644 contrib/%{name}-completion.bash %{buildroot}$bashcompdir/%{name}
 
-# Remove test-graph binary
-rm -f %{buildroot}%{_bindir}/test-graph
-
 
 %files
+%license COPYING
 %doc COPYING NEWS.adoc README.adoc *.html
 %{_bindir}/tig
 %{_datadir}/bash-completion/
@@ -63,6 +60,13 @@ rm -f %{buildroot}%{_bindir}/test-graph
 
 
 %changelog
+* Thu Aug 11 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.2-2
+- Handle case where pkg-config fails (EL6 and EL5).  Might as well test those
+  magic EPEL RPM macros.
+- Use License tag.
+- Remove useless delete of test-graph; hasn't done anything for ages.
+- Use %make_install.
+
 * Thu Aug 11 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.2-1
 - Update to 2.2.
 - Remove needless cruft from spec and be consistent about using %%buildroot.

             reply	other threads:[~2026-06-15  7:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-15  7:23 Jason Tibbitts [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-06-15  7:23 [rpms/tig] v2.6.1: Some spec cleanups Jason Tibbitts

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=178150818128.1.17704390944540235709.rpms-tig-14be347fe6b4@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