git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: Request for help from binary packaging people.
Date: Mon, 8 Aug 2005 22:20:51 +0400	[thread overview]
Message-ID: <20050808222051.275984ff.vsu@altlinux.ru> (raw)
In-Reply-To: <7vwtmw5nx7.fsf_-_@assigned-by-dhcp.cox.net>

[-- Attachment #1: Type: text/plain, Size: 2797 bytes --]

On Mon, 08 Aug 2005 10:38:44 -0700 Junio C Hamano 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.

That "Prereq:" should be "Requires:" instead.  "Prereq:" also
enforces installation ordering between packages; it is required
when the package has some installation scripts (%pre, %post) -
in this case all packages which are needed to execute these
scripts must be listed in "Prereq:".  In case of git-core there
are no such scripts (at least for now), so "Requires:" should be
used - then the package manager will be free to install packages
in any order as long as all dependencies will be satisfied in
the end.

> 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).

RPM does not have "Suggests" and "Recommends" like dpkg - all
RPM dependencies are strict.  Because of this limitation, a
single RPM package is often split into several binary
subpackages.

> 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.

Not only the names of packages are different between Debian and
RPM - the names of similar RPM packages are different between
different RPM-based distributions. :(

E.g., in ALT Linux distributions /usr/bin/ssh is contained in
the openssh-clients package; SuSE 9.3 seems to have it in the
package named "openssh".  There are lots of such differences.

Most modern RPM-based distributions have some mechanism to find
dependencies automatically (e.g., by scanning all Perl scripts
in the package for "use" statements).  But these mechanisms are
incompatible between different distributions too.

Different distributions also have different RPM packaging
conventions, different RPM macros, etc etc...

So the best thing you can really do is to provide an RPM package
for some distribution you choose, which would then be used as a
basis for packages on other distributions.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-08-08 18:22 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-06  1:52 My Itchlist Junio C Hamano
2005-08-06  2:39 ` Linus Torvalds
2005-08-06  6:50   ` Johannes Schindelin
2005-08-06 19:04     ` Junio C Hamano
2005-08-13 20:05   ` Petr Baudis
2005-08-07  6:00 ` GIT 0.99.4 (preview) Junio C Hamano
2005-08-08  3:18   ` Horst von Brand
2005-08-08  9:09   ` GIT 0.99.4 preview: current status Junio C Hamano
2005-08-08 17:38     ` Request for help from binary packaging people Junio C Hamano
2005-08-08 18:20       ` Sergey Vlasov [this message]
2005-08-08 18:58       ` Chris Wright
2005-08-08 22:02         ` Junio C Hamano
2005-08-08 22:21           ` Chris Wright
2005-08-08 22:49             ` Junio C Hamano
2005-08-10 21:15       ` Matthias Urlichs
2005-08-10 22:11         ` [PATCH] Debian packaging for 0.99.4 Matthias Urlichs
2005-08-10 22:56           ` Martin Langhoff
2005-08-10 23:39             ` Matthias Urlichs
2005-08-11  3:17               ` Sebastian Kuzminsky
2005-08-11  4:44                 ` Martin Langhoff
2005-08-11  5:01                   ` Sebastian Kuzminsky
2005-08-11  6:12                     ` Junio C Hamano
2005-08-11  5:05                   ` Linus Torvalds
2005-08-11  5:30                     ` Johannes Schindelin
2005-08-11  5:48                     ` Sebastian Kuzminsky
2005-08-11 16:04                       ` Matthias Urlichs
2005-08-11 16:30                       ` Linus Torvalds
2005-08-11 19:06                         ` Sebastian Kuzminsky
2005-08-11 20:15                           ` Sam Ravnborg
2005-08-11 20:23                             ` Sebastian Kuzminsky
2005-08-11 20:32                               ` Matthias Urlichs
2005-08-11 20:44                                 ` Sebastian Kuzminsky
2005-08-11 20:24                             ` Matthias Urlichs
2005-08-11 20:32                               ` Sam Ravnborg
2005-08-11 22:13                               ` Alan Chandler
2005-08-11 22:18                                 ` Sebastian Kuzminsky
2005-08-12  8:34                                 ` Matthias Urlichs
2005-08-12  8:41                                   ` David Lang
2005-08-12 10:35                                     ` Matthias Urlichs
2005-08-13 23:57                                       ` Ryan Anderson
2005-08-14  0:11                                         ` Matthias Urlichs
2005-08-15  5:08                                           ` Ryan Anderson
2005-08-14  0:48                                         ` Junio C Hamano
2005-08-14  0:49                                           ` Junio C Hamano
2005-08-11 21:51                             ` Linus Torvalds
2005-08-11 21:53                           ` Linus Torvalds
2005-08-11 22:20                             ` Sebastian Kuzminsky
2005-08-11 23:09                               ` Christian Meder
2005-08-11 23:12                             ` Matthias Urlichs
2005-08-12  8:08                             ` [PATCH] Debian packaging for 0.99.4 [u] Andreas Jellinghaus [c]
2005-08-11 19:11                         ` [PATCH] Debian packaging for 0.99.4 Junio C Hamano
2005-08-11 21:45                           ` Gene Heskett
2005-08-11 22:21                             ` Junio C Hamano
     [not found]           ` <7vd5olqtvp.fsf@assigned-by-dhcp.cox.net>
     [not found]             ` <20050810235436.GW28270@kiste.smurf.noris.de>
2005-08-12 20:21               ` Junio C Hamano
2005-08-12 22:54                 ` Martin Langhoff
2005-08-13  0:41                   ` Matthias Urlichs
2005-08-13  0:38                 ` [PATCH] more Debian packaging fixes Matthias Urlichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050808222051.275984ff.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).