From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.org>
Subject: [devel] Re: RPM::Database
Date: Wed, 19 Oct 2005 18:18:10 +0400
Message-ID: <20051019141810.GM7934@solemn.turbinal.org> (raw)
In-Reply-To: <20051019135635.GK7934@solemn.turbinal.org>
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]
On Wed, Oct 19, 2005 at 05:56:35PM +0400, Alexey Tourbin wrote:
> > После пересборки perl-RPM работает.
> Сломался rpmTagTable.
$ cat test.c
#include <stdio.h>
#include <rpmlib.h>
int main()
{
const char *tag0 = rpmTagTable[0].name;
fprintf(stdout, "tag0: %s$\n", tag0);
return 0;
}
$ echo $ZSH_VERSION
4.3.0-dev-1
$ setopt EXTENDED_GLOB
$ sudo rpm -Uv --force --noscripts ~sisyphus/files/i586/RPMS/*rpm*-4.0.4-alt51.i586.rpm~*static*
Preparing packages for installation...
librpm-4.0.4-alt51
librpmbuild-4.0.4-alt51
librpm-devel-4.0.4-alt51
rpm-4.0.4-alt51
rpm-build-4.0.4-alt51
$ gcc -Wall -I/usr/include/rpm test.c -lrpm
$ ./a.out
tag0: RPMTAG_HEADERIMAGE$
$ sudo rpm -Uv --force --noscripts ~sisyphus/files/i586/RPMS/*rpm*-4.0.4-alt52.i586.rpm~*static*
Preparing packages for installation...
librpm-4.0.4-alt52
librpmbuild-4.0.4-alt52
librpm-devel-4.0.4-alt52
rpm-4.0.4-alt52
rpm-build-4.0.4-alt52
$ ./a.out
tag0: @=$
$ gcc -Wall -I/usr/include/rpm test.c -lrpm
$ ./a.out
tag0: RPMTAG_HEADERIMAGE$
$
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-10-19 14:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-18 23:30 [devel] RPM::Database Alexey Tourbin
2005-10-19 9:05 ` Dmitry V. Levin
2005-10-19 13:01 ` [devel] RPM::Database Alexey Tourbin
2005-10-19 13:29 ` Dmitry V. Levin
2005-10-19 14:00 ` Alexey Tourbin
2005-10-19 13:56 ` Alexey Tourbin
2005-10-19 14:06 ` Dmitry V. Levin
2005-10-19 14:18 ` Alexey Tourbin [this message]
2005-10-19 15:50 ` Alexey Tourbin
2005-10-19 17:17 ` Dmitry V. Levin
2005-10-19 17:23 ` Alexey Tourbin
2005-10-19 17:43 ` Dmitry V. Levin
2005-10-19 17:46 ` Alexey Tourbin
2005-10-19 18:00 ` Alexey Tourbin
2005-10-19 18:04 ` Dmitry V. Levin
2005-10-19 19:07 ` Alexey Tourbin
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=20051019141810.GM7934@solemn.turbinal.org \
--to=at@altlinux.ru \
--cc=devel@altlinux.org \
--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