Le Jeu 10 avril 2008 15:41, Toshio Kuratomi a écrit : > Nicolas Mailhot wrote: >> Le Jeu 10 avril 2008 10:40, Konrad Meyer a écrit : >> >>> Nicolas, unless I'm mistaken, means that jpp packages delete binary >>> files >>> during the %prep stage, rather than just ignoring them during the >>> %install stage. >> >> Yes, that's the only safe way to do it. If you still have binary >> blobs >> on-disk at the %build stage, there is always the risk some part of >> upstream's build system will use them without you noticing. >> > Agreed. Great work JPackage guys! > > Talking with Jeremy on IRC last night, he suggested we add a script to > enhance rpmbuild's %setup (post-F9) that delete's prebuilt binaries > based on file's output. I don't know how accurate file is, since java uses jar files which are zips with metadata added. JPP mostly does a find for a set of extension and kills them. > Does this sound good to you? It's probably a good default. You still need a I-know-better-let-me-do-things-my-own-way macro that disables this script as needed IMHO. > Will it conflict with the JPackage way of deleting things? Well, I've mostly retired from JPP. So I may not know the latest patterns. It would be much better if FPC mandated someone it trusts to discuss java packaging policy changes on the jpp lists, and to collect feedback the other way as needed. Regards, -- Nicolas Mailhot -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list