Re: Any way to disable debugsource generation on fedora >= 27

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux