https://bugzilla.novell.com/show_bug.cgi?id=377749 Summary: Complex Spec Files trigger parsing errors reading the spec file Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: OBS Request AssignedTo: adrian@novell.com ReportedBy: mrdocs@scribus.info QAContact: adrian@novell.com Found By: --- Example from https://build.opensuse.org/package/show?package=scribus-unstable&project=home%3Amrdocs If I order the following, the spec file works and it builds sucessfully on all enabled platforms. Summary: Open Source Page Layout and Desktop Publishing (DTP) %description Scribus is a desktop open source page layout program with the aim of producing commerical grade output in PDF and Postscript, primarily, though not exclusively, for Linux. While the goals of the program are ease of use and simple easy-to-understand tools, Scribus offers support for professional publishing features, such as CMYK colors, easy PDF creation, Encapsulated Postscript import and export, and creation of color separations. %if 0%{?fedora_version} || %if 0%{?rhel_version} || %if 0%{?centos_version} BuildRequires: cups cups-devel python-devel shared-mime-info libtiff-devel libxml2-devel fontconfig-devel openssl-devel pkgconfig desktop-file-utils libstdc++-devel gcc-c++ lcms-devel >= 1.12 qt4-devel cmake cairo-devel %endif %if 0%{?suse_version} BuildRequires: cups-devel libqt4-devel >= 4.3.0 python-devel shared-mime-info libtiff-devel libxml2-devel fontconfig-devel openssl-devel pkgconfig desktop-file-utils update-desktop-files cairo-devel cmake aspell-devel %endif %if 0%{?mandriva_version} > 2006 BuildRequires: tiff-devel python-devel libfontconfig-devel jpeg-devel png-devel libxml2-devel pkgconfig desktop-file-utils lcms-devel >= 1.12 cups-devel cmake
= 2.4.3 qt4-devel libcairo2-devel => 1.2.4 %endif
%if 0%{?suse_version} > 1000 Suggests: AdobeICCProfiles Requires: tk python-imaging ghostscript-library %endif %if 0%{?fedora_version} || %if 0%{?rhel_version} || %if 0%{?centos_version} Requires: ghostscript python-imaging %endif If I change the order like so: %if 0%{?fedora_version} || %if 0%{?rhel_version} || %if 0%{?centos_version} BuildRequires: cups cups-devel python-devel shared-mime-info libtiff-devel libxml2-devel fontconfig-devel openssl-devel pkgconfig desktop-file-utils libstdc++-devel gcc-c++ lcms-devel >= 1.12 qt4-devel cmake cairo-devel %endif %if 0%{?suse_version} BuildRequires: cups-devel libqt4-devel >= 4.3.0 python-devel shared-mime-info libtiff-devel libxml2-devel fontconfig-devel openssl-devel pkgconfig desktop-file-utils update-desktop-files cairo-devel cmake aspell-devel %endif %if 0%{?mandriva_version} > 2006 BuildRequires: tiff-devel python-devel libfontconfig-devel jpeg-devel png-devel libxml2-devel pkgconfig desktop-file-utils lcms-devel >= 1.12 cups-devel cmake
= 2.4.3 qt4-devel libcairo2-devel => 1.2.4 %endif
%if 0%{?suse_version} > 1000 Suggests: AdobeICCProfiles Requires: tk python-imaging ghostscript-library %endif %if 0%{?fedora_version} || %if 0%{?rhel_version} || %if 0%{?centos_version} Requires: ghostscript python-imaging %endif %description Scribus is a desktop open source page layout program with the aim of producing commerical grade output in PDF and Postscript, primarily, though not exclusively, for Linux. In this case the parser seems to not feed non-Suse repos the description and those builds will fail with: "no description file" Let me know if you need more info. I have seen this with other rpms I package where I enabled and build on almost all available rpm based distros. Up until now, I was not able to get a repeatable test case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.