On 05/09/11 21:20, Rüdiger Meier wrote:
On Monday 05 September 2011, Tejas Guruswamy wrote:
On 05/09/11 11:16, Ruediger Meier wrote:
My workaround is this of course:
%install # don't use makeinstall macro because missing docdir=... make install DESTDIR=$RPM_BUILD_ROOT
I'd like to use the macro. How should I do it? Or is the missing docdir just a bug?
It works on modern distros (last few versions of openSUSE, Fedora, Mandriva), AFAIR it didn't worked on all non-suse distros. Could it be that I have to do a bit more than just enabling Fedora build to get a Fedora conform build environment?
Oh sorry, I didn't notice you wrote %makeinstall instead of %make_install. %makeinstall (which was SuSE-only) is deprecated since 11.1 or so in favour of %make_install (which is upstreamed, works on Fedora also), and is what I meant to talk about
i just redefine %makeinstall in prjconf for any broken distros (CentOS 5.5 is the only one I regularly encounter). Ok, but then I prefer to hardcode it just within the spec file. I only thought it should be another solution because when overriding destination paths it could be that stuff gets installed into folders where it doesn't belong to (from distro's point of view).
If files end up missing buildroot, it should be obvious because the build fails. More subtle mistakes can still happen, yes. Regards, Tejas -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org