* [devel] buildrootcmp
@ 2002-10-18 22:23 at
2002-10-19 10:56 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: at @ 2002-10-18 22:23 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]
Люди, признавайтесь, у нас есть такой скрипт или нет? Я не нашёл.
Интересно, кто как проверяет комплектацию пакетов.
Sample usage:
$ buildrootcmp /var/tmp/perl-buildroot ~/RPM/RPMS/i686/perl-*5.8.0-alt0.3.i686.rpm
3 /usr/lib/perl5
3 /usr/lib/perl5/Class
3 /usr/lib/perl5/Encode
1 /usr/lib/perl5/Encode/Changes.e2x
1 /usr/lib/perl5/Encode/ConfigLocal_PM.e2x
1 /usr/lib/perl5/Encode/Makefile_PL.e2x
1 /usr/lib/perl5/Encode/README.e2x
3 /usr/lib/perl5/File
3 /usr/lib/perl5/File/Spec
3 /usr/lib/perl5/Getopt
3 /usr/lib/perl5/i386-linux
3 /usr/lib/perl5/i386-linux/asm
3 /usr/lib/perl5/i386-linux/auto
3 /usr/lib/perl5/i386-linux/auto/DynaLoader
3 /usr/lib/perl5/i386-linux/auto/Sys
3 /usr/lib/perl5/i386-linux/B
3 /usr/lib/perl5/i386-linux/bits
3 /usr/lib/perl5/i386-linux/linux
1 /usr/lib/perl5/i386-linux/machine
3 /usr/lib/perl5/i386-linux/sys
3 /usr/lib/perl5/i386-linux/Sys
3 /usr/lib/perl5/Math
4 /usr/lib/perl5/Pod
3 /usr/lib/perl5/Term
3 /usr/lib/perl5/Test
3 /usr/lib/perl5/Text
3 /usr/lib/perl5/Tie
3 /usr/lib/perl5/Time
3 /usr/lib/perl5/unicore
$
Упс, несколько файлов потеряли.
[-- Attachment #2: buildrootcmp --]
[-- Type: text/plain, Size: 252 bytes --]
#!/bin/sh -e
#
# Compare %buildroot against the derivable packages
#
BUILDROOT="$1"; shift
( rpm -qpl $@ || rpm -ql $@; cd "$BUILDROOT";
find . -mindepth 1 | cut -c 2- | fgrep -vx "$(rpm -ql filesystem)"
) | sort | uniq -c | awk '{if($1!=2)print}'
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] buildrootcmp
2002-10-18 22:23 [devel] buildrootcmp at
@ 2002-10-19 10:56 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2002-10-19 10:56 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
On Sat, Oct 19, 2002 at 02:23:11AM +0400, at@turbinal.org wrote:
>
> Люди, признавайтесь, у нас есть такой скрипт или нет? Я не нашёл.
> Интересно, кто как проверяет комплектацию пакетов.
compare_packages --help
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-19 10:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-18 22:23 [devel] buildrootcmp at
2002-10-19 10:56 ` Dmitry V. Levin
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