ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Rahmatullin <wrar@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] rpm-build-compat considered harmful
Date: Tue, 24 Nov 2009 19:37:45 +0500
Message-ID: <20091124143745.GT25872@wrars-comp.wrarsdomain> (raw)

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

Господа, надо что-то делать.

/etc/rpm/macros.d/compat:%_rpmmacrosdir %_sysconfdir/rpm/macros.d

Это лишь один пример, когда rpm-build-compat молча переопределяет
системный макрос. Я не буду обсуждать ситуации, когда этот пакет указан в
BuildRequires сизифного пакета (это, понятно, клиника). Я, блин, про
ситуации, когда он стоит в хост-системе бедного девелопера (например
потому что ему в рассылке посоветовали rpmcs и он поставил
etersoft-build-utils).
Я хотел написать в багзиллу, но не дошёл даже до формулирования темы, т.к.
не знаю, что именно должно быть исправлено. Возможно, надо открутить
rpm-build-compat от etersoft-build-utils и насовать куда-нибудь
предупреждений, что в /etc/rpm/macros.d/compat содержатся гадости, которые
нельзя использовать в спеках (а то я люблю искать макросы в rpm --showrc и
однажды нашёл там %groupadd; %_rpmmacrosdir я тоже нашёл, но догадался
обнаружить его в /etc/rpm/macros.d/compat и потому не узнал, что в
/usr/lib/rpm он тоже есть), а простая установка пакета может нафиг
разломать сборку произвольных пакетов в хост-системе.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

> On Thu, Mar 03, 2005 at 05:21:23PM +0300, Aleksey Novodvorsky wrote:
Хм.  Мне показалось, что это писал rider@, но суть письма остаётся.
		-- mike in docs@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

             reply	other threads:[~2009-11-24 14:37 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 14:37 Andrey Rahmatullin [this message]
2009-11-24 14:41 ` Andrey Rahmatullin
2009-11-24 16:14 ` Igor Vlasenko
2009-11-24 16:27   ` Alexey I. Froloff
2009-11-24 16:32     ` Andrey Rahmatullin
2009-11-24 16:50       ` Alexey Shabalin
2009-11-24 17:43   ` Slava Dubrovskiy
2009-11-24 18:16   ` Vitaly Lipatov
2009-11-24 18:28     ` Igor Vlasenko
2009-11-24 21:49       ` Vitaly Lipatov
2009-11-25 11:10         ` Igor Vlasenko
2009-11-25  4:12       ` REAL
2009-11-25 11:22         ` Igor Vlasenko
2009-11-25 11:37           ` Igor Vlasenko
2009-11-26  8:47             ` Vitaly Lipatov
2009-11-26  9:08               ` Igor Vlasenko
2009-11-26 15:28                 ` Денис Смирнов
2009-11-28 23:26               ` Michael Shigorin
2009-11-29  4:21                 ` Andrey Rahmatullin
2009-11-25 11:45           ` REAL
2009-11-25 11:46             ` Igor Vlasenko
2009-11-28 23:24         ` Michael Shigorin
2009-11-30  4:26           ` REAL
2009-11-24 18:15 ` Vitaly Lipatov
2009-11-24 18:36   ` Alexey I. Froloff
2009-11-28 23:17     ` Michael Shigorin
2009-11-29  4:21       ` Andrey Rahmatullin
2009-11-29 12:22         ` Michael Shigorin
2009-11-24 18:39   ` Andrey Rahmatullin
2009-11-24 21:59     ` Vitaly Lipatov
2009-11-24 22:03       ` Andrey Rahmatullin
2009-11-26  8:45         ` Vitaly Lipatov
2009-11-24 22:06       ` Led
2009-11-26  8:43         ` Vitaly Lipatov
2009-11-28 23:22         ` Michael Shigorin
2009-11-26  9:11       ` Sergei Epiphanov

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=20091124143745.GT25872@wrars-comp.wrarsdomain \
    --to=wrar@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