ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vyt <vyt@vzljot.ru>
To: devel@altlinux.ru
Subject: Re: [devel] %doc in %files in spec
Date: Mon, 15 Apr 2002 17:33:58 +0400
Message-ID: <20020415173358.703cf8ae.vyt@vzljot.ru> (raw)
In-Reply-To: <m3hemdnm3s.fsf@pc313.belcaf.minsk.by>

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

On 15 Apr 2002 16:10:47 +0300
Sergey Bolshakov <s.bolshakov@belcaf.com> wrote:

> 
> ## On Mon, 15 Apr 2002 17:07:59 +0400
> ## you wrote:
> 
>  V> Hello, All!
> 
>  V> Не получается, самому, посоветуйте, пожалуйста:
> 
>  V> В исходнике пакета есть каталог configs:
>  V> drwxr-xr-x    2 vyt      vyt           128 Фев 27 14:06 CVS
>  V> -rw-r--r--    1 vyt      vyt           267 Сен 29  2000 agents_list.xml
>  V> -rw-r--r--    1 vyt      vyt          2511 Окт 11  2000 developer.xml
>  V> -rw-r--r--    1 vyt      vyt          2017 Окт 11  2000 home.xml
>  V> -rw-r--r--    1 vyt      vyt          1485 Окт 11  2000 intranet.xml
>  V> -rw-r--r--    1 vyt      vyt          2479 Окт 11  2000 isp.xml
>  V> -rw-r--r--    1 vyt      vyt          2090 Окт 11  2000 standard.xml
> 
>  V> Нужно упаковать файлы *.xml в %_docdir/%name-%version/configs.
> 
>  V> Пишу в %install 
>  V> ...
>  V> %__mkdir -p $RPM_BUILD_ROOT%_docdir/%name-%version/configs
>  V> install -m 644 configs/*.xml $RPM_BUILD_ROOT%_docdir/%name-%version/configs
>  V> ...
>  V> после чего в %files
>  V> %files
>  V> %defattr(-,root,root)
>  V> #%doc %dir %_docdir/%name-%version
>  V> %doc README ssl/* 
>  V> %docdir configs/*.xml
>  V> #%doc ssl/*
>  V> #%doc %_docdir/%name-%version/*
>  V> #%doc %_docdir/%name-%version
>  V> #%docdir configs
>  V> #%doc %_docdir/%name-%version/configs
>  V> #%doc configs/*.xml
> 
>  V> закомменарены неудачные попытки. Подскажите, пожалуйста,
>  V> правильную конструкцию. Или место, где можно почитать о макросах
>  V> %doc и %docdir.
> 
> %doc configs

Спасибо, но мне нужно только *.xml из configs, без подкаталога
CVS. Может, удалять configs/CVS на стадии %prep ?

<skipped>

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

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

  reply	other threads:[~2002-04-15 13:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-15 13:07 Vyt
2002-04-15 13:10 ` Sergey Bolshakov
2002-04-15 13:33   ` Vyt [this message]
2002-04-15 13:36     ` Dmitry V. Levin
2002-04-15 14:25       ` Vyt
2002-04-15 13:44 ` Yura Zotov

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=20020415173358.703cf8ae.vyt@vzljot.ru \
    --to=vyt@vzljot.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