Re: how to disable building debug rpm?

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

 



On Wed, 2003-04-16 at 16:57, Marius Andreiana wrote:
> Hi
> 
> When building RPMs, some large static binaries are stripped, leaving
> them at 92 bytes. In the past I fixed this with an empty section
> %define __spec_install_post :
> 
> But now, when debug rpms are also build, I get
> 
> Processing files: pingus-debuginfo-1.0-galuna.1
> error: Could not open %files file
> /usr/src/redhat/BUILD/pingus-1.0/debugfiles.list: No such file or
> directory
> 
> RPM build errors:
>     Could not open %files file
> /usr/src/redhat/BUILD/pingus-1.0/debugfiles.list: No such file or
> directory
> 
> 
> If I disable building debug rpms, will this work then? How to disable
> that, looked in rpmbuild man page and found nothing about it.

I added this to my spec file, seems to work:
%define debug_package %{nil}


-- 
Shawn <drevil@xxxxxxxxxxxx>
http://www.warpcore.org/





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux