From: Vyt <vyt@vzljot.ru> To: devel <devel@altlinux.ru> Subject: [devel] %doc in %files in spec Date: Mon, 15 Apr 2002 17:07:59 +0400 Message-ID: <20020415170759.4e7a4ff6.vyt@vzljot.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 1362 bytes --] Hello, All! Не получается, самому, посоветуйте, пожалуйста: В исходнике пакета есть каталог configs: drwxr-xr-x 2 vyt vyt 128 Фев 27 14:06 CVS -rw-r--r-- 1 vyt vyt 267 Сен 29 2000 agents_list.xml -rw-r--r-- 1 vyt vyt 2511 Окт 11 2000 developer.xml -rw-r--r-- 1 vyt vyt 2017 Окт 11 2000 home.xml -rw-r--r-- 1 vyt vyt 1485 Окт 11 2000 intranet.xml -rw-r--r-- 1 vyt vyt 2479 Окт 11 2000 isp.xml -rw-r--r-- 1 vyt vyt 2090 Окт 11 2000 standard.xml Нужно упаковать файлы *.xml в %_docdir/%name-%version/configs. Пишу в %install ... %__mkdir -p $RPM_BUILD_ROOT%_docdir/%name-%version/configs install -m 644 configs/*.xml $RPM_BUILD_ROOT%_docdir/%name-%version/configs ... после чего в %files %files %defattr(-,root,root) #%doc %dir %_docdir/%name-%version %doc README ssl/* %docdir configs/*.xml #%doc ssl/* #%doc %_docdir/%name-%version/* #%doc %_docdir/%name-%version #%docdir configs #%doc %_docdir/%name-%version/configs #%doc configs/*.xml закомменарены неудачные попытки. Подскажите, пожалуйста, правильную конструкцию. Или место, где можно почитать о макросах %doc и %docdir. В логах наблюдается в начале %files "rm -rf %_docdir/%name-%version" не едут лыжи... -- Regards, Vyt mailto: vyt@vzljot.ru JID: vyt@vzljot.ru [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2002-04-15 13:07 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-15 13:07 Vyt [this message] 2002-04-15 13:10 ` Sergey Bolshakov 2002-04-15 13:33 ` Vyt 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=20020415170759.4e7a4ff6.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