* Junio C Hamano ([EMAIL PROTECTED]) wrote:
> For RPM, from my lack of RPM expertise (and RPM capable
> environment until recently), I have not updated the "Prereq:"
> field in git-core.spec.in at all. I would appreciate somebody
> to sanity check the list of dependencies. The dependency list
> Debian side has is more up-to-date and I am reasonably sure it
> is accurate. It lists patch, diff, and rcs (for the "merge"
> command) as the essential dependency (aside from the shared
> libraries like libc), and libmail-sendmail-perl, rsync, curl,
> ssh, and libemail-valid-perl as the recommended dependency. I
> do not even know if RPM has the notion of such multi-tier
> dependencies, but the latter list is meant to mean "you could
> live without these, but to exercise this package fully you may
> want them" (in our case of git-core, you could live without the
> networking if you do not do multi-user, multi-repository). If
> RPM spec file has a way to say something like that, I would like
> to see these packages (probably their names are different
> between Debian and RPM) listed on the recommended dependency
> list; otherwise I would want to see them added to the main
> "Prereq:" list.
I'd say the proper rpm method would be with subpackages with their own
prereqs. Also, rpm is able to determine the perl dependencies
automatically (of course, ditto for shared libraries).
Now, the only issue is this package is unlikely to install because of the
Mail/Sendmail.pm and Email/Valid.pm requirements. We can add specific
package requirements for those since they are less common.
Here's the actual install dependency list:
$ rpm -qp /home/chrisw/rpms/RPMS/i386/git-core-0.99.4-1.i386.rpm --requires
mktemp >= 1.5
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html