Re: [Fedora-haskell-list] guidelines install scripts
by Jens-Ulrik Petersen
Thanks Tom,
> If you want to test the corner-case
> that the old preinst/postun logic was added to handle, try the following:
Okay I tried this and it looks ok for me with the revised macros.
I had to fix an another error in the original macros while testing though though caused by using "&&" without "|| :" instead of "if" in %preun.
Luckily no released shipped packages have used it yet, since it breaks package updating.
Jens
15 years
Re: [Fedora-haskell-list] Packaging guidelines and macros update
by Jens-Ulrik Petersen
----- "Jens Petersen" <petersen(a)redhat.com> wrote:
> https://fedoraproject.org/wiki/PackagingDrafts/Haskell
> and I am finally reasonably happy with them.
Actually there is one more thing I would like to change if there are no objections.
I would like to rename %ghc_postinst_script to %ghc_register_pkg and %ghc_preun_script to %ghc_unregister_pkg. I attach a little patch which shows the changes needed to macros.ghc and the templates.
I will try to test the scenarios Tom brought up, before we submit a revision of the guidelines to the Packaging Committee for review.
Jens
15 years