ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] IA: rpm: how to install %docs properly
@ 2002-09-30  8:53 Dmitry V. Levin
  2002-09-30  9:10 ` Igor Homyakov
  2002-10-18 22:34 ` at
  0 siblings, 2 replies; 24+ messages in thread
From: Dmitry V. Levin @ 2002-09-30  8:53 UTC (permalink / raw)
  To: ALT Devel discussion list; +Cc: Mikhail Zabaluev

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

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 документация вообще не на месте.


--
ldv

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2002-10-22  8:18 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-30  8:53 [devel] IA: rpm: how to install %docs properly Dmitry V. Levin
2002-09-30  9:10 ` Igor Homyakov
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

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