Bug ID 911573
Summary spec file is not ASCII or UTF8 encoded
Classification openSUSE
Product openSUSE Factory
Version 201412*
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component libzypp
Assignee zypp-maintainers@forge.provo.novell.com
Reporter mhrivnak@hrivnak.org
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

The spec file for libzypp-tools is not ASCII or UTF8 encoded, which can cause
problems for tools that parse RPM metadata. The build service even refuses to
display the spec file, with error "The file you look at is not valid UTF-8
text. Please convert the file.":

https://build.opensuse.org/package/view_file/zypp:Head/libzypp-tools/libzypp-tools.spec?expand=1

The openSUSE packaging guidelines specify that a spec file must be ASCII or
UTF8 encoded. "If you do need non-ASCII characters, save your spec files as
UTF-8.":

https://en.opensuse.org/openSUSE:Specfile_guidelines#Specfile_Encoding

This problem was noticed by a user of Pulp (http://www.pulpproject.org)
specifically with the package ruby-zypptools-0.2.0-1.26-x86_64.rpm, built from
libzypp-tools-0.2.0-1.26.src.rpm. I'm not sure what version of openSUSE that is
included in, but the build service makes it clear that the most recent spec
file is not UTF8.

For reference, here is a link to the original Pulp bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=1131512


You are receiving this mail because: