Michal Vyskocil wrote:
I don't know the correct way, but I've a following magic sequence in one package, which just works
Maybe not all definitions needs to be "nilled", so it'd be great if you will have the time to realize, which needs to be setted up. I could reduce it to the above. I did not have to nil the _suse* macros and setting the NO_DEBUG... variable did not make a difference for Haskell
%install %global __debug_install_post %{nil} %global debug_package %{nil} %global suse_insert_debug_package %{nil} # HACK FOR DISABLED DEBUG echo "/usr/lib/debug" > debugfiles.list mkdir -p $RPM_BUILD_ROOT/usr/lib/debug echo "/usr/src/debug" > debugsources.list mkdir -p $RPM_BUILD_ROOT/usr/src/debug packages. I still get a debugsource package that is empty in my case and hence is deleted by script 01-check-debuginfo. The hack to generate the two file lists looks ugly but I can hide all of the above in an RPM macro :-) Peter -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org