Mailinglist Archive: opensuse-factory (286 mails)
| < Previous | Next > |
[opensuse-factory] Re: sles?
- From: Marius Tomaschewski <mt@xxxxxxxxxx>
- Date: Mon, 9 Aug 2010 11:51:44 +0200
- Message-id: <201008091151.44809.mt@xxxxxxxxxx>
Am Samstag, 7. August 2010 15:37:20 schrieb Peter Czanik:
%if 0%{?sles_version} <= 11
# for all released sles versions
# --disable-pcre ...
%endif
sles_version is defined to 9, 10 or 11. similar with suse_version,
except that it makes use of a 4-digit coded version numbers:
%if 0%{?suse_version} <= 1130
# for released opensuse versions
# --disable-pcre ...
%endif
See also:
http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
Gruesse / Regards,
Marius Tomaschewski <mt@xxxxxxx> <mt@xxxxxxxxxx>
--
Server Technologies Team, SUSE LINUX Products GmbH,
Nuernberg; GF: Markus Rex; HRB 16746 (AG Nuernberg)
GPG/PGP public key fingerprint:
DF17 271A AD15 006A 5BB9 6C96 CA2F F3F7 373A 1CC0
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Hello,Hello!
On 08/05/2010 09:43 PM, Marius Tomaschewski wrote:
Further, you have either to link pcre statically, not link it at all or
request a move of the lib to /%{_lib}.
For an existing product it would be quite difficult. So for SLES I would
disable pcre (AFAIK, not many people use it anyway). How can ifdef pcre
out for SLES in the spec file?
%if 0%{?sles_version} <= 11
# for all released sles versions
# --disable-pcre ...
%endif
sles_version is defined to 9, 10 or 11. similar with suse_version,
except that it makes use of a 4-digit coded version numbers:
%if 0%{?suse_version} <= 1130
# for released opensuse versions
# --disable-pcre ...
%endif
See also:
http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
Gruesse / Regards,
Marius Tomaschewski <mt@xxxxxxx> <mt@xxxxxxxxxx>
--
Server Technologies Team, SUSE LINUX Products GmbH,
Nuernberg; GF: Markus Rex; HRB 16746 (AG Nuernberg)
GPG/PGP public key fingerprint:
DF17 271A AD15 006A 5BB9 6C96 CA2F F3F7 373A 1CC0
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |