From: "Dmitry V. Levin" <ldv@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Излишнее увлечение макросом %name в спеке
Date: Fri, 22 Mar 2024 08:54:07 +0200
Message-ID: <20240322065407.GB23382@altlinux.org> (raw)
In-Reply-To: <bda99074-87ac-4303-846b-e08047188ce7@basealt.ru>
On Fri, Mar 22, 2024 at 09:10:19AM +0300, Anton Farygin wrote:
> On 22.03.2024 06:11, Ilya Kurdyukov wrote:
> > Нашел сейчас в atop:
> >
> > URL: http://www.%{name}tool.nl
> >
> > Если мне захочется зайти на сайт, то я должен сначала вставить имя
> > пакета в URL?
>
> Да конечно это ошибка, надо написать где-то на www.altlinux.org в
> правилах что так делать нельзя.
>
> URL должен быть кликабельным из specfile из редактора, это удобно и полезно.
Я бы не утверждал так уж категорично. У нас в Сизифе, например, много
таких вполне валидных конструкций, как %CPAN, например:
$ git --git-dir=/people/specbot/public/specs.git grep -i -h '^URL: %CPAN' @ |sort |uniq -c |sort -nr
581 URL: %CPAN %dist
278 Url: %CPAN %module_name
70 Url: %CPAN %module
43 Url: %CPAN %dist
41 Url: %CPAN %m_distro
35 URL: %CPAN %module
3 URL: %CPAN %module_name
2 Url: %CPAN %oname
1 Url: %CPAN X11-Xlib
1 Url: %CPAN URI-Find
1 Url: %CPAN Twiggy
1 Url: %CPAN TOML
1 Url: %CPAN Text-Xslate-Bridge-TT2Like
1 Url: %CPAN Text-Xslate
1 Url: %CPAN Text-TestBase
1 Url: %CPAN Text-Markdown-Hoedown
1 Url: %CPAN Test-Trap
1 Url: %CPAN Test-TinyMocker
1 Url: %CPAN Test-TCP
1 Url: %CPAN Test-Spec
1 Url: %CPAN Test-SharedFork
1 Url: %CPAN Test-Requires
1 Url: %CPAN Test-Most
1 Url: %CPAN System-Command
1 Url: %CPAN Sub-Exporter-Progressive
1 Url: %CPAN strictures
1 Url: %CPAN Stream-Buffered
1 Url: %CPAN Starman
1 Url: %CPAN Specio
1 Url: %CPAN Socket-Netlink
1 Url: %CPAN Server-Starter
1 Url: %CPAN RRDTool-OO
1 Url: %CPAN Router-Simple-Sinatraish
1 Url: %CPAN Router-Simple
1 Url: %CPAN Router-Boom
1 Url: %CPAN Role-Tiny
1 URL: %CPAN %real_name
1 Url: %CPAN Protocol-WebSocket
1 Url: %CPAN Proc-FastSpawn
1 Url: %CPAN Plack-Middleware-Session
1 Url: %CPAN Plack-Middleware-ReverseProxy
1 Url: %CPAN Plack-Middleware-ETag
1 Url: %CPAN Plack
1 Url: %CPAN Parse-Functions
1 Url: %CPAN OpenGL
1 Url: %CPAN Object-Event
1 Url: %CPAN Object-Container
1 Url: %CPAN Net-Twitter
1 Url: %CPAN Net-OpenSSH
1 URL: %CPAN %name
1 Url: %CPAN MouseX-Foreign
1 Url: %CPAN MooseX-Clone
1 Url: %CPAN Moo
1 Url: %CPAN MojoX-Renderer-Xslate
1 Url: %CPAN Mojolicious
1 Url: %CPAN Module-Install-XSUtil
1 Url: %CPAN Module-Install-ReadmeFromPod
1 Url: %CPAN Module-Install-CheckLib
1 Url: %CPAN Module-Implementation
1 Url: %CPAN(%module)
1 Url: %CPAN Minilla
1 Url: %CPAN MetaCPAN-API
1 Url: %CPAN Mcrypt
1 Url: %CPAN Math-FFT
1 Url: %CPAN Math-Complex
1 Url: %CPAN Log-Any
1 Url: %CPAN Lingua-JA-Regular-Unicode
1 Url: %CPAN JavaScript-Value-Escape
1 Url: %CPAN JavaScript-V8
1 Url: %CPAN JavaScript-Minifier
1 Url: %CPAN JavaScript-Beautifier
1 Url: %CPAN IO-Socket-IP
1 Url: %CPAN IO-FDPass
1 Url: %CPAN HTTP-Session
1 Url: %CPAN HTML-StickyQuery
1 Url: %CPAN HTML-Shakan
1 Url: %CPAN HTML-FillInForm-Lite
1 Url: %CPAN Hash-MultiValue
1 Url: %CPAN Gtk3
1 Url: %CPAN Glib-Object-Introspection
1 URL: %CPAN GD
1 Url: %CPAN Future
1 Url: %CPAN FormValidator-Lite
1 Url: %CPAN Filesys-Notify-Simple
1 Url: %CPAN File-Path-Tiny
1 Url: %CPAN FCGI-Client
1 Url: %CPAN ExtUtils-H2PM
1 Url: %CPAN ExtUtils-CChecker
1 Url: %CPAN Eval-Context
1 Url: %CPAN Error
1 Url: %CPAN DynaLoader-Functions
1 URl: %CPAN %dist
1 Url: %CPAN Devel-PatchPerl
1 Url: %CPAN Devel-CallParser
1 Url: %CPAN Devel-CallChecker
1 Url: %CPAN Debug-Client
1 Url: %CPAN Data-Section-Simple
1 URL: %CPAN Data-MessagePack
1 Url: %CPAN Data-Localize
1 Url: %CPAN Dancer-Template-Xslate
1 Url: %CPAN Dancer-Session-Cookie
1 Url: %CPAN Dancer-Plugin-Database
1 Url: %CPAN Dancer
1 Url: %CPAN CSS-Compressor
1 Url: %CPAN CPAN-Perl-Releases
1 Url: %CPAN Convert-Bencode
1 Url: %CPAN Config-Identity
1 Url: %CPAN Class-Load-XS
1 Url: %CPAN CHI
1 Url: %CPAN CGI-Emulate-PSGI
1 Url: %CPAN CGI-Compile
1 Url: %CPAN Cairo-GObject
1 Url: %CPAN Boulder
1 URL: %CPAN B-Flags
1 Url: %CPAN B-Debug
1 URL: %CPAN B-C
1 Url: %CPAN App-perlbrew
1 Url: %CPAN App-cpanminus
1 Url: %CPAN Apache-LogFormat-Compiler
1 Url: %CPAN AnyEvent-HTTP
1 Url: %CPAN AnyEvent-Gearman
1 Url: %CPAN AnyEvent-Fork
1 Url: %CPAN Amon2-Lite
1 Url: %CPAN Amon2
--
ldv
next prev parent reply other threads:[~2024-03-22 6:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-29 11:58 Vitaly Lipatov
2024-02-29 12:21 ` Yuri Sedunov
2024-03-01 10:55 ` Anton Farygin
2024-03-22 3:11 ` Ilya Kurdyukov
2024-03-22 6:10 ` Anton Farygin
2024-03-22 6:54 ` Dmitry V. Levin [this message]
2024-03-22 7:16 ` Grigory Ustinov
2024-03-22 8:24 ` Denis Medvedev
2024-03-22 9:25 ` Anton Farygin
2024-03-26 8:44 ` Grigory Ustinov
2024-03-23 21:45 ` Volodia Selezniov
2024-03-24 14:31 ` Anton Farygin
2024-03-25 12:41 ` Dmitry V. Levin
2024-03-25 13:13 ` [devel] " Sergey V Turchin
2024-03-25 16:36 ` [devel] " Dmitry V. Levin
2024-03-26 6:29 ` [devel] " Sergey V Turchin
2024-03-26 8:20 ` [devel] " Anton Farygin
2024-03-27 6:26 ` Ruslandh
2024-03-27 6:55 ` Anton Farygin
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=20240322065407.GB23382@altlinux.org \
--to=ldv@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