From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Policy на порядок полей в спеке
Date: Thu, 29 Oct 2020 20:23:11 +0300
Message-ID: <680ea22c16ca30b9573649e1f28c72d9@altlinux.ru> (raw)
In-Reply-To: <20201029163320.GA21973@altlinux.org>
Dmitry V. Levin писал 29.10.20 19:33:
> On Thu, Oct 29, 2020 at 07:04:23PM +0300, Vitaly Lipatov wrote:
>> Не так давно кто-то писал (Игорь viy@ ?) предлагаемый порядок полей в
>> спеке.
>
> Когда-то давно я предлагал рекомендуемый порядок тэгов, см.
> http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/doc/alt-packaging/conventions.tex
Спасибо! Неустаревающий документ, всё актуально кроме того, от чего
отказались в силу упрощения.
В итоге предложенный порядок тэгов оказался записанным в разном стиле,
но одинаковом порядке:
https://www.altlinux.org/ALT_Packaging_HOWTO#Порядок_тэгов
https://www.altlinux.org/Общие_правила_написания_спек_файлов_в_ALT_Linux#Порядок_тэгов.
В итоге осовремененный список выглядит так:
```
Name
Version
Release
Epoch или Serial
Summary
License
Group
Url
Packager
BuildArch
ExcludeArch
ExclusiveArch
Provides
Requires
Conflicts
потом (влияющие на процесс сборки, но не то, как пакет выглядит снаружи)
Source
Patch
BuildRequires(pre)
BuildRequires
```
Но на практике
Source
Patch
обычно ставят после Url (я посмотрел на пакеты strace, glibc, ну и я
всегда так делал)
Поменяем?
И ещё хорошо бы порекомендовать место для
директив типа
def_with
def_enable
а также внутренних макросов в спеке.
--
С уважением,
Виталий Липатов,
ALT Linux Team
next prev parent reply other threads:[~2020-10-29 17:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-29 16:04 Vitaly Lipatov
2020-10-29 16:33 ` Dmitry V. Levin
2020-10-29 17:23 ` Vitaly Lipatov [this message]
2020-10-29 18:24 ` Dmitry V. Levin
2020-10-29 20:16 ` Vitaly Lipatov
2020-10-29 22:18 ` Leonid Krivoshein
2020-10-30 7:45 ` Sergey V Turchin
2020-10-30 8:22 ` Anton Farygin
2020-10-30 7:44 ` Sergey V Turchin
2020-10-30 7:54 ` Andrey Cherepanov
2020-10-30 8:13 ` Sergey V Turchin
2020-10-30 8:26 ` Sergey V Turchin
2020-10-30 11:06 ` Vitaly Lipatov
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=680ea22c16ca30b9573649e1f28c72d9@altlinux.ru \
--to=lav@altlinux.ru \
--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