From: Grigory Ustinov <grenka@altlinux.org> To: devel-newbies@lists.altlinux.org Subject: Re: [newbies] Скрипт rpmrb, назначение Date: Wed, 11 Sep 2024 11:51:26 +0300 Message-ID: <e6b28225-eebd-420b-8ce1-43a57a8d8790@altlinux.org> (raw) In-Reply-To: <226321725937487@mail.yandex.ru> 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
prev parent reply other threads:[~2024-09-11 8:51 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-09-06 4:55 ` Ivan A. Melnikov 2024-09-11 8:51 ` Grigory Ustinov [this message]
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=e6b28225-eebd-420b-8ce1-43a57a8d8790@altlinux.org \ --to=grenka@altlinux.org \ --cc=devel-newbies@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
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git