From: Ildar Mulyukov <ildar@users.sourceforge.net>
To: sisyphus@altlinux.ru
Subject: [sisyphus] разные сборки одного пакета
Date: Mon, 12 Jan 2004 16:13:46 +0300
Message-ID: <1073913226.2544.56.camel@ildar> (raw)
Здравствуйте всем!
Вопрос преимущественно мэйнтейнерам.
Известно, что одну и ту же программу можно собрать с поддержкой разных
необязательных фич. Пример: esound поддерживает OSS и ALSA в качестве
backend-а. Там, где возможно динамическое выключение фичи, она
собирается в пакет (backend-ы libggi, SDL), в противном случае
собирается типичная конфигурация (опять esound. В данном случае OSS).
А теперь: внимание, вопрос!
Как в спеках поддерживается сборка пакетов с альтернативным набором фич?
То есть
1. можно ли писать спек так, чтобы добавлением опций команде rpmbuild из
того же src.rpm строился иной бинарник? Что-то вроде rpmbuild --rebuild
--build-options="--with-alsa" esound.src.rpm ?
2. менять Release: такой же опцией. Например, я хочу, чтобы построился
пакет не версии 1.0.0-alt1 , а 1.0.0-alt1adv ?
В том же esound.spec я нашёл такую директиву: %def_without alsa . Можно
ли в неё вмешаться снаружи? А в release?
Спасибо.
С уважением, Ильдар.
ЗЫ. Может, если решение найдётся, попытаться ввести это правилом
хорошего тона для написания спеков? :-)
ЗЗЫ. Пардон, здесь фича = возможность.
--
Ildar Mulyukov,
free SW designer/programmer
================================================
email: ildar@users.sourceforge.net
projects: http://os-development.sourceforge.net/
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================
next reply other threads:[~2004-01-12 13:13 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-12 13:13 Ildar Mulyukov [this message]
2004-01-12 18:19 ` led
2004-01-13 7:08 ` Низамов Шавкат
2004-01-13 7:59 ` led
2004-01-13 9:51 ` Алексей Любимов
2004-01-13 10:32 ` led
2004-01-14 17:48 ` [sisyphus] " Michael Shigorin
2004-01-13 13:17 ` [sisyphus] " Andrey Rahmatullin
2004-01-13 13:33 ` Serj
2004-01-13 13:47 ` led
2004-01-13 13:58 ` Aleksey Avdeev
2004-01-13 14:33 ` led
2004-01-13 14:44 ` Aleksey Avdeev
2004-01-13 14:55 ` Andrey Rahmatullin
2004-01-13 15:14 ` Aleksey Avdeev
2004-01-13 15:50 ` Andrey Rahmatullin
2004-01-15 1:15 ` Vitaly Lipatov
2004-01-15 11:17 ` [sisyphus][JT] " Andrey Rahmatullin
2004-01-14 17:47 ` [sisyphus] " Michael Shigorin
2004-01-15 13:29 ` led
2004-01-12 18:21 ` [sisyphus] " Dmitry V. Levin
2004-01-15 0:23 ` Alexey Morozov
2004-01-15 8:25 ` [POLICY] " Michael Shigorin
2004-01-15 11:46 ` Dmitry V. Levin
2004-01-15 14:04 ` [sisyphus] " Michael Shigorin
2004-01-16 11:04 ` [sisyphus] " Alexey Morozov
2004-01-16 11:20 ` Dmitry V. Levin
2004-01-16 12:21 ` [sisyphus] " Michael Shigorin
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=1073913226.2544.56.camel@ildar \
--to=ildar@users.sourceforge.net \
--cc=sisyphus@altlinux.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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git