https://bugzilla.redhat.com/show_bug.cgi?id=1538658 Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |zbyszek@xxxxxxxxx Assignee|nobody@xxxxxxxxxxxxxxxxx |zbyszek@xxxxxxxxx --- Comment #10 from Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> --- I'll take the review. > %global sum Python library to load and dump configuration files in various formats Using normal Summary: and then %summary subsequently saves one line ;) > %global debug_package %{nil} That looks suspicious. Why do you need this? Package builds fine without it. > %{__rm} Eh, using a macro here is entirely pointless. It just makes the commands harder to read (and longer). The guidelines say that macros should be used for some *directories* [https://fedoraproject.org/wiki/Packaging:Guidelines#Macros], but even that makes little sense nowadays. > https://github.com/ssato/%{name} I know people love macros, but this makes it impossible to just click on this and open it in a browser… It's a matter of preference, but I don't see the advantage of using a macro here. > Source0: %{url}/archive/RELEASE-%{version}.tar.gz This should be ...RELEASE_{%version}... > %defattr(-,root,root,-) Not necessary in Fedora and somewhat recent RHEL. - Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 2662400 bytes in 126 files. See: http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation It'd be nice to split out a python-anyconfig-doc subpackage with the docs. During build I see the following error: > import cbor > ImportError: No module named cbor Is some dependency missing? and later: > toml.py:docstring of anyconfig.backend.toml.Parser._load_from_stream_fn:6: WARNING: Definition list ends without a blank line; unexpected unindent. > /builddir/build/BUILD/python-anyconfig-RELEASE_0.9.3/anyconfig/backend/xml.py:docstring of anyconfig.backend.xml._tweak_ns:4: WARNING: Field list ends without a blank line; unexpected unindent. > /builddir/build/BUILD/python-anyconfig-RELEASE_0.9.3/docs/api/anyconfig.cli.rst:4: WARNING: autodoc: failed to import module u'anyconfig.cli'; the following exception was raised: > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object > __import__(self.modname) > File "/builddir/build/BUILD/python-anyconfig-RELEASE_0.9.3/anyconfig/cli.py", line 42, in <module> > sys.stdout = codecs.getwriter(_ENCODING)(sys.stdout) > File "/usr/lib64/python2.7/codecs.py", line 1009, in getwriter > return lookup(encoding).streamwriter > TypeError: lookup() argument 1 must be string, not None > done And now the hard part: what is the difference in behaviour or output between anyconfig-2 and anyconfig-3? And also (a question for upstream): why is the executable called "anyconfig_cli" and not just "anyconfig"? -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx