From ee31003da17bbeabe0968cd7a2faaca4bbe2fe5d Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Jul 11 2012 18:15:13 +0000 Subject: Applied the patch from Miroslav Lichvar on bug #511306. --- diff --git a/devtodo.spec b/devtodo.spec index 6d36bae..b4079ee 100644 --- a/devtodo.spec +++ b/devtodo.spec @@ -9,8 +9,7 @@ Source0: http://swapoff.org/files/%{name}/%{name}-%{version}.tar.gz Patch0: devtodo-0.1.20-buildfixes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: ncurses-devel -BuildRequires: readline-devel +BuildRequires: compat-readline5-devel %description Todo is a program to display and manage a hierarchical, prioritised list of @@ -30,6 +29,7 @@ For much more complete information please refer to the man page (devtodo(1)). %build +export CPPFLAGS="-I%{_includedir}/readline5" LDFLAGS="-L%{_libdir}/readline5" %configure make %{?_smp_mflags}