ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Voinov <voins@voins.program.ru>
To: devel@linux.iplabs.ru
Subject: Re: [devel] I: rpm4 & Co is available
Date: Sun, 11 Nov 2001 13:03:17 +0300
Message-ID: <20011111100316.GA4480@voins.local> (raw)
In-Reply-To: <3BED2817.9070502@altlinux.ru>

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

Anton Farygin wrote
> >>Сизиф переведен на rpm4.
> >>
> ><skip>
> >
> >>+ по окончании обновления подождать, когда будет создана новая база RPM.
> >>
> >Хорошо бы блокировки делать на время создания новой базы.
> >
> >
> >>В двух словах о новой сборке rpm:
> >>
> >>В этой версии (rpm-4.0.3-alt0.5) присутствуют практически все особенности
> >>прежней версии (rpm-3.0.6-ipl30mdk), которые относятся к категории
> >>ALT specific.
> >>
> >1. Нет моей любимой опции --nosource.
> >2. --target ведёт себя очень странно:
> >
> >$ rpm -ba --target=i586 RPM/SPECS/apt.spec
> >--target=i586: unknown option
> >
> >$ rpm -ba --target i586 RPM/SPECS/apt.spec
> >... процесс пошёл
> >
> >$ rpm -ba --target i586 --define 'aaa bbb' RPM/SPECS/apt.spec
> >Building target platforms: --define
> >Building for target --define
> >error: failed to stat /home/voins/aaa bbb: No such file or directory
> >
> >$ rpm -ba --target i586-alt-linux --define 'aaa bbb' RPM/SPECS/apt.spec
> >Building target platforms: --define
> >Building for target --define
> >error: failed to stat /home/voins/aaa bbb: No such file or directory
> >
> >в CHANGES присутствует упоминание о том что '=' боьлше не надо, поэтому
> >первый случай объясним, а вот всё остальное....
> >
> >3. во всех файлах /usr/lib/rpm/%arch/macros  присутсвует строчка
> >%vendor mandrake
> >из-за чего плучаем:
> >+ /usr/lib/rpm/find-lang apt
> >+ /usr/lib/rpm/brp-mandrake
> >/home/voins/tmp/rpm-tmp.31678: /usr/lib/rpm/brp-mandrake: No such file or 
> >directory
> >error: Bad exit status from /home/voins/tmp/rpm-tmp.31678 (%install)
> >
> >
> А теперь попробуйте все тоже самое, только вместо команды 'rpm' напишите 
> команду 'rpmbuild' ;-)
1. Не очевидно. Хотя бы в man rpm это надо поместить в раздел BUILDING
OPTIONS.
2. Наличие rpmbuild не освобождает rpm от необходимости как-то разумно
реагировать на опции. Если у rpm оставлены опции -b... значит он обязан 
корректно собирать пакеты.
3. rpmbuild не исправляет поле vendor в macros. Соответственно case#3
продолжает иметь место.

--
Best Regards!           | Когда вам платят за работу, надо по крайней мере
Alexey Voinov           | делать вид, что вы работаете...
                        |                         Б.Виан "Осень в Пекине"
voins@voins.program.ru
voins@online.ru
vns@altlinux.ru


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

  reply	other threads:[~2001-11-11 10:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-09 16:39 Dmitry V. Levin
2001-11-09 16:38 ` Peter Novodvorsky
2001-11-10 11:48 ` Alexey Voinov
2001-11-10 13:13   ` Anton Farygin
2001-11-11 10:03     ` Alexey Voinov [this message]
2001-11-13  8:02       ` Dmitry V. Levin
2001-11-12  7:54   ` Dmitry V. Levin
2001-11-13 18:32     ` Alexey Voinov
2001-11-13 18:50       ` Dmitry V. Levin
2001-11-14  5:20         ` Alexey Voinov

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=20011111100316.GA4480@voins.local \
    --to=voins@voins.program.ru \
    --cc=devel@linux.iplabs.ru \
    /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