Le dimanche 28 novembre 2010 Ã 12:15 +0200, Panu Matilainen a Ãcrit : > On Sun, 28 Nov 2010, Kevin Kofler wrote: > > > Panu Matilainen wrote: > >> The draft release notes are at http://rpm.org/wiki/Releases/4.9.0 > > > > 1. This change: > > | Packages with no files can now omit the %files section and still have > > | packages generated. > > is going to make it a PITA to conditionalize the building of subpackages, > > and it's going to break several existing KDE specfiles very badly (and with > > no warning!): RPM will silently generate empty subpackages where none is > > wanted. > > > > More precisely, when we wanted to conditionalize or comment out the creation > > of a subpackage (e.g. in kde-l10n for languages which are currently not > > available), what we did so far was to %if out only the %files section for > > the subpackage, not %package or things like %post, and this would reliably > > omit the subpackage. Now we'll have to %if out ALL sections referring to the > > subpackage: %package to prevent the subpackage from being built, and all > > other sections referring to it because they'll error out if the %package is > > not there. > > This change can be reconsidered. I use this bit too though I'd rather have an explcit way to kill a subpackage rather than relying on empty %files -- Nicolas Mailhot -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel