ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Include dir without subdirs in %files
@ 2003-10-06 12:13 Vitaly Ostanin
  2003-10-06 12:54 ` Alexey I. Froloff
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Ostanin @ 2003-10-06 12:13 UTC (permalink / raw)
  To: devel

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

Hello, All!

Разбиваю alt-docs-xsl на подпакеты с разными зависимостями, при
этом alt-docs-xsl становится виртуальным для вытягивания всех
подпакетов, а на alt-docs-xsl-common ставится зависимость у всех
подпакетов.

Стили из всех подпакетов ставятся в %xsldir/subpackage, при этом
%xsldir остаётся бесхозным.

Если включать каталог %xsldir в alt-docs-xsl-common, то в него
попадут и подкаталоги из других подпакетов (они там лежат на
момент сборки).

Так вот, подскажите, пожалуйста, как включить в пакет просто
каталог, без подкаталогов?

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

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

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

* Re: [devel] Include dir without subdirs in %files
  2003-10-06 12:13 [devel] Include dir without subdirs in %files Vitaly Ostanin
@ 2003-10-06 12:54 ` Alexey I. Froloff
  2003-10-06 13:56   ` [devel] " Vitaly Ostanin
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey I. Froloff @ 2003-10-06 12:54 UTC (permalink / raw)
  To: devel

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

* Vitaly Ostanin <vyt@vzljot.ru> [031006 16:13]:
[/dev/null]
> Так вот, подскажите, пожалуйста, как включить в пакет просто
> каталог, без подкаталогов?

%files common
%dir %_datadir/some/where

%files not-so-common
%_datadir/some/where/here

В первом случа попадёт только каталог %_datadir/some/where, во
втором - каталог %_datadir/some/where/here и всё что внутри него
(%_datadir/some/where/here/*)

-- 
Regards, Sir Raorn.
-------------------
> честно говоря я тоже не понимаю при чем тут rpm-build? ;)
> я его разве гдето упоминал?
Хоть rpm-build никто и не упомянул, но дело именно в нем. :)
		-- ldv in sisyphus@

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

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

* [devel] Re: Include dir without subdirs in %files
  2003-10-06 12:54 ` Alexey I. Froloff
@ 2003-10-06 13:56   ` Vitaly Ostanin
  0 siblings, 0 replies; 3+ messages in thread
From: Vitaly Ostanin @ 2003-10-06 13:56 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Mon, 6 Oct 2003 16:54:31 +0400
"Alexey I. Froloff" <sir_raorn@immo.ru> wrote:

> * Vitaly Ostanin <vyt@vzljot.ru> [031006 16:13]:
> [/dev/null]
> > Так вот, подскажите, пожалуйста, как включить в пакет просто
> > каталог, без подкаталогов?
> 
> %files common
> %dir %_datadir/some/where
> 
> %files not-so-common
> %_datadir/some/where/here
> 
> В первом случа попадёт только каталог %_datadir/some/where, во
> втором - каталог %_datadir/some/where/here и всё что внутри
> него(%_datadir/some/where/here/*)

Спасибо огромное! А можно меня ткнуть, где про это читать? В
/usr/lib/rpm/macros честно смотрел, в
/usr/share/doc/rpm-4.0.4/manual/spec
тоже...

<skipped/>

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

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

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

end of thread, other threads:[~2003-10-06 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 12:13 [devel] Include dir without subdirs in %files Vitaly Ostanin
2003-10-06 12:54 ` Alexey I. Froloff
2003-10-06 13:56   ` [devel] " Vitaly Ostanin

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