All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Small script to patch .spec for Suse
Date: Thu, 17 Nov 2005 21:11:48 -0800	[thread overview]
Message-ID: <437D6294.8020003@zytor.com> (raw)
In-Reply-To: <200511160232.15162.Josef.Weidendorfer@gmx.de>

Josef Weidendorfer wrote:
> On Tuesday 15 November 2005 23:22, H. Peter Anvin wrote:
> 
>>Sure.  It's called %if.  There is also %ifdef and %define.
> 
> 
> So by replacing @@FOR_SUSE@@ to 0 or 1 in the Makefile, this: 
> 
>  %if @@FOR_SUSE@@
>  BuildRequires: openssh ...
>  %else
>  BuildRequires: openssh-clients ...
>  %endif
> 
> would work?
> 

SuSE might even have defined a distribution-specific macro that one can 
key off of.  Some SuSE expert would have to comment.

	-hpa

  reply	other threads:[~2005-11-18  5:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-15 11:30 [PATCH] Small script to patch .spec for Suse Josef Weidendorfer
2005-11-15 18:50 ` Junio C Hamano
2005-11-15 20:36   ` H. Peter Anvin
2005-11-15 21:47     ` Junio C Hamano
2005-11-15 21:56     ` Andreas Ericsson
2005-11-15 21:59     ` Petr Baudis
2005-11-15 22:22       ` H. Peter Anvin
2005-11-16  1:32         ` Josef Weidendorfer
2005-11-18  5:11           ` H. Peter Anvin [this message]
2005-11-18  5:47             ` A Large Angry SCM
2005-11-18  5:57               ` H. Peter Anvin

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=437D6294.8020003@zytor.com \
    --to=hpa@zytor.com \
    --cc=Josef.Weidendorfer@gmx.de \
    --cc=git@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.