ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: sp_archer@meta.ua,
	ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] подскажите какой rpm-macros мне нужен
Date: Thu, 15 Sep 2011 13:00:27 +0300
Message-ID: <20110915100027.GA20396@dad.imath.kiev.ua> (raw)
In-Reply-To: <46257.195.230.140.18.1316077752.metamail@webmail.meta.ua>

On Thu, Sep 15, 2011 at 12:09:12PM +0300, Olexander Chernetskyy wrote:
> Я вот тут собираюсь привести в чувство МФУ Canon MP280
> Нужно собрать свой драйвер.
> rpmbuild ругается вот так:
> ошибка: Macro %bcond_with not found
> ошибка: строка 1: %bcond_with prepare_fastbuild
> 
> Интуитивно понимаю, что нехватает каких-то rpm-macros*. Их в репозитории
> 38 штук. Можно, конечно, установить все.
> Но, может подскажете необходимый минимум, чтоб не мусорить в системе.

вставьте в спек
# fedora bcond_with macro
%define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}

у нас аналогом %bcond_with есть %def_without
и %bcond_without -- %def_with.

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



  reply	other threads:[~2011-09-15 10:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  9:09 Olexander Chernetskyy
2011-09-15 10:00 ` Igor Vlasenko [this message]
2011-09-15 20:23       ` Olexander Chernetskyy
2011-09-16  5:24         ` Andrew Borodin
2011-09-16  9:22           ` Olexander Chernetskyy
2011-09-16 10:05             ` REAL
2011-09-16 11:17               ` [Comm] подскажите_какой_rpm-macros_мне_нужен Olexander Chernetskyy
2011-09-17  2:14                 ` REAL
2011-09-17 11:42                   ` Olexander Chernetskyy
2011-09-16 10:24             ` [Comm] подскажите какой rpm-macros мне нужен Andrew Borodin
2011-09-17 11:37               ` Olexander Chernetskyy
2011-09-17 16:14                 ` Anatoly Bashmakov
2011-09-17 17:19                   ` Olexander Chernetskyy
2011-09-17 17:43                     ` Anatoly Bashmakov
2011-09-15 10:47 ` 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=20110915100027.GA20396@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=community@lists.altlinux.org \
    --cc=sp_archer@meta.ua \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git