From f7629514d829884cb4da44499c7b23bf550c5cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Wed, 13 May 2020 16:38:13 +0200 Subject: [PATCH] Add runtime dependency on ed Use of 'patch --ed' requires ed. For those unfamiliar with this functionality (like me), here is a reproducer: $ echo foo > a $ cp a b $ echo bar >> b $ diff --ed a b > patch $ patch --ed a patch patch: /usr/bin/ed subprocess failed: No such file or directory patch: **** /usr/bin/ed FAILED I ran into this issue when running 'quilt annotate'. --- patch.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patch.spec b/patch.spec index 84bffb0..1fcd4fb 100644 --- a/patch.spec +++ b/patch.spec @@ -39,6 +39,8 @@ BuildRequires: libattr-devel BuildRequires: ed BuildRequires: autoconf automake +Requires: ed + Provides: bundled(gnulib) = %{gnulib_ver} %description