make rpms does not work if you do the following:
mkdir build; cd build ~/dev/ds/configure make rpms
This is due to builddir in Makefile.in being set to '.'. We should use abs_builddir, and srcdir for other parts.
Additionally, this fixes invalid if conditionals in the rpmbuild for el7.
This fixes the rpmbuild directory being placed into CWD. This is now placed into the build directory configured by autotools.
A new make target is added rpmsources that will fetch and place jemalloc and nunc-stans into the sources directory.
attachment 0001-Ticket-48397-ds-make-rpms-doesn-t-work-in-a-prefixed.patch
attachment 0002-Ticket-48397-Fix-cwd-and-rpmsources-target.patch
Updated to fix the last two issues. Both patches are required.
commit 22ec6b2
commit 0eb6f5b
To ssh://git.fedorahosted.org/git/389/ds.git b31de33..22ec6b2 master -> master
Metadata Update from @firstyear: - Issue assigned to firstyear - Issue set to the milestone: N/A
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1728
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)
Login to comment on this ticket.