Bug 875359
Summary: | Review Request: willie - a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Elad Alfassa <elad> |
Component: | Package Review | Assignee: | Fabian Affolter <mail> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | ben.harper, mail, notting, package-review, powell.518, projects.rg |
Target Milestone: | --- | Flags: | mail:
fedora-review+
gwync: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-03 13:27:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Elad Alfassa
2012-11-10 19:34:57 UTC
Updated. Spec URL: http://elad.fedorapeople.org/reviews/willie/willie.spec SRPM URL: http://elad.fedorapeople.org/reviews/willie/willie-3.1-2.fc18.src.rpm Note that I am not a sponsor, but I starting some reviews in an effort to become a packager. I did look over your files, I did notice a few things. $ rpmlint willie-3.1-2.fc18.src.rpm willie.src: I: enchant-dictionary-not-found en_US willie.src: W: summary-not-capitalized C a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python. willie.src: W: summary-ended-with-dot C a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python. willie.src: E: summary-too-long C a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python. willie.src: E: description-line-too-long C Willie is a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python. willie.src: W: invalid-license EFLv2 1 packages and 0 specfiles checked; 2 errors, 3 warnings. Looks like you need to clean up the summary, and take the line break from the description. Also change the license to 'EFL 2.0'. I was able to build a RPM and install it with a fedora-rawhide-x86_64 mock environment. Issues fixed. Spec URL: http://elad.fedorapeople.org/reviews/willie/willie.spec SRPM URL: http://elad.fedorapeople.org/reviews/willie/willie-3.1-3.fc18.src.rpm rpmlint complains... [fab@laptop11 SRPMS]$ rpmlint willie-3.1-3.fc18.src.rpm willie.src: E: description-line-too-long C Willie is a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python. 1 packages and 0 specfiles checked; 1 errors, 0 warnings. [fab@laptop11 noarch]$ rpmlint willie-3.1-3.fc17.noarch.rpm willie.noarch: E: description-line-too-long C Willie is a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python. willie.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/willie/modules/ai.py 0644L /usr/bin/env willie.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/willie/modules/countdown.py 0644L /usr/bin/env willie.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/willie-3.1/CREDITS willie.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/willie/bot.py 0644L /usr/bin/env willie.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/willie [...] willie.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/willie/modules/ip.py 0644L /usr/bin/env willie.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/willie/modules/translate.py 0644L /usr/bin/env willie.noarch: W: no-manual-page-for-binary willie.py 1 packages and 0 specfiles checked; 52 errors, 3 warnings. rpmlint can keep complaining. All site-packages files are library files - not scripts, the 80-char limit for description line is just an arbitrary and outdated limit. The only warning which is worth fixing here is removing Windows line ends from CREDITS. So, the shebang in those files is not needed. Will be fixed in a new upstream release later today. New upstream release: Spec URL: http://elad.fedorapeople.org/reviews/willie/willie.spec SRPM URL: http://elad.fedorapeople.org/reviews/willie/willie-3.1.1-1.fc18.src.rpm The only outstanding issue now is the fact that willie.py doesn't have a manpage, and there isn't much I can do about it until we make a manual page upstream, and that'll have to wait at least until the next maintenance release. All documentation regarding using this bot is in the upstream wiki. New upstream release (yes, again) Spec URL: http://elad.fedorapeople.org/reviews/willie/willie.spec SRPM URL: http://elad.fedorapeople.org/reviews/willie/willie-3.1.2-1.fc18.src.rpm Perphaps a new release appears before I start with the review. Could you please use python2-devel instead of python-devel? As far as I remember the Python guidelines say so. Thanks. Sure. And I don't think upstream will have a new release soon. Spec URL: http://elad.fedorapeople.org/reviews/willie/willie.spec SRPM URL: http://elad.fedorapeople.org/reviews/willie/willie-3.1.2-2.fc18.src.rpm Package Review ============== Key: [x] = Pass [!] = Fail [-] = Not applicable [?] = Not evaluated [ ] = Manual review needed ===== 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 successfully compiles and builds into binary rpms on at least one supported primary architecture. [-]: %build honors applicable compiler flags or justifies otherwise. [x]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [x]: Package contains no bundled libraries. [x]: Changelog in prescribed format. [!]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. Note: rm -rf %{buildroot} present but not required [x]: Sources contain only permissible code or content. [x]: Each %files section contains %defattr if rpm < 4.4 [x]: Macros in Summary, %description expandable at SRPM build time. [-]: Package contains desktop file if it is a GUI application. [-]: 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 does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package complies to the Packaging Guidelines [x]: Spec file lacks Packager, Vendor, PreReq tags. [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: "Unknown or generated". 1 files have unknown license. Detailed output of licensecheck in /home/fab/reviews/875359-willie/licensecheck.txt [x]: Package consistently uses macro is (instead of hard-coded directory names). [x]: Package is named using only allowed ASCII characters. [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. Note: Package contains no Conflicts: tag(s) [x]: Package do not use a name that already exist [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]: Package installs properly. [x]: Package is not relocatable. [x]: Requires correct, justified where necessary. [x]: CheckResultdir [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file is legible and written in American English. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [-]: Package contains systemd file(s) if in need. [x]: File names are valid UTF-8. [-]: Large documentation must go in a -doc subpackage. Note: Documentation size is 215040 bytes in 25 files. [x]: Packages must not store files under /srv, /opt or /usr/local Python: [x]: Package contains BR: python2-devel or python3-devel [x]: Binary eggs must be removed in %prep [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 ===== SHOULD items ===== Generic: [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]: 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]: Dist tag is present. [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Final provides and requires are sane (rpm -q --provides and rpm -q --requires). [x]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [x]: The placement of pkgconfig(.pc) files are correct. [x]: SourceX tarball generation or download is documented. [x]: SourceX / PatchY prefixed with %{name}. [x]: SourceX is a working URL. [-]: 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. [x]: Spec use %global instead of %define. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Spec file according to URL is the same as in SRPM. [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. Rpmlint ------- Checking: willie-3.1.2-2.fc17.noarch.rpm willie-3.1.2-2.fc17.src.rpm willie.noarch: W: no-manual-page-for-binary willie.py 2 packages and 0 specfiles checked; 0 errors, 1 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint willie willie.noarch: W: no-manual-page-for-binary willie.py 1 packages and 0 specfiles checked; 0 errors, 1 warnings. # echo 'rpmlint-done:' Requires -------- willie-3.1.2-2.fc17.noarch.rpm (rpmlib, GLIBC filtered): /usr/bin/python MySQL-python pyOpenSSL python(abi) = 2.7 python-enchant python-feedparser python-lxml python-praw pytz Provides -------- willie-3.1.2-2.fc17.noarch.rpm: willie = 3.1.2-2.fc17 MD5-sum check ------------- http://willie.dftba.net/files/willie-3.1.2.tar.gz : CHECKSUM(SHA256) this package : 15ba641f1aec04a130a673dd2ac5e925b2a532b6e823c67e7dc393ad5e27aae1 CHECKSUM(SHA256) upstream package : 15ba641f1aec04a130a673dd2ac5e925b2a532b6e823c67e7dc393ad5e27aae1 Generated by fedora-review 0.3.1 (b71abc1) last change: 2012-10-16 Buildroot used: fedora-17-x86_64 Command line :/usr/bin/fedora-review -b 875359 Please remove 'rm -rf $RPM_BUILD_ROOT' in the %install section before scm import. Package APPROVED New Package SCM Request ======================= Package Name: willie Short Description: a simple, lightweight, open source, easy-to-use IRC Utility bot, written in Python Owners: elad Branches: f17 f18 InitialCC: Git done (by process-git-requests). willie-3.1.2-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/willie-3.1.2-2.fc17 willie-3.1.2-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/willie-3.1.2-2.fc18 willie-3.1.2-2.fc18 has been pushed to the Fedora 18 testing repository. willie-3.1.3-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/willie-3.1.3-1.fc17 willie-3.1.3-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/willie-3.1.3-1.fc18 willie-3.1.3-1.fc18 has been pushed to the Fedora 18 stable repository. willie-3.1.3-1.fc17 has been pushed to the Fedora 17 stable repository. Package Change Request ====================== Package Name: willie New Branches: epel7 Owners: elad embolalia Git done (by process-git-requests). |