From 5db1cda785c290be88e0f4d58393e916cead4418 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 19 Feb 2023 10:51:49 +0100 Subject: dev-ruby/net-imap: only install rfc3454.txt when tests are enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Ștefan Talpalaru for proposing the fix. Closes: https://bugs.gentoo.org/893186 Signed-off-by: Hans de Graaff --- dev-ruby/net-imap/net-imap-0.3.4.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dev-ruby') diff --git a/dev-ruby/net-imap/net-imap-0.3.4.ebuild b/dev-ruby/net-imap/net-imap-0.3.4.ebuild index 6a6a2431601e..eaedc9142d36 100644 --- a/dev-ruby/net-imap/net-imap-0.3.4.ebuild +++ b/dev-ruby/net-imap/net-imap-0.3.4.ebuild @@ -33,6 +33,8 @@ all_ruby_prepare() { -e 's/git ls-files -z/find * -print0/' \ -i ${RUBY_FAKEGEM_GEMSPEC} || die - mkdir rfcs || die - cp "${DISTDIR}/rfc3454.txt" rfcs/ || die + if use test ; then + mkdir rfcs || die + cp "${DISTDIR}/rfc3454.txt" rfcs/ || die + fi } -- cgit v1.2.3-65-gdbad