* Re: [newbies] Скрипт rpmrb, назначение
@ 2024-09-11 8:51 ` Grigory Ustinov
0 siblings, 0 replies; 2+ messages in thread
From: Grigory Ustinov @ 2024-09-11 8:51 UTC (permalink / raw)
To: devel-newbies
10.09.2024 6:28, Александр Лубягин пишет:
> 06.09.2024, 07:55, "Ivan A. Melnikov" <iv@altlinux.org>:
> >> Разбирался со .spec-файлами, встретил там строчку вида:
> >> - new version 1.6.5 (with rpmrb script)
> >> Что это за скрипт - rpmrb ? Через поисковик не нашёл о нём упоминания.
> > Это часть Etersoft-build-utils -- набора скриптов от lav@
> > для сопровождения пакетов. Подробности можно поискать
> > в самом пакете
> Спасибо, попробовал его для сборки .rpm.
> 1) Установил необходимые пакеты
> # apt-get install etersoft-build-utils perl-Gear-Rules rpm-uscan
> 2) Отредактировал sources.list.* из пакета Etersoft
> $ diff /etc/eterbuild/apt/sources.list.sisyphus.orig
> /etc/eterbuild/apt/sources.list.sisyphus
> 5,6c5,7
> < rpm [alt] http://mirror.yandex.ru altlinux/Sisyphus/i586 classic
> < rpm [alt] http://mirror.yandex.ru altlinux/Sisyphus/noarch classic
> ---
> > rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux
> Sisyphus/x86_64 classic
> > rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux
> Sisyphus/x86_64-i586 classic
> > rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux
> Sisyphus/noarch classic
> 3) Прописал недостающий allowed mount points (/proc) в
> /etc/hasher-priv/system и ~/.hasher/config
> 4) Склонировал репозиторий в packages/
> 5) Запустил сборку .rpm-пакета:
> rpmrb <version>
> Единственное, на gyle пока прав нет, поэтому выдало:
> ...
> Run build global at gyle
> $ ssh gyle build --test-only global 6.6.13-alt1
> ssh: alt_dfpl@gyle.altlinux.org: Permission denied (publickey).
> И ещё, мне пока непонятен следующий момент.
> Скрипты прописывают в описание коммита:
> update spec to new build 6.6.13 (with rpmrb script)
> А мне надо добавить туда сведения о причине перехода на 6.6.13
> (закрытие CVE).
> Корректным ли будет отредактировать описание коммита через rebase,
> или же у rpmrb есть ключик, позволяющий его редактировать _до_ git push?
Да, корректно.
> --
> С уважением,
> Александр Лубягин
> г. Киров, Россия / Вятка
> lubyagin@yandex.ru
>
> _______________________________________________
> devel-newbies mailing list
> devel-newbies@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-newbies
^ permalink raw reply [flat|nested] 2+ messages in thread