ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Paul Wolneykien <manowar@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Патч при сборке под конкретную версию дистрибутива
Date: Wed, 10 Apr 2013 22:23:14 +0400
Message-ID: <5165AE12.3060909@altlinux.org> (raw)
In-Reply-To: <5165A8DA.5090205@etersoft.ru>

10.04.2013 22:00, Pavel Vainerman пишет:
> Доброго времени суток.
>
>    Может ли кто-нибудь подсказать.
> Есть репозиторий из которого собираются пакеты.
> Собираются для Сизифа, p5, p6, 5.0 и т.п.
> Возникла необходимость наложить некоторый патч при сборке
> под конкретный дистрибутив (например пусть будет p5).
> Можно ли это как-то сделать?
>
> Видел что из gear/tags
> на тему diff: ...
> Но даже если это, то что надо... не понял всё-таки как это делается.
>

   Если патч уже готов, то это вопрос не столько gear, сколько rpm. 
Нужно включить патч в число исходных файлов пакета

echo "copy: *.patch" >>.gear/rules  ,

а потом включить его при сборке, добавив PatchN и %patchN в spec.



  reply	other threads:[~2013-04-10 18:23 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 [this message]
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
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=5165AE12.3060909@altlinux.org \
    --to=manowar@altlinux.org \
    --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