On Thu, 3 May 2018 11:08:47 +0800 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> wrote: > Hi, > > I recently upgrade my host from f26 to f28. But to keep compatible > with old behavior, > I am figuring out a way to revert the change 'Separate Subpackage and > Source Debuginfo'[1]. > That means let rpm not generate debugsource and subpackage debuginfo. > Simply adding '%_debugsource_packages 0' to ~/.rpmmacros does not > work. > > [1] http://fedoraproject.org/wiki/Changes/SubpackageAndSourceDebuginfo A possible suggestion: >From /usr/lib/rpm/redhat/macros """ #============================================================================== # ---- configure macros. note that most of these are inherited # from the defaults. # %_localstatedir /var %_pkgdocdir %{_docdir}/%{name} %_docdir_fmt %%{NAME} %_fmoddir %{_libdir}/gfortran/modules %_enable_debug_packages 1 %_include_minidebuginfo 1 %_include_gdb_index 1 %_debugsource_packages 1 %_debuginfo_subpackages 1 """ >From the man page for rpmbuild: """ --with OPTION Enable configure OPTION for build. --without OPTION Disable configure OPTION for build. """ Does adding the option --without _enable_debug_packages to the end of the rpmbuild line work? If it does, you could just disable any other debug options above that you don't want the same way. You could ask on the fedora-devel list where people will be more familiar with this topic. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx