From: Igor Homyakov <homyakov@ramax.spb.ru> To: devel@altlinux.ru Subject: Re: [devel] IA: rpm: how to install %docs properly Date: Mon, 30 Sep 2002 13:10:16 +0400 Message-ID: <20020930091016.GA31584@kadath.pm.ramax.spb.ru> (raw) In-Reply-To: <20020930085344.GA31079@basalt.office.altlinux.ru> On Mon, Sep 30, 2002 at 12:53:44PM +0400, Dmitry V. Levin wrote: > Greetings! > Я заметил, что многие из вас делают типичную ошибку, включая > %_docdir/%name-%version только в один из подпакетов. > Например, в libxml2-2.4.23-alt1 под видом исправления установки было > сделано следующее: > %files > [...] > %dir %_docdir/%name-%version > %doc %_docdir/%name-%version/AUTHORS > [...] > %files devel > [...] > %doc %_docdir/%name-%version/html > В этом примере содержится 2 типовые ошибки: > 1. В подпакете -devel не включен каталог %_docdir/%name-%version, что > приводит к потерянным каталогам при обновлении. > 2. Для файлов и каталогов, начинающихся с %_docdir, не нужно указывать > %doc, ибо это уже заложено в rpm. > P.S. А в libxml2-python документация вообще не на месте. Если пакет разбит на части package, package-common ... документацию стоит включать только в один пакет ? по логике файлы должны принадлежать package-common, но тогда они будут лежать в %_docdir/%name-common-%version вместо %_docdir/%name-%version -- Igor Homyakov <homyakov at altlinux dot ru> http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141
next prev parent reply other threads:[~2002-09-30 9:10 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-09-30 8:53 Dmitry V. Levin 2002-09-30 9:10 ` Igor Homyakov [this message] 2002-09-30 10:49 ` Dmitry V. Levin 2002-09-30 11:06 ` Igor Homyakov 2002-09-30 11:40 ` Dmitry V. Levin 2002-09-30 11:36 ` Igor Homyakov 2002-09-30 12:01 ` Dmitry V. Levin 2002-09-30 16:14 ` Alexey I. Froloff 2002-10-01 6:15 ` Dmitry V. Levin 2002-10-01 17:08 ` Alexey I. Froloff 2002-10-01 17:17 ` Dmitry V. Levin 2002-10-02 18:26 ` Alexey I. Froloff 2002-10-02 11:03 ` Yuri N. Sedunov 2002-10-03 21:32 ` Dmitry V. Levin 2002-10-04 3:29 ` Yuri N. Sedunov 2002-10-04 9:23 ` Dmitry V. Levin 2002-10-04 10:30 ` Yuri N. Sedunov 2002-10-04 10:55 ` Dmitry V. Levin 2002-10-18 22:34 ` at 2002-10-19 11:03 ` Dmitry V. Levin 2002-10-21 11:26 ` Igor Homyakov 2002-10-21 11:55 ` Dmitry V. Levin 2002-10-21 20:21 ` at 2002-10-22 8:18 ` Dmitry V. Levin
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=20020930091016.GA31584@kadath.pm.ramax.spb.ru \ --to=homyakov@ramax.spb.ru \ --cc=devel@altlinux.ru \ /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
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git