[devel] gear beginner question

Eugene Prokopiev =?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Сб Мар 10 10:34:34 MSK 2007


Здравствуйте!

Читаю /usr/share/doc/gear-1.0.2/QUICKSTART.ru_RU.KOI8-R и пытаюсь делать 
  аналогично:

[john на alt-devel ~]$ mkdir -p git/dbmail
[john на alt-devel ~]$ cd git/dbmail
[john на alt-devel dbmail]$ git-init-db
defaulting to local storage area
[john на alt-devel dbmail]$ gear-srpmimport 
~/RPM/SRPMS/dbmail-2.2.1-alt5.src.rpm
Committing initial tree a826d6f37767d61a2f22dd8c94381684460084e1

*** Environment problem:
*** Your name cannot be determined from your system services (gecos).
*** You would need to set GIT_AUTHOR_NAME and GIT_COMMITTER_NAME
*** environment variables; otherwise you won't be able to perform
*** certain operations because of "empty ident" errors.
*** Alternatively, you can use user.name configuration variable.

fatal: empty ident  <john на alt-devel...> not allowed

Немного почесав в затылке, читаю дальше и понимаю, что можно попробовать 
отредактировать .git/config так:

[core]
         repositoryformatversion = 0
         filemode = true
[user]
         name = "Eugene Prokopiev"
         email = "enp на altlinux.org"

Иду дальше:

[john на alt-devel dbmail]$ gear-srpmimport 
~/RPM/SRPMS/dbmail-2.2.1-alt5.src.rpm
Committing initial tree a826d6f37767d61a2f22dd8c94381684460084e1
gear-srpmimport: Imported /home/john/RPM/SRPMS/dbmail-2.2.1-alt5.src.rpm
gear-srpmimport: Created master branch
[john на alt-devel dbmail]$ gear --hasher -- hsh ~/hasher/
Components: hasher
Processing pkglists... hasher done
Processing srclists...  hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
Preparing packages for installation...
libsieve-2.2.4-alt1
libsieve-devel-2.2.4-alt1
glib2-devel-2.12.2-alt1
libssl-0.9.7g-alt5
libMySQL-5.0.24-alt2
libssl-devel-0.9.7g-alt5
libMySQL-devel-5.0.24-alt2
libpq4.1-8.1.4-alt2
libecpg5.1-8.1.4-alt2
libecpg5.1-devel-8.1.4-alt2
libkrb5-1.4.3-alt2
libsasl2-2.1.20-alt8
libldap2.3-2.3.27-alt1
libsasl2-devel-2.1.20-alt8
libopenslp-1.2.1-alt2
libopenslp-devel-1.2.1-alt2
libldap-devel-2.3.27-alt1
libpq4.1-devel-8.1.4-alt2
libsqlite3-3.3.7-alt1
libsqlite3-devel-3.3.7-alt1
postgresql8.1-devel-8.1.4-alt2
zlib-devel-1.2.3-alt3
libgmime-2.1.19-alt1
libgmime-devel-2.1.19-alt1
Building target platforms: i686
Building for target i686
Wrote: /usr/src/in/srpm/dbmail-2.2.1-alt5.src.rpm
ERROR: you have problems with packager name
./dbmail-2.2.1-alt5.src.rpm: wrong PACKAGER: Automated package hasher 
<hasher на localhost>
rebuild: pkg.tar: sisyphus_check failed.

Правлю dbmail.spec в текущем каталоге, добавляю Packager: Eugene 
Prokopiev <enp на altlinux.org>

Повторяю gear --hasher -- hsh ~/hasher/, результат тот же самый :(

Что делать дальше?

Результат gear --hasher -- hsh ~/hasher/ 
--no-sisyphus-check=gpg,packager выглядит лучше, но это же не дело ...

-- 
С уважением, Прокопьев Евгений



Подробная информация о списке рассылки Devel