Re: why do source rpms have "prep" dependencies?

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

 



On 11/09/2007, Peter Gordon wrote:
> On Sun, 2007-09-09 at 10:04 -0400, Sam Varshavchik wrote:
> > %prep, %build, and %install are ordinary shell scripts. So, when asked to
> > run through a portion of the build cycle, the only thing that's known are
> > the dependencies for the entire build cycle, so rpm enforces that.
>
> Well, we can already include seperate %preun, %postun, %pre, and %post
> dependencies using Requires(preun):, Requires(postun), et al.; can we do
> something similar for %prep, %build, and %install?

For what benefit?

Even if to be used in conjunction with --short-circuit rpmbuilds,
%install comes after %build, which comes after %prep. So, all build
requirements must be met. And remember, there's also --nodeps for
rpmbuild.

The scriptlet Requires can be useful for sorting the order in which
packages are installed/updated/erased.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux