Hi Sandro,

On Wed, Aug 09, 2017 at 03:30:24PM +0200, Sandro Mani wrote:
> Long text short question: can someone help me adapt this logic for the
> new debuginfo/debugsource mechanism?

rpm was changed to make exactly these kind of scenarious easier to handle.
And at the same time it enabled some settings to make such splits automatic
for all packages. Unfortunately that bites in your case.

For the next couple of weeks I only have limited internet access, so I
cannot directly help you. But I wrote an overview of changes and settings
that packages can use in the following two posts:

A workaround that probably gets you past the build failure for now is to
just revert rpm to its old logic by adding the following to your spec

%undefine _debugsource_packages
%undefine _debuginfo_subpackages

> [2] 
> https://src.fedoraproject.org/rpms/mingw-qt5-qtbase/blob/master/f/mingw-qt5-qtbase.spec

One thing I do notice is that after setup you seem to go outside (up) the
rpm setup source builddir. This will confuse rpm when it tries to find
source files that the binaries were build from. See also this bug:

Hope the helps for now,

devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to