From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: Q: hsh --repackage-source
Date: Sun, 1 May 2005 03:00:01 +0400
Message-ID: <20050430230001.GD3291@solemn.turbinal.org> (raw)
In-Reply-To: <20050430220325.GB32347@basalt.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 6350 bytes --]
On Sun, May 01, 2005 at 02:03:25AM +0400, Dmitry V. Levin wrote:
> > Насколько сложно/реально сделать доступным репозитарий внутри чрута
> Какой репозитарий? apt может быть настроен на любое число репозитариев.
Я про другое (см. [devel] RFC: test packages). Для сборки пакета,
который будет выполнять тесты из других пакетов, внутри чрута мне нужен
репозитарий, чтобы можно было сказать `apt-get source перловые_пакеты'.
Пока это единственный такой (предполагаемый) пакет.
Но поскольку репозитария внтури чрута нет и apt-get source работать не
будет, то выход состоит в том, чтобы выполнять apt-get source снаружи и
частичный результат распаковки rpm'ов (тестовые файлы) запаковать в
тарболл для этого пакета. Это намного хуже, поэтому я и спрашиваю:
стоит ли надеяться, что hasher когда-нибудь сможет монтировать
репозитарий в сборочный чрут?
Как это связано с --repackage-source: косвенно; зависимости Requires
и BuildRequires в этом пакете подставляются снаружи через макросы.
При обычном rpm -bs *.spec эти макросы просто не раскроются.
> Суть вопроса в том, какой режим лучше по умолчанию?
По умолчанию лучше --repackage-source.
Единственная проблема в том, что при этом теряется подпись.
Ещё интересно научиться сравнивать идентичность src.rpm пакетов.
Что у них в принципе может отличаться?
$ which rpmdump
rpmdump: aliased to perl -MData::Dumper -MRPM::Header -e "print Dumper(RPM::Header->new(@ARGV))"
$ diff <(rpmdump ~/RPM/SRPMS/xplc-0.3.11-alt1.src.rpm) <(rpmdump ~/build/repo/SRPMS.hasher/xplc-0.3.11-alt1.src.rpm)
--- /home/at/tmp/zsh5w9oAp 2005-04-30 22:54:59 +0000
+++ /home/at/tmp/zshaU4qVr 2005-04-30 22:54:59 +0000
@@ -1,12 +1,12 @@
$VAR1 = bless( {
'SIGSIZE' => [
- 125315
+ 125357
],
'SIGMD5' => [
- 'О<¬Џ¦\x17•Р ¶S‰ҐВэR'
+ '\aЁ–ьj®Я\x14ќѓs‚~в‡Ў'
],
'SHA1HEADER' => [
- '4a6d61ebd863b93db1133f7f513d7ea85d778af0'
+ 'eb3298a7f2a2e91a43e0e615eb183df3bad4974d'
],
'NAME' => 'xplc',
'VERSION' => '0.3.11',
@@ -16,8 +16,8 @@ $VAR1 = bless( {
that provide extensibility and reusability both inside and between
applications, being portable across platforms and languages, easy to
use and having the lowest possible overhead.',
- 'BUILDTIME' => 1114875095,
- 'BUILDHOST' => 'localhost.localdomain',
+ 'BUILDTIME' => 1114892886,
+ 'BUILDHOST' => 'at.hasher.altlinux.org',
'SIZE' => 255514,
'DISTRIBUTION' => 'ALT Linux',
'VENDOR' => 'ALT Linux Team',
@@ -33,7 +33,7 @@ use and having the lowest possible overh
],
'URL' => 'http://xplc.sourceforge.net/',
'OS' => 'linux',
- 'ARCH' => 'i686',
+ 'ARCH' => 'i586',
'FILESIZES' => [
1495,
3430,
@@ -47,10 +47,10 @@ use and having the lowest possible overh
33188
],
'FILERDEVS' => [
+ 34819,
0,
0,
- 0,
- 1024
+ 0
],
'FILEMTIMES' => [
1114789260,
@@ -77,16 +77,16 @@ use and having the lowest possible overh
32
],
'FILEUSERNAME' => [
- 'at',
- 'at',
- 'at',
- 'at'
+ 'builder',
+ 'builder',
+ 'builder',
+ 'builder'
],
'FILEGROUPNAME' => [
- 'at',
- 'at',
- 'at',
- 'at'
+ 'builder',
+ 'builder',
+ 'builder',
+ 'builder'
],
'FILEVERIFYFLAGS' => [
-1,
@@ -133,18 +133,18 @@ use and having the lowest possible overh
'- Added libxplc-cxx.a to the devel package.',
'- Initial RPM release.'
],
- 'COOKIE' => 'localhost.localdomain 1114875095',
+ 'COOKIE' => 'at.hasher.altlinux.org 1114892886',
'FILEDEVICES' => [
- 777,
- 777,
- 777,
- 777
+ 8449,
+ 8449,
+ 8449,
+ 8449
],
'FILEINODES' => [
- 3141617,
- 3141637,
- 3141356,
- 1036281
+ 14074782,
+ 14074783,
+ 14074784,
+ 17662837
],
'FILELANGS' => [
'',
$
> --
> ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-04-30 23:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 20:17 [devel] " Dmitry V. Levin
2005-04-29 20:22 ` [devel] " Michael Shigorin
2005-04-29 20:40 ` Dmitry V. Levin
2005-04-30 12:36 ` Vladimir Lettiev
2005-04-29 20:41 ` [devel] " Alexey Rusakov
2005-04-29 20:56 ` Dmitry V. Levin
2005-04-29 21:18 ` Alexey Rusakov
2005-04-30 8:20 ` Alexey Borovskoy
2005-04-30 21:32 ` [devel] " Alexey Tourbin
2005-04-30 22:03 ` Dmitry V. Levin
2005-04-30 23:00 ` Alexey Tourbin [this message]
2005-05-01 9:23 ` Dmitry V. Levin
2005-05-01 11:40 ` Michael Shigorin
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=20050430230001.GD3291@solemn.turbinal.org \
--to=at@altlinux.ru \
--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