[devel] Q: PreReq(post,preun)

Dmitry V. Levin ldv на altlinux.org
Вс Янв 20 02:55:53 MSK 2019


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
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : signature.asc
Тип     : application/pgp-signature
Размер  : 801 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20190120/838fa065/attachment.bin>


Подробная информация о списке рассылки Devel