From: at@turbinal.org To: devel@altlinux.ru Subject: [devel] buildrootcmp Date: Sat, 19 Oct 2002 02:23:11 +0400 Message-ID: <20021018222311.GA4816@homestead.turbinal.org> (raw) [-- 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}'
next reply other threads:[~2002-10-18 22:23 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-18 22:23 at [this message] 2002-10-19 10:56 ` Dmitry V. Levin
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=20021018222311.GA4816@homestead.turbinal.org \ --to=at@turbinal.org \ --cc=devel@altlinux.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