Dear Kevin,
I don't see this problem when using make install DESTDIR="%{buildroot}"
Here is a segment from my .spec file:
%build
./configure --prefix=/usr \
--libdir=%{_libdir} \
--enable-perf-counters \
--enable-mmap-racache \
--enable-fast \
--enable-shared \
--with-kernel=%{_kernelsrcdir}
%{__make}
%{__make} kmod
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%{__install} -d %{buildroot}%{_sysconfdir}/init.d
%{__install} -m 755 examples/pvfs2-server.rc \
%{buildroot}/%{_sysconfdir}/init.d/pvfs2_server
%{__install} -m 755 %{SOURCE1}
%{buildroot}/%{_sysconfdir}/init.d/pvfs2_client
%{__install} -d %{buildroot}%{_sysconfdir}/logrotate.d
%{__install} -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/pvfs2
# install kernel modules
%{__make} kmod_install DESTDIR="%{buildroot}"
Are you compiling 2.7.1 or 2.8.1? - I can email you my RPM source file
for either
if you are interested...
Tony
Tony Kew
SAN Administrator
The Center for Computational Research
New York State Center of Excellence
in Bioinformatics & Life Sciences
701 Ellicott Street, Buffalo, NY 14203
CoE Office: (716) 881-8930 Fax: (716) 849-6656
CSE Office: (716) 645-3797 x2174
Cell: (716) 560-0910
"I love deadlines, I love the whooshing noise they make as they go by."
Douglas Adams
Kevin Harms wrote:
Just asking if anyone has an elegant solution to handle pvfs2-config
and RPM builds. When making the RPM build pvfs2-config will be
configured/built with paths that point to the RPM buildroot rather
than intended install directory. Wondering if anyone has a good
solution to this?
thanks,
kevin
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users