Mailinglist Archive: opensuse-packaging (205 mails)

< Previous Next >
Re: [opensuse-packaging] Request for perl help
Am Mittwoch, 28. September 2011 schrieb Greg Freemyer:
What is the actual specfile syntax to use to test for the perl version.

I tried

%if perl < 5.12
%if %{perl_version} < 5.12

and a couple other variations, but I'm getting syntax errors.

Because rpm can't compare float numbers, but only integers.

Greetings, Stephan
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups