From: Michael Shigorin <mike@osdn.org.ua> To: sisyphus@lists.altlinux.org Subject: Re: [sisyphus] Несколько вопросов по сборке пакета Date: Fri, 4 Dec 2009 14:11:24 +0200 Message-ID: <20091204121124.GA24131@osdn.org.ua> (raw) In-Reply-To: <hf95o6$e6r$1@ger.gmane.org> On Thu, Dec 03, 2009 at 10:06:29PM +0200, Andrei Kovtun wrote: > Скачал тарбол с официального сайта, к примеру: > awesome-3.4.2.tar.bz2 > 1) В каком каталоге обычно выполняют сборку? У меня -- под ~/hasher, где обычно симлинк на $TMP/hasher, при этом в /tmp смонтировано несколько гигабайт tmpfs (может превышать объём RAM, на tmpfs+swap всё равно быстрей, чем на "полной" ФС). > 2) В какой каталог поместить тарбол, чтобы потом сделать gear-update -c? Куда угодно -- например, $TMP, ~/Download или ~/RPM/SOURCES/%name. > 3) в .gear/rules должно быть прописано расширение то же что у > тарбола с исходниками? > в моем случае: tar.bz2: awesome Лучше нежатый tar:, чтоб избежать совершенно избыточной упаковки и сразу же распаковки в процессе сборки. > 4) в спеке указывается то же расширение, что и у тарбола? > в моем случае: %name-%version.tar.bz2 Да (соответственно лучше будет .tar). > Спрашиваю об этом потому что, как не извращаюсь, все равно в > конце концов получаю ошибку: > error: File /usr/src/in/source/awesome-3.4.2.tar.bz2: No such file or > directory Дело не в ~/.rpmmacros, загляните в этот каталог относительно hasher chroot. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2009-12-04 12:11 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-03 20:06 Andrei Kovtun 2009-12-03 20:12 ` Hihin Ruslan 2009-12-03 21:12 ` Andrei Kovtun 2009-12-03 21:15 ` Dmitry V. Levin 2009-12-04 11:47 ` Андрей Черепанов 2009-12-04 12:11 ` Michael Shigorin [this message] 2009-12-04 12:12 ` Michael Shigorin
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=20091204121124.GA24131@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=shigorin@gmail.com \ --cc=sisyphus@lists.altlinux.org \ /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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git