From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] orion
Date: Mon, 22 Jan 2018 21:05:04 +0300
Message-ID: <20180122180504.GA24222@portlab> (raw)
In-Reply-To: <20180122174841.GB31586@imap.altlinux.org>
On Mon, Jan 22, 2018 at 08:48:41PM +0300, Michael Shigorin wrote:
> On Mon, Jan 22, 2018 at 08:19:06PM +0300, Vladimir D. Seleznev wrote:
> > 4. Здесь в поле Source используется путь до тарбола,
> > находящимся на внешнем ресурсе. Мы так не делаем,
>
> Делаем, делаем -- хотя бы видно, где тарбол взять можно.
Вот так:
Source: https://github.com/alamminsalo/orion/archive/v%{version}/%{name}-%{version}.tar.gz
при сборке из gear'а крайне нежелательно писать. Это наводит на мысли,
что в сорцпакете лежит тарбол, что по ссылке, что неверно. Тем более,
когда тарбол генерится из тега.
Лучше писать
# https://github.com/alamminsalo/orion/
Source: %name-%version.tar
и то, в этом случае лучше пакетировать непосредственно из тега с
версией, предоставляемого апстримом:
tar: v@version@:.
а не в текущем виде:
tar.gz: .
> > когда собираем пакеты из gear-репозитория:
>
> Ну вот разве что, и то я бы не рассматривал как догму.
> Просто если рядом нет какого git url, сбить с толку может.
--
С уважением,
Владимир Селезнев
next prev parent reply other threads:[~2018-01-22 18:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 17:19 Vladimir D. Seleznev
2018-01-22 17:48 ` Michael Shigorin
2018-01-22 18:05 ` Vladimir D. Seleznev [this message]
2018-01-22 18:05 ` Michael Shigorin
2018-01-27 8:47 ` Vladimir D. Seleznev
2018-01-31 17:34 ` Vladimir D. Seleznev
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=20180122180504.GA24222@portlab \
--to=vseleznv@altlinux.org \
--cc=devel-newbies@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
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git