http://bugzilla.opensuse.org/show_bug.cgi?id=900254 Bug ID: 900254 Summary: openSUSE:Tools/spec-cleaner: "-d" doesn't work Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: vuntz@suse.com Reporter: jmatejek@suse.com QA Contact: opensuse-communityscreening@forge.provo.novell.com CC: adrian@suse.com, tchvatal@suse.com Found By: --- Blocker: --- when using spec-cleaner under python3, the option -d breaks: $ spec-cleaner -d libgcrypt.spec Traceback (most recent call last): File "/usr/bin/spec-cleaner", line 9, in <module> load_entry_point('spec-cleaner==0.6.2', 'console_scripts', 'spec-cleaner')() File "/usr/lib/python3.4/site-packages/spec_cleaner/__init__.py", line 87, in main cleaner.run() File "/usr/lib/python3.4/site-packages/spec_cleaner/rpmcleaner.py", line 164, in run self.current_section.output(self.fout, newline) File "/usr/lib/python3.4/site-packages/spec_cleaner/rpmcopyright.py", line 90, in output Section.output(self, fout, newline) File "/usr/lib/python3.4/site-packages/spec_cleaner/rpmsection.py", line 78, in output fout.write(line + '\n') File "/usr/lib64/python3.4/tempfile.py", line 399, in func_wrapper return func(*args, **kwargs) TypeError: 'str' does not support the buffer interface -- You are receiving this mail because: You are on the CC list for the bug.