[Bug 551651] Review Request: ArpON - Arp handler inspection
bugzilla at redhat.com
bugzilla at redhat.com
Sat Jan 2 06:04:07 UTC 2010
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 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shakthimaan at gmail.com
--- Comment #3 from Shakthi Kannan <shakthimaan at 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
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list