On Mon, Jul 20, 2009 at 20:28:24 +0200, Eric Tanguy <eric.tanguy@xxxxxxxxxxxxxx> wrote: > Le 20/07/2009 19:07, Ralf Corsepius a écrit : >> On 07/20/2009 06:55 PM, Eric Tanguy wrote: >>> I need to touch a file in spec file. I think the better place is at the >>> end of %prep ? >> Depends on what you actually are doing. >> "touch" may serve for different purposes. > I need to touch the configuration file for Qt Assistant in a manual > package to make Assistant update the cache during an update. You can > follow the discussion upstream : > https://sourceforge.net/forum/forum.php?thread_id=3333352&forum_id=708156 If the touch needs to happen when the update is applied, then it probably needs to be in post (and maybe postun as well). And for stuff done in post and postun you can't assume coreutils and will need to add appropriate requires. Requires(post): coreutils Requires(postun): coreutils -- Fedora-packaging mailing list Fedora-packaging@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-packaging