ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Voinov <voins@voins.program.ru>
To: devel@linux.iplabs.ru
Subject: [devel] Re: [devel] К вопросу о %release пакетов и дорогом трафике
Date: Wed, 27 Jun 2001 20:06:49 +0400
Message-ID: <20010627200649.A2798@voins.local> (raw)
In-Reply-To: <20010627180209.A8067@vezyolka.dgap.mipt.ru>; from yznews@hotbox.ru on Wed, Jun 27, 2001 at 06:02:09PM +0400

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Yura Zotov wrote
> У меня такой вопрос. Часто пакеты одной версии, но разных
> %release отличаются исправлениями в spec-файле и несколькими
> патчами, исходники же остаются неизменными. Поэтому из-за 
> небесплатного трафика эти исходники качать туда-сюда по сто раз
> не охота, учитывая, что все равно пакеты пересобираются в Сизифе.
> В связи с чем есть идея залить dx-4.1.3-alt3 в виде nosrc.rpm. При
> сборке в Сизифе нужно только убрать 
> NoSource: 0
> и взять исходники от dx-4.1.3-alt2. Тот, кто будет заниматься
> сборкой в Сизифе одобряет? Если нет, то залью только в начале
> июля.
> 
> На будущее, можно ли такой практикой пользоваться постоянно?
Во! Я теперь ещё и здесь поделюсь своим решением! :)
(Пока нет репозитария)

Я делаю в .spec так:
%if "%nosource" == "1"
NoSource: 0
$endif

Если исходных пакетов, которые не хочется всё-время пересылать больше, надо
добавить ещё NoSource'ов, но в подавляющем большинстве случаев больше
ничего добавлять не надо.

$ rpm -bs <specfile>
даёт src.rpm

$ rpm -bs --define "nosource 1" <specfile>
даёт nosrc.rpm

При этом не надо вносить изменения в spec, когда требуется получить
nosrc.rpm или src.rpm

В качестве примеров можно смотреть почти на любой пакет из группы
Graphical Desktop/Window Maker



-- 
Best Regards!
Alexey Voinov

voins@voins.program.ru
voins@online.ru
vns@altlinux.ru


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  parent reply	other threads:[~2001-06-27 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-27 14:02 Yura Zotov
2001-06-27 14:53 ` Aleksey Novodvorsky
2001-06-27 16:06 ` Alexey Voinov [this message]
2001-07-05  8:42   ` [devel] " Dmitry V. Levin

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=20010627200649.A2798@voins.local \
    --to=voins@voins.program.ru \
    --cc=devel@linux.iplabs.ru \
    /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