ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] brp-alt for *.rpm packages
@ 2005-09-20 22:13 Alexey Tourbin
  2005-09-21 12:49 ` [devel] " Alexey Tourbin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2005-09-20 22:13 UTC (permalink / raw)
  To: devel

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

Выполнение brp-alt для уже собранных пакетов рабоатет так:

$ ./rpmpeek ~/RPM/RPMS/perl-base-5.8.7-alt2.i686.rpm /usr/lib/rpm/brp-alt
Cleaning files in /home/at/tmp/rpmpeek.bGwN4887 ()
Compressing files in /home/at/tmp/rpmpeek.bGwN4887 ()
Verifying ELF objects in /home/at/tmp/rpmpeek.bGwN4887 (rpath=normal,textrel=normal)
Adjusting library links in /home/at/tmp/rpmpeek.bGwN4887
./usr/lib:
        libperl.so.5.8 -> libperl.so.5.8.7
./usr/lib/perl5/unicore/lib:
$

--- rpmpeek-	2005-09-13 18:25:00 +0000
+++ rpmpeek	2005-09-18 10:19:52 +0000
@@ -29,6 +29,7 @@ rpm2cpio "$1" |(cd "$tmpdir"; fakeroot -
 	cpio -idmu --quiet --no-absolute-filenames) || exit 2
 shift
 cd "$tmpdir"
+export RPM_BUILD_ROOT="$tmpdir"
 fakeroot -i .fakedata -- "$@" || exit 1
 
 : <<'__EOF__'


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [devel] Re: brp-alt for *.rpm packages
  2005-09-20 22:13 [devel] brp-alt for *.rpm packages Alexey Tourbin
@ 2005-09-21 12:49 ` Alexey Tourbin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Tourbin @ 2005-09-21 12:49 UTC (permalink / raw)
  To: devel

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

On Wed, Sep 21, 2005 at 02:13:21AM +0400, Alexey Tourbin wrote:
> Выполнение brp-alt для уже собранных пакетов рабоатет так:
> $ ./rpmpeek ~/RPM/RPMS/perl-base-5.8.7-alt2.i686.rpm /usr/lib/rpm/brp-alt

Если воткнуть сюда проверку типа verify_elfsym, то такая конструкция
становится существенным образом зависимой от среды, в которой она
выполняется.

Ещё, что мне не нравится в /usr/lib/rpm/verify-elf, это жесткая
необходимость buildroot'а.

. /usr/lib/rpm/functions
ValidateBuildRoot

То есть нельзя проверить отдельно взятые ELF'ы сами по себе.
Может быть стоит заменить на

. /usr/lib/rpm/functions
[ -z "$RPM_BUILD_ROOT" ] || ValidateBuildRoot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-21 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20 22:13 [devel] brp-alt for *.rpm packages Alexey Tourbin
2005-09-21 12:49 ` [devel] " Alexey Tourbin

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