public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/cvs] rawhide: Do not configure default editor with an autodetection
Date: Mon, 12 Oct 2026 15:28:07 GMT	[thread overview]
Message-ID: <179181888749.1.4710527726341586027.rpms-cvs-7d7e754c1cfb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/cvs
            Branch : rawhide
            Commit : 7d7e754c1cfb709ec310d14eff7bbec4c849ab31
            Author : Petr Písař <ppisar@redhat.com>
            Date   : 2026-10-12T17:25:18+02:00
            Stats  : +8/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cvs/c/7d7e754c1cfb709ec310d14eff7bbec4c849ab31?branch=rawhide

            Log:
            Do not configure default editor with an autodetection

If there was instaled vim-enhanced package, the configure script
would select that instead of /usr/bin/vi.

Also it seems that the editor is not needed to be instaled at build
time if configured explicitly. The configure script warns about the
missing editor, but it's harmless.

---
diff --git a/cvs.spec b/cvs.spec
index 38d0fd4..78dae2c 100644
--- a/cvs.spec
+++ b/cvs.spec
@@ -14,7 +14,7 @@
 
 Name:       cvs
 Version:    1.11.23
-Release:    78%{?dist}
+Release:    79%{?dist}
 Summary:    Concurrent Versions System
 URL:        https://cvs.nongnu.org/
 # contrib/check_cvs.in:     check-cvs
@@ -389,8 +389,8 @@ BuildRequires:  systemd
 # texinfo required for
 # cvs-1.11.23-Back-port-KeywordExpand-configuration-keyword.patch
 BuildRequires:  texinfo
-BuildRequires:  vim-minimal
 BuildRequires:  zlib-devel
+# The build-time configured default editor
 Requires:       vim-minimal
 
 
@@ -538,7 +538,9 @@ autoreconf --force --install
 
 %configure CFLAGS="$CFLAGS $RPM_OPT_FLAGS \
     -D_FILE_OFFSET_BITS=64 %-D_LARGEFILE64_SOURCE" \
-    $PAM_CONFIG $KRB_CONFIG CSH=/bin/csh
+    $PAM_CONFIG $KRB_CONFIG \
+    --with-editor=/usr/bin/vi \
+    CSH=/bin/csh
 
 %{make_build} all doc
 
@@ -619,6 +621,9 @@ exit 0
 
 
 %changelog
+* Mon Oct 12 2026 Petr Pisar <ppisar@redhat.com> - 1.11.23-79
+- Do not configure default editor with an autodetection
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.23-78
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-10-12 15:28 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=179181888749.1.4710527726341586027.rpms-cvs-7d7e754c1cfb@fedoraproject.org \
    --to=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