ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Khachaturyan <yukh@yukh.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] hasher & srpm
Date: Mon, 6 Dec 2010 12:10:58 +0300
Message-ID: <AANLkTikc36Vd6hTC6EWgeG+fLHx3vyOyBAa+aBap=_Du@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin+hNmPH_E9pQPH1rsT2vRmN3LLgzT3hzhfwjkD@mail.gmail.com>

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

6 декабря 2010 г. 8:15 пользователь Anton Chernyshov
<flammifer@inbox.ru> написал:

> Да, один и тот же спек файл. Для rpmbuild, правда, требования по
> оформлению спек-файла не жесткие. Скорее только к правильности
> синтаксиса. А у hasher после сборки запускаются дополнительные
> проверки, призванные проверить соответствие спек-файла требованиям к
> качеству пакетов ALT.

Процесс пошел дальше :) И опять ошибки... По порядку:

- написал SPEC файл
- положил исходники в ~/RPM/SOURCES
- rpmbuild -bs /path/to/file.spec
- в ~/RPM/SRPMS получил file.src.rpm

Далее делаю hsh file.src.rpm (spec уже, как я понял, внутри него) и получаю:

[yukh@home SRPMS]$ hsh ezstream-0.5.6-alt1.src.rpm
<86>Dec  6 09:08:03 userdel[6611]: delete user `rooter'
<86>Dec  6 09:08:03 userdel[6611]: remove group `rooter'
<86>Dec  6 09:08:05 groupadd[6612]: new group: name=rooter, gid=509
<86>Dec  6 09:08:06 useradd[6613]: new user: name=rooter, uid=509,
gid=509, home=/root, shell=/bin/bash
<86>Dec  6 09:08:06 userdel[6615]: delete user `builder'
<86>Dec  6 09:08:06 userdel[6615]: remove group `builder'
<86>Dec  6 09:08:09 groupadd[6616]: new group: name=builder, gid=510
<86>Dec  6 09:08:12 useradd[6617]: new user: name=builder, uid=510,
gid=510, home=/usr/src, shell=/bin/bash
/usr/src/in/srpm/ezstream-0.5.6-alt1.src.rpm: wrong packager in
CHANGELOGNAME: Yuri Khachaturyan <yukh@yukh.ru> 1.0-alt1
/usr/src/in/srpm/ezstream-0.5.6-alt1.src.rpm: wrong CHANGELOGNAME:
expected "0.5.6-alt1", found "1.0-alt1"
sisyphus_check: check-changelog ERROR: changelog format violation
/usr/src/in/srpm/ezstream-0.5.6-alt1.src.rpm: wrong PACKAGER: Yuri
Khachaturyan <yukh@yukh.ru>
sisyphus_check: check-packager ERROR: packager name violation
hsh-rebuild: ezstream-0.5.6-alt1.src.rpm: sisyphus_check failed.

В чем проблема? Неправильно написан SPEC (see attachments)?

И еще вопрос, можно ли как-нибудь сделать так, чтобы каждый раз заново
окружение не создавать, а то уж очень долго....

-- 
С уважением,
Хачатурян Юрий (yukh@yukh.ru)

[-- Attachment #2: ezstream.spec --]
[-- Type: application/octet-stream, Size: 1996 bytes --]

  reply	other threads:[~2010-12-06  9:10 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 13:18 Yuri Khachaturyan
2010-12-05 13:47 ` Kharitonov A. Dmitry
2010-12-05 13:50   ` Yuri Khachaturyan
2010-12-05 14:12     ` Kharitonov A. Dmitry
2010-12-05 14:16       ` Yuri Khachaturyan
2010-12-05 15:27         ` Kharitonov A. Dmitry
2010-12-05 15:49           ` Yuri Khachaturyan
2010-12-05 16:07             ` Anton Chernyshov
2010-12-05 20:27               ` Yuri Khachaturyan
2010-12-06  5:15                 ` Anton Chernyshov
2010-12-06  9:10                   ` Yuri Khachaturyan [this message]
2010-12-06  9:31                     ` Alexey Bochenin
2010-12-06  9:36                       ` Yuri Khachaturyan
2010-12-06  9:57                     ` Andrew Borodin
2010-12-06  9:59                       ` Yuri Khachaturyan
2010-12-06 10:07                         ` Шенцев Алексей Владимирович
2010-12-06 10:14                         ` REAL
2010-12-06 10:06                           ` Yuri Khachaturyan
2010-12-05 16:08             ` Kharitonov A. Dmitry
2010-12-05 17:56         ` Sergey Vlasov
2010-12-05 19:00           ` Yuri Khachaturyan
2010-12-05 19:11             ` Alexey Borisenkov
2010-12-05 19:12               ` Yuri Khachaturyan
2010-12-05 19:16                 ` Alexey Borisenkov
2010-12-05 19:17                   ` Yuri Khachaturyan
2010-12-07 21:00           ` Evgeny Sinelnikov
2010-12-10 14:41             ` 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='AANLkTikc36Vd6hTC6EWgeG+fLHx3vyOyBAa+aBap=_Du@mail.gmail.com' \
    --to=yukh@yukh.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git