https://bugzilla.redhat.com/show_bug.cgi?id=736861
--- Comment #17 from Björn Esser <bjoern.esser(a)gmail.com> ---
Package has four issues as shown in review-report below.
#####
Package Review
==============
Legend:
[x] = Pass
[!] = Fail
[-] = Not applicable
[?] = Not evaluated
[ ] = Manual review needed
Issues:
=======
- Package installs properly.
Note: Installation errors (see attachment)
See:
https://fedoraproject.org/wiki/Packaging:Guidelines
---> you should probably just split into two pkgs:
* hgview (containing former -common and -ncurses)
* hgview-qt (containing former main-pkg, requiring new-main-pkg)
ncurses-deps don't occupy that much bandwith and disk-space and
will make main-pkg basically useful on ANY install.
- Package contains BR: python2-devel or python3-devel
See:
http://fedoraproject.org/wiki/Packaging:Python#BuildRequires
---> 's!python-devel!python2-devel!'
- update-desktop-database is invoked when required
Note: desktop file(s) in hgview
See:
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
---> add scriptlets as proposed in link
- Packages should try to preserve timestamps of original installed files.
---> -install -m 644 -D %{SOURCE1} ...
+install -pDm 0644 %{SOURCE1} ...
===== MUST items =====
Generic:
[x]: Package is licensed with an open-source compatible license and meets
other legal requirements as defined in the legal section of Packaging
Guidelines.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Package complies to the Packaging Guidelines
[x]: If (and only if) the source package includes the text of the license(s)
in its own file, then that file, containing the text of the license(s)
for the package is included in %doc.
[x]: License field in the package spec file matches the actual license.
Note: Checking patched sources after %prep for licenses. Licenses found:
"GPL (v2 or later)", "Unknown or generated". 8 files have
unknown
license. Detailed output of licensecheck in
/home/bjoern.esser/fedora/review/736861-hgview/licensecheck.txt
[x]: Package consistently uses macro is (instead of hard-coded directory
names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
Provides are present.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[-]: Large documentation must go in a -doc subpackage.
Note: Documentation size is 30720 bytes in 2 files.
[x]: All build dependencies are listed in BuildRequires, except for any that
are listed in the exceptions section of Packaging Guidelines.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install if there is
such a file.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
%{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local
[x]: Package successfully compiles and builds into binary rpms on at least one
supported primary architecture.
[x]: Rpmlint is run on all rpms the build produces.
Note: There are rpmlint messages (see attachment).
Python:
[x]: Python eggs must not download any dependencies during the build process.
[x]: A package which is used by another package via an egg interface should
provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Binary eggs must be removed in %prep
===== SHOULD items =====
Generic:
[-]: If the source package does not include license text(s) as a separate file
from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[-]: Description and summary sections in the package spec file contains
translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
architectures.
[-]: %check is present and all tests pass.
[!]: Packages should try to preserve timestamps of original installed files.
---> -install -m 644 -D %{SOURCE1} ...
+install -pDm 0644 %{SOURCE1} ...
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
$RPM_BUILD_ROOT)
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define.
===== EXTRA items =====
Generic:
[!]: Rpmlint is run on all installed packages.
Note: Mock build failed
[x]: Large data in /usr/share should live in a noarch subpackage if package is
arched.
[x]: Spec file according to URL is the same as in SRPM.
Installation errors
-------------------
INFO: mock.py version 1.1.32 starting...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Mock Version: 1.1.32
INFO: Mock Version: 1.1.32
Start: lock buildroot
INFO: installing package(s):
/home/bjoern.esser/fedora/review/736861-hgview/results/hgview-1.7.1-3.fc20.noarch.rpm
ERROR: Command failed:
# ['/usr/bin/yum', '--installroot',
'/var/lib/mock/fedora-rawhide-x86_64/root/', 'install',
'/home/bjoern.esser/fedora/review/736861-hgview/results/hgview-1.7.1-3.fc20.noarch.rpm',
'--setopt=tsflags=nocontexts']
Error: Package: hgview-1.7.1-3.fc20.noarch (/hgview-1.7.1-3.fc20.noarch)
Requires: hgview-common = 1.7.1-3.fc20
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Rpmlint
-------
Checking: hgview-1.7.1-3.fc20.noarch.rpm
hgview.noarch: W: no-documentation
hgview.noarch: W: desktopfile-without-binary
/usr/share/applications/hgview.desktop hgview
1 packages and 0 specfiles checked; 0 errors, 2 warnings.
Requires
--------
hgview (rpmlib, GLIBC filtered):
PyQt4
hgview-common
python(abi)
python-docutils
qscintilla-python
Provides
--------
hgview:
hgview
Source checksums
----------------
http://download.logilab.org/pub/hgview/hgview-1.7.1.tar.gz :
CHECKSUM(SHA256) this package :
633862c3a2313e5f2432f19b9da9fa19a1ca8f2f2cd0b86df019832e86afc001
CHECKSUM(SHA256) upstream package :
633862c3a2313e5f2432f19b9da9fa19a1ca8f2f2cd0b86df019832e86afc001
Generated by fedora-review 0.4.1 (b2e211f) last change: 2013-04-29
Buildroot used: fedora-rawhide-x86_64
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 736861
#####
Please fix the issues and I'll grant review.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=Vfii3NrXQC&a=cc_unsubscribe