From 5567bb01a4c945da83830c9ca3b057049d3bccd8 Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Thu, 5 Sep 2019 23:56:54 +0200
Subject: [PATCH] ncurses: use right prefix
---
ncurses/recipe.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ncurses/recipe.spec b/ncurses/recipe.spec
index 51fc858..9a285bb 100644
--- a/ncurses/recipe.spec
+++ b/ncurses/recipe.spec
@@ -6,6 +6,7 @@ options:
- configure: --enable-widec --without-ada --with-shared --enable-pc-files --disable-termcap
@install
- cd ncurses-%{version} && make 'DESTDIR=%{pkg}' %{name}
- cd '%{pkg}' && rm usr/bin/clear usr/bin/reset
+ cd ncurses-%{version}
+ make 'DESTDIR=%{pkg}' install
+ cd '%{pkg}' && rm ./%{prefix}/bin/clear ./%{prefix}/bin/reset