docker-rpmbuild icon indicating copy to clipboard operation
docker-rpmbuild copied to clipboard

rpmdev-setuptree defaults to %_topdir to $HOME/rpmbuild

Open norrs opened this issue 11 years ago • 1 comments

At the moment we expect to find it under /rpmbuild/{SOURCES,SPECS ... }.

At least with the latest upstream docker centos6 image, this fails.

Maybe we could supply a .rpmmacros with %_topdir set.

norrs avatar Nov 06 '14 17:11 norrs

RUN sed -i 's/%_topdir.*/%_topdir /rpmbuild/g' $HOME/.rpmmacros

after the rpmdev-setuptree works. Ugly hack but hey hey.

norrs avatar Nov 06 '14 18:11 norrs