Conditional comparision doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a spec with

        %global panelversion 4.8.3
or 
        %global panelversion %(rpm -q --qf='%{VERSION}' xfce4-panel)

As expected this returns "4.8.3" and

        Requires: xfce4-panel >= %{panelversion}

works fine. However 

        %if 0%{?panelversion} >= 4.7
        %patch3 -p1
        %endif

does not but returns:

Error: xfce4-cellmodem-plugin.spec:54: parseExpressionBoolean returns -1

Do I miss something obvious?

Regards,
Christoph

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux