[opensuse-packaging] parseExpressionBoolean returns -1
Hello listmates, actually i'm working on a package who provides the epub and pdf from the monthly german "FreiesMagazin". It's located in my home:saigkill. To handle the desktop-files i've added in the spec: %if 0%{?suse_version} >= 12.1 BuildRequires: update-desktop-files %endif %if 0%{?fedora_version} BuildRequires: desktop-file-utils %endif But the first line: %if 0%{?suse_version} >= 12.1 gives me back an error like: error: /home/abuild/rpmbuild/SOURCES/freiesmagazin.spec:32: parseExpressionBoolean returns -1 Maybe anyone knows why this happens? Have a nice day Sascha -- Sincerly yours Sascha Manns Community & Support Agent / Balsam Plasma Active Developer open-slx GmbH Web (business): http://www.open-slx.com Web (private): http://saigkill.homelinux.net open-slx GmbH, GF: Dr. Ing. Stefan Werden , HR: 25786, Ust-ID: DE267619018 Einsteinring 7, 90 453 Nuremberg / Germany -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
%if 0%{?suse_version} >= 12.1 BuildRequires: update-desktop-files %endif %if 0%{?fedora_version} BuildRequires: desktop-file-utils %endif
%if 0%{?suse_version} >= 1210 ... %endif %if 0%{?fedora} ... %endif or %if 0%{?suse_version} >= 1210 ... %elif 0%{?fedora} ... %endif -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
%if 0%{?suse_version} >= 12.1 BuildRequires: update-desktop-files %endif %if 0%{?fedora_version} BuildRequires: desktop-file-utils %endif
%if 0%{?suse_version} >= 1210 ... %endif %if 0%{?fedora} ... %endif
or
%if 0%{?suse_version} >= 1210 ... %elif 0%{?fedora} ... %endif Thank you very much for helping. I've forgotten the right format. Now it runs
Hello Nelson and Margguerite Su, Nelson Marques wrote at Sonntag, 12. August 2012, 11:45:17: perfectly. Thanks again. -- Sincerly yours Sascha Manns Community & Support Agent / Balsam Plasma Active Developer open-slx GmbH Web (business): http://www.open-slx.com Web (private): http://saigkill.homelinux.net open-slx GmbH, GF: Dr. Ing. Stefan Werden , HR: 25786, Ust-ID: DE267619018 Einsteinring 7, 90 453 Nuremberg / Germany -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sun, Aug 12, 2012 at 6:39 PM, Sascha Manns <Sascha.Manns@open-slx.de> wrote:
%if 0%{?suse_version} >= 12.1
1210 please. that means 1 thousand, 2 hundred and ten. 12.1 means 12 plus 0.1 17, 16, 15 is the fedora way. Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Marguerite Su
-
Nelson Marques
-
Sascha Manns