Mailinglist Archive: opensuse-buildservice (42 mails)

< Previous Next >
Re: [opensuse-buildservice] BuildRequires SuSE <-> RedHat...
  • From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
  • Date: Tue, 25 Apr 2006 20:08:14 +0200
  • Message-id: <444E658E.3010902@xxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dr. Peter Poeml wrote:
[...]
> %if %{?suse_version:1}%{?!suse_version:0}
> BuildRequires: ghostscript-fonts-std
> %else
> BuildRequires: xorg-x11-server-sdk
> %endif

Or, just for the record, even shorter ;)

%if %{?suse_version:1}0
BuildRequires: ghostscript-fonts-std
%else
BuildRequires: xorg-x11-server-sdk
%endif

cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFETmWOr3NMWliFcXcRAlPeAKCEb2Dc06l+9lDr5xbmxuvJVLwRPACgm05M
7Mz2hm9iPs88RZ6joytXMKE=
=FsnH
-----END PGP SIGNATURE-----

< Previous Next >