**Describe the bug**
I have spent some time trying to create a completely custom debuginfo file for 
a package I maintain.

Currently it is not possible to do so. Even disabling the custom package 
template and the whole debug_package machinery via `%global debug_package 
%{nil}` if rpm build see a package named `%{name}-debuginfo` it will always 
interfere with the build process of that package. 

Namely the code will disregard any file list provide by either the %files 
section or via __find_debuginfo script and will instead process to reconstruct 
a new file list by searching for files named 
*-%{name}-%version}.%{release}.debug


**To Reproduce**
Steps to reproduce the behavior:
1. Disable debug package creation
2. Add an explicit %{name}-debuginfo package
3. Try to include arbitrary files in it

Please link or attach the packages or spec files involved.

**Expected behavior**
When debug package creation is disabled the "main" debuginfo package file lists 
should not be tampered with.

**Additional context**
At the moment the only workaround I found was to create a fake subpackage and 
debuginfo subpackage and that allows me to include whatever content I need, but 
this is not a good solution.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3057
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to