Mailinglist Archive: opensuse-packaging (205 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Request for perl help
- From: Stephan Kulow <coolo@xxxxxxx>
- Date: Wed, 28 Sep 2011 09:23:50 +0200
- Message-id: <201109280923.50701.coolo@suse.de>
Am Mittwoch, 28. September 2011 schrieb Greg Freemyer:
Greetings, Stephan
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
What is the actual specfile syntax to use to test for the perl version.Because rpm can't compare float numbers, but only integers.
I tried
%if perl < 5.12
%if %{perl_version} < 5.12
and a couple other variations, but I'm getting syntax errors.
Greetings, Stephan
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |