From: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
To: git@vger.kernel.org
Subject: Re: [PATCH] Small script to patch .spec for Suse
Date: Wed, 16 Nov 2005 02:32:14 +0100 [thread overview]
Message-ID: <200511160232.15162.Josef.Weidendorfer@gmx.de> (raw)
In-Reply-To: <437A5FAF.2000609@zytor.com>
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?
Josef
next prev parent reply other threads:[~2005-11-16 1:32 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 [this message]
2005-11-18 5:11 ` H. Peter Anvin
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=200511160232.15162.Josef.Weidendorfer@gmx.de \
--to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).