From: "Денис Назаров" <nenderus@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] .gear/rules keywords
Date: Tue, 9 Mar 2021 20:41:16 +0300
Message-ID: <60bbe57e-d792-1c2e-5e10-eaa26b00bc17@altlinux.org> (raw)
In-Reply-To: <01b0170a-353d-c459-3b45-de2121aefa0b@basealt.ru>
[-- Attachment #1.1: Type: text/plain, Size: 1658 bytes --]
09.03.2021 09:06, Anton Farygin пишет:
> On 09.03.2021 09:04, Денис Назаров wrote:
>> 09.03.2021 08:52, Anton Farygin пишет:
>>> On 09.03.2021 08:48, Денис Назаров wrote:
>>>> 09.03.2021 07:02, Anton Farygin пишет:
>>>>> On 08.03.2021 23:55, Денис Назаров wrote:
>>>>>> Здравствуйте!
>>>>>>
>>>>>>
>>>>>> Подскажите, можно ли в .gear/rules использовать свои переменные
>>>>>> из spec файла, помимо стандартных @name@, @version@, @release@ и
>>>>>> пр.?
>>>>>>
>>>>>>
>>>>>> Т.е., например в spec файле что-то типа:
>>>>>>
>>>>>> %define git_tag 8e4451d1ab2f973240a1547623a955a2fc3d6611
>>>>>>
>>>>>> а в .gear/rules как-то так
>>>>>>
>>>>>> @git_tag@
>>>>>
>>>>> https://bugzilla.altlinux.org/show_bug.cgi?id=39573
>>>>>
>>>>> Может быть, вам нужно что-то вроде этого ?
>>>>
>>>> Не, это другое.
>>>>
>>>> При использовании .gear/tags, если собирать промежуточную версию
>>>> (на которую как правило нет тега), то приходится каждый раз в и в
>>>> спеке и в .gear/rules менять хэш коммита (а если ещё есть ветки с
>>>> патчами, то несколько раз в .gear/rules).
>>>>
>>>> Ну вот пример у меня -
>>>> http://git.altlinux.org/people/nenderus/packages/dolphin-emu.git?p=dolphin-emu.git;a=commit;h=e968beffe8e0dd0a25075a62880bab3548b2a44c
>>> В вашем случае проще делать тэг с именем 5.0.13671
>> Это понятно, просто хотелось бы обойтись без дополнительных тэгов )
>
> gear-update-tag умеет принимать <value> к имени тэга.
>
> Т.е. - можно обойтись без тэгов.
Да, так как раз отлично будет, спасибо!
>
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]
next prev parent reply other threads:[~2021-03-09 17:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-08 20:55 Денис Назаров
2021-03-08 21:09 ` Vladimir D. Seleznev
2021-03-08 22:46 ` Денис Назаров
2021-03-09 4:02 ` Anton Farygin
2021-03-09 5:48 ` Денис Назаров
2021-03-09 5:52 ` Anton Farygin
2021-03-09 6:04 ` Денис Назаров
2021-03-09 6:06 ` Anton Farygin
2021-03-09 17:41 ` Денис Назаров [this message]
2021-03-09 6:17 ` Alexey V. Vissarionov
2021-03-09 6:16 ` Alexey V. Vissarionov
2021-03-09 6:14 ` Alexey V. Vissarionov
2021-03-09 17:45 ` Денис Назаров
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=60bbe57e-d792-1c2e-5e10-eaa26b00bc17@altlinux.org \
--to=nenderus@altlinux.org \
--cc=devel@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 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