Red Hat Bugzilla – Bug 241374
BuildRequires libXmu-devel bzip2-devel ncurses-devel
Last modified: 2007-11-30 17:12:05 EST
I built R-2.5.0-2.fc6.src.rpm using chrooted mock and compared the --requires
for a "native" (sorry if that's the wrong term...I just ran 'rpmbuild -bb' on a
well-installed system). I noticed these dependency differences:
$ diff r.native r.mock
The R documentation in doc/html/R-admin.html states that libbz2 is optional and
will use it's own copy if the system one is not found. Since the %configure
macro includes --with-system-bzlib, I believe that is the intention, and
bzip2-libs should be included as a BuildRequires.
LibXmu is also documented as optional and if found, will use X's clipboard
Libtermcap was discussed in bug 231195 for R-2.4.1-4.fc7 and should be
deprecated in favor of ncurses.
I suggest ammending BuildRequires as follows:
BuildRequires: libXmu-devel, bzip2-devel, ncurses-devel
I verified the --requires are now identical in the mock build with the native build.
[rpmlint also complained about %configure, %makeinstall macros used in changelog
entries, near the bottom. Perhaps another bugreport is preferable, but if
you're there editing the spec...]
Thanks for the bug report!
I've made the BR corrections to the FC-5, FC-6, and F-7 branches of R (along
with the easy changelog fixes).
F-7 already had the ncurses-devel as a BR, but now all the current Fedora
Unfortunately, its too late for this fix to make it into F-7 final, but it will
go out as a 0day update.
R-2.5.0-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.