Red Hat Bugzilla – Bug 172818
Allow ldapserver rpm to be made externally
Last modified: 2015-12-07 12:08:28 EST
The build process for making the ldapserver rpm depends on the branding stuff
and the reltools stuff. We need a way to create the rpm without these tools.
There is also a problem with the spec file - the setup -b step just exits after
the dsktune step, and offers no reason why. Running from the command line works
fine. This is on FC4.
The tar command on FC4 is stricter - all of the command line options must come
before the directory to tar.
The rpm build process needs to be made a little more dsbuild friendly.
Created attachment 120865 [details]
Created attachment 120866 [details]
Diffs for fix
Reviewed by: Noriko (Thanks!)
Fix Description: Just use a simple sed command to replace the tokens in
the spec.tmpl file. Just assume Fedora branding for this. For some
reason, on FC4, the setup -b step does not work unless I added a second
echo yes to the command. The tar command used by the rpmbuild step must
have all of the command line arguments before the directory to tar. I
moved some things around to make the rpm build process more dsbuild
Platforms tested: FC4
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none
Changed QA Whiteboard to to_be_verified_by_dev.
The fedora-ds-base RPM can be built externally fine now. It is even part of the
Fedora distribution, which requires it to be buildable using only packages
available in the Fedora distribution. Marking as VERIFIED.