Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=551651
Shakthi Kannan shakthimaan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shakthimaan@gmail.com
--- Comment #3 from Shakthi Kannan shakthimaan@gmail.com 2010-01-02 01:04:06 EDT --- #001 The Makefile links -lpthread, and so BuildRequires needs to include glibc-devel.
BuildRequires: glibc-devel
#002 The Makefile is using -L/usr/local/lib and -I/usr/local/include. But, your shipped package will be in /usr. So, you need to replace these references in the Makefile to use %{_libdir} and %{_includedir} respectively in %setup section.
%{__sed} -e "s|/usr/local/lib|%{_libdir}|" Makefile > Makefile.ex touch -r Makefile Makefile.ex %{__mv} Makefile.ex Makefile
%{__sed} -e "s|/usr/local/include|%{_includedir}|" Makefile > Makefile.ex touch -r Makefile Makefile.ex %{__mv} Makefile.ex Makefile