On 6 January 2018 at 06:30, Daniel Farina <daniel@citusdata.com> wrote:
Hello,

For quite some time, I've been building lightly modified PGDG packages, but I have never figured how PGDG's yum repo gets debuginfo packages. When I have built them, unless I hack up the spec file to have "%debug_package" I do not get such a debuginfo package. Clearly, that is not how the spec files work as-is in pgrpms.

How do you invoke rpmbuild?

I get debuginfo packages. I build srpms then rpmbuild --rebuild them. Usually using mock, though moving toward docker these days so I can use the same toolchain for my debian build pipeline too.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services