Re: Guidance needed regarding running `ant` in %prep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> Sandro  <lists@xxxxxxxxxxxxx> writes:

> However, I feel that step belongs in %prep for two reasons:

I agree that it should not be in %prep.  %prep is for unpacking and
patching sources.  Not much else should be done there.

> 2. It would be (needlessly?) more complicated to do that in %build

Certainly you have to do what is required to build the package; if RPM
ordering oddities make it so much easier to do that in %prep then I
guess you have to do what you have to do.  I think this situation is why
%conf was created, but I don't know if the ordering works out and I
don't know if it is present on all the releases where you would like to
have the package (it was added in RPM 4.18).

 - J<
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux