ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Q: PreReq(post,preun)
Date: Sun, 20 Jan 2019 02:55:53 +0300
Message-ID: <20190119235553.GB19146@altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 6025 bytes --]

Hi,

Мне показалось, что пора уже свернуть поддержку PreReq с квалификаторами
вида (post,preun) как ненужную и двусмысленную, ведь Requires с
квалификаторами вида (post,preun) поддерживается с незапамятных времён.

В последний момент я зачем-то проверил нынешние Сизифные спек-файлы, а там такое:

alterator-browser-qt5/alterator-browser-qt.spec:PreReq(post,preun): alternatives >= 0.2
avidemux-qt/avidemux.spec:PreReq(post,preun): alternatives >= 0.2
avidemux-qt/avidemux.spec:PreReq(post,preun): alternatives >= 0.2
avidemux-qt/avidemux.spec:PreReq(post,preun): alternatives >= 0.2
branding-alt-sisyphus/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-alt-sisyphus/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-backup-server/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-backup-server/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-centaurus/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-centaurus/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-centaurus/branding.spec:PreReq(post): lightdm-gtk-greeter
branding-altlinux-centaurus/branding.spec:PreReq(post): libgio
branding-altlinux-desktop/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-desktop/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-kdesktop/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-kdesktop/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-lite/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-lite/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-lxdesktop/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-lxdesktop/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-office-server/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-office-server/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-spt/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-spt/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-altlinux-spt/branding.spec:PreReq(post): lightdm-gtk-greeter
branding-altlinux-spt/branding.spec:PreReq(post): libgio
branding-altlinux-tablet/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-altlinux-tablet/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-informika-schoolmaster/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-informika-schoolmaster/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-ivk-chainmail/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-ivk-chainmail/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-school-junior/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-school-junior/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-school-junior/branding.spec:PreReq(post): lightdm-gtk-greeter
branding-school-junior/branding.spec:PreReq(post): libgio
branding-school-lite/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-school-lite/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-school-master/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-school-master/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-school-master/branding.spec:PreReq(post): lightdm-gtk-greeter
branding-school-master/branding.spec:PreReq(post): libgio
branding-school-server/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-school-server/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-school-server/branding.spec:PreReq(post): lightdm-gtk-greeter
branding-school-server/branding.spec:PreReq(post): libgio
branding-school-teacher/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-school-teacher/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-school-teacher/branding.spec:PreReq(post): lightdm-gtk-greeter
branding-school-teacher/branding.spec:PreReq(post): libgio
branding-simply-linux/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-simply-linux/branding.spec:PreReq(post,preun): alternatives >= 0.2
branding-xalt-kworkstation/branding.spec:PreReq(post,preun): alternatives >= 0.2 alterator
branding-xalt-kworkstation/branding.spec:PreReq(post,preun): alternatives >= 0.2
chromium/chromium.spec:PreReq(post,preun): alternatives >= 0.2
design-graphics-children/design-graphics-children.spec:PreReq(post,preun): alternatives >= 0.2
falkon/falkon.spec:PreReq(post,preun): alternatives >= 0.2
kde4-konsole/konsole.spec:PreReq(post,preun): alternatives >= 0.2
kde4-settings-kmobile/kde4-settings-mobile.spec:PreReq(post,preun): alternatives >= 0.2
kde4-settings-knetbook/kde4-settings-knetbook.spec:PreReq(post,preun): alternatives >= 0.2
kde4base/kde4base.spec:PreReq(post,preun): alternatives >= 0.2
kde5-konqueror/konqueror.spec:PreReq(post,preun): alternatives >= 0.2
kde5-konsole/konsole.spec:PreReq(post,preun): alternatives >= 0.2
rekonq/rekonq.spec:PreReq(post,preun): alternatives >= 0.2
ring-client-kde5/ring-client-kde5.spec:PreReq(post,preun): alternatives >= 0.2
ring-project/ring-project.spec:PreReq(post,preun): alternatives >= 0.2
tinc/tinc.spec:PreReq(post,preun): chkconfig
uw-imap/uw-imap.spec:PreReq(post): /var/lib/ssl

Скажите мне, пожалуйста, что мантейнеры этих пакетов имели в виду,
когда использовали PreReq(post,preun)?
У меня есть гипотеза, что они имели в виду Requires(post,preun).

Разумеется, все PreReq(post,preun) на alternatives -
это просто старый мусор, поскольку самих скриптов уже давно нет.

Напоследок забавное.  В rspamd.spec есть такая конструкция:
BuildPreReq(pre): rpm-build-intro


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

             reply	other threads:[~2019-01-19 23:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-19 23:55 Dmitry V. Levin [this message]
2019-01-20  7:28 ` 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=20190119235553.GB19146@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