From: Pavel Vainerman <pv@etersoft.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Патч при сборке под конкретную версию дистрибутива Date: Wed, 10 Apr 2013 23:19:19 +0400 Message-ID: <5165BB37.3020909@etersoft.ru> (raw) In-Reply-To: <CAJXf7QO+tw-uU6Tw6qRiF+ZK71jP_=XrhAOGp6WND0aQiKK-tQ@mail.gmail.com> 10.04.2013 23:12, Igor Zubkov пишет: > 2013/4/10 Paul Wolneykien <manowar@altlinux.org>: >> 10.04.2013 22:50, Pavel Vainerman пишет: >>>> Если патч уже готов, то это вопрос не столько gear, сколько rpm. >>>> Нужно включить патч в число исходных файлов пакета >>>> >>>> echo "copy: *.patch" >>.gear/rules , >>>> >>>> а потом включить его при сборке, добавив PatchN и %patchN в spec. >>> >>> Тут вся тонкость в том, что мне важно, чтобы патч был задействован >>> только при сборке под конкретный дистр. >>> Git из которого собирается при этом - один. >> >> А бранчей -- много. Сборка на git.alt осуществляется из тега: пометив тегом >> нужный бранч вы укажете, что собирать нужно именно этот вариант пакета. это тоже своего рода "лишняя работа"(по расставлению тегов) которую хотелось избежать. Т.е. виделось это примерно так, что "где-то"(gear/rules?) указал, "что-то". И при сборке ssh git.alt build -b p5 ... у меня подхватился нужный патч и всё. > А сделать отдельный бранч в git для бранча и собрать? > Ну вот вроде не хотелось избежать поддержки нескольких бранчей (синхронизация изменений т.п.). P.S. Впрочем я так понимаю видимо это может нарушает то, что сборка в разные дистры при таком подходе уже не может считаться "из одних исходников". -- Pavel Vaynerman www.etersot.ru
next prev parent reply other threads:[~2013-04-10 19:19 UTC|newest] Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-10 18:00 Pavel Vainerman 2013-04-10 18:23 ` Paul Wolneykien 2013-04-10 18:50 ` Pavel Vainerman 2013-04-10 18:57 ` Paul Wolneykien 2013-04-10 19:12 ` Igor Zubkov 2013-04-10 19:19 ` Pavel Vainerman [this message] 2013-04-10 19:25 ` Paul Wolneykien 2013-04-10 19:28 ` Pavel Vainerman 2013-04-10 19:29 ` Pavel Vainerman 2013-04-10 19:38 ` Paul Wolneykien 2013-04-10 19:40 ` Pavel Vainerman 2013-04-10 19:47 ` Paul Wolneykien 2013-04-10 20:19 ` Pavel Vainerman 2013-04-10 20:25 ` [devel] %ifbranch ? Paul Wolneykien 2013-04-10 20:43 ` Dmitry V. Levin 2013-04-10 20:45 ` Paul Wolneykien 2013-04-10 20:47 ` Dmitry V. Levin 2013-04-10 20:52 ` Paul Wolneykien 2013-04-10 21:37 ` Dmitry V. Levin 2013-04-10 21:56 ` Yuri N. Sedunov 2013-04-10 22:12 ` Dmitry V. Levin 2013-04-10 22:25 ` Yuri N. Sedunov 2013-04-10 22:55 ` [devel] RPMTAG_DISTTAG Dmitry V. Levin 2013-04-10 23:20 ` Yuri N. Sedunov 2013-04-11 4:45 ` Eugene Prokopiev 2013-04-11 11:59 ` Michael Shigorin 2013-04-11 12:29 ` Sergey V Turchin 2013-04-11 12:49 ` Sergey V Turchin 2013-04-10 22:59 ` [devel] %ifbranch ? Paul Wolneykien 2013-04-10 20:45 ` Yuri N. Sedunov 2013-04-11 11:06 ` Sergey V Turchin 2013-04-11 11:04 ` Sergey V Turchin 2013-04-10 19:46 ` [devel] Патч при сборке под конкретную версию дистрибутива Pavel Vainerman 2013-04-10 20:58 ` Led 2013-04-10 21:05 ` Pavel Vainerman 2013-04-10 21:19 ` Led 2013-04-10 21:25 ` Pavel Vainerman 2013-04-10 21:32 ` Dmitry V. Levin 2013-04-11 11:22 ` Sergey V Turchin 2013-04-11 11:28 ` Sergey V Turchin 2013-04-11 4:34 ` Eugene Prokopiev 2013-04-11 6:36 ` Pavel Vainerman 2013-04-11 16:24 ` Ivan A. Melnikov 2013-04-11 16:49 ` Pavel Vainerman
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=5165BB37.3020909@etersoft.ru \ --to=pv@etersoft.ru \ --cc=devel@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 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