It was <2013-12-11 śro 09:45>, when Dong, Junfeng wrote: > From: [email protected] [mailto:[email protected]] > On Behalf Of Tomasz Olszak > Sent: Wednesday, December 11, 2013 5:12 AM > >> Hi, >> I started to refactor some rpm specs and would like to turn off >> creation of debuginfo and debugsource packages for certain builds. Is >> it possible by passing some kind of variable/define to gbs? >> > As far as I know, two possible ways to disable debug packages. > 1. insert "%define debug_package %{nil}" in the spec files. > 2. set "%debug_package %{nil}" in /etc/rpm/macros, which is supplied by > package "rpm".
The former is probably what you are looking for if you build data-only packages. The latter is somewhat cumbersom as /etc/rpm/macros in the chroot will be removed every now and then. -- Łukasz Stelmach Samsung R&D Institute Poland Samsung Electronics
pgpb2xDaXdXXX.pgp
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
