public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cvs] rawhide: Do not configure default editor with an autodetection
@ 2026-10-12 15:28 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-12 15:28 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-12 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 15:28 [rpms/cvs] rawhide: Do not configure default editor with an autodetection 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox