Bug 859586
Summary: | Review Request: gsm-ussd - USSD query tool | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ivan Romanov <drizt72> |
Component: | Package Review | Assignee: | MartinKG <mgansser> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | mario.blaettermann, mgansser, misc, notting, package-review |
Target Milestone: | --- | Flags: | mgansser:
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: | 2012-12-20 16:09:29 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
Ivan Romanov
2012-09-22 06:51:02 UTC
$ rpmlint gsm-ussd-0.4.0-0.1.25.fc17.noarch.rpm gsm-ussd-0.4.0-0.1.25.fc17.src.rpm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/DCS.pm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/Modem.pm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/UssdQuery.pm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/NetworkErrors.pm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/Code.pm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/Loggit.pm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/Stty.pm gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/Lockfile.pm 2 packages and 0 specfiles checked; 8 errors, 0 warnings. i can take your package and make a review of it. four comments: - PatchY should prefixed with %{name} - use %global instead of %define - %files section contains %defattr if rpm < 4.4 Note: defattr(....) present in %files section. This is OK if packaging for EPEL5. Otherwise not needed See: http://fedoraproject.org/wiki/Packaging/Guidelines#FilePermissions - in file section, use %{name} instead of gsm-ussd (In reply to comment #3) > - use %global instead of %define Why? hm ... it's weird for me. gsm-ussd.noarch: E: script-without-shebang /usr/libexec/gsm-ussd/lib/GSMUSSD/Lockfile.pm I've looked at this file and it has bashing. (In reply to comment #4) > (In reply to comment #3) > > - use %global instead of %define > Why? http://fedoraproject.org/wiki/Packaging:Guidelines#.25global_preferred_over_.25define fixed SRPM: https://github.com/drizt/gsm-ussd-package/b6d2fbebc452ae4c912ff3e1015b858e3e22ab38/master/gsm-ussd-0.4.0-0.2.25.fc17.src.rpm SPEC: https://raw.github.com/drizt/gsm-ussd-package/b6d2fbebc452ae4c912ff3e1015b858e3e22ab38/gsm-ussd.spec I was about to also do the review ( in fact, i have it ready to cut and paste ), but I will let Martin take it. However the license tag is false, as there is code under GPLv2+ and code under lgpl. The fact it provides perl modules is wrong, you should filter them from Provides ( since they are not in perl path ). /usr/libexec/gsm-ussd/ is unowned There is missing deps for xussd, and a .desktop file should be added since that's gui. And script-without-shebang should be corrected, for example, by removing the +x bits from the file ( since they are not scripts ). And you should also comment the patch. xussd uses zenity or kdialog. Is it imposible to have some 'or' operator in Requires? I wonder maybe should drop xussd from the package. And next work with upstream to make a front-end only for a single dialog? (In reply to comment #9) > xussd uses zenity or kdialog. Is it imposible to have some 'or' operator in > Requires? As far as I know, there's no convenient way to choose the one or the other. It also depends on the workflow when calling a frontend by gssm-ussd. I haven't tested it. Which frontend do you've installed, and in case both are available, which of them calls gsm-ussd first? Besides that, there's obviously no way to change the preferred gui from the build configuration. Pulling both would be annoying, because kdialog needs lots of KDE stuff, and zenity that from Gtk. Not really practical for either Gnome or in the latter case for KDE users. fixed SRPM path https://github.com/drizt/gsm-ussd-package/blob/b6d2fbebc452ae4c912ff3e1015b858e3e22ab38/gsm-ussd-0.4.0-0.2.25.fc17.src.rpm?raw=true I tried to use such filter: %filter_provides_in %{_libexecdir} but provides wasn't filtered. fixed SPEC: https://raw.github.com/drizt/gsm-ussd-package/95bb1d70620cc5616f7526de77edf80acfe48860/gsm-ussd.spec SRPM: https://raw.github.com/drizt/gsm-ussd-package/95bb1d70620cc5616f7526de77edf80acfe48860/gsm-ussd-0.4.0-0.3.25.fc17.src.rpm %changelog * Sun Oct 07 2012 Ivan Romanov <drizt> 0.4.0-0.3.25 - dropped xussd - unset executable flag for perl modules - fixed License tag - fixed Requires tag - filter modules from Provides here's the review, but the package looks almost ready for approval. Package Review ============== Key: [x] = Pass [!] = Fail [-] = Not applicable [?] = Not evaluated [ ] = Manual review needed ===== MUST items ===== Generic: [ ]: 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. [ ]: Package contains no bundled libraries. [ ]: Changelog in prescribed format. [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [ ]: Sources contain only permissible code or content. [x]: Each %files section contains %defattr if rpm < 4.4 [ ]: 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 [ ]: Package requires other packages for directories it uses. [ ]: Package uses nothing in %doc for runtime. [ ]: Package is not known to require ExcludeArch. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [ ]: Package complies to the Packaging Guidelines [x]: Spec file lacks Packager, Vendor, PreReq tags. [ ]: Large documentation files are in a -doc subpackage, if required. [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. [ ]: 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". 2 files have unknown license. Detailed output of licensecheck in /home/martin/fedora- scm/859586-gsm-ussd/licensecheck.txt [ ]: Package consistently uses macro is (instead of hard-coded directory names). [ ]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [x]: Package is named using only allowed ASCII characters. [ ]: Package is named according to the Package Naming Guidelines. [ ]: Package does not generate any conflict. Note: Package contains no Conflicts: tag(s) [x]: Package do not use a name that already exist [ ]: Package obeys FHS, except libexecdir and /usr/target. [ ]: If the package is a rename of another package, proper Obsoletes and Provides are present. [ ]: Package must own all directories that it creates. [ ]: Package does not own files or directories owned by other packages. [x]: Package installs properly. [ ]: Package is not relocatable. [ ]: Requires correct, justified where necessary. [x]: CheckResultdir [x]: Rpmlint is run on all rpms the build produces. Note: No rpmlint messages. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [ ]: 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. Perl: [ ]: Package contains the mandatory BuildRequires and Reguires:. ===== 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) [ ]: 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. [ ]: Final provides and requires are sane (rpm -q --provides and rpm -q --requires). [ ]: Package functions as described. [ ]: Latest version is packaged. [ ]: Package does not include license text files separate from upstream. [ ]: Patches link to upstream bugs/comments/lists or are otherwise justified. [x]: The placement of pkgconfig(.pc) files are correct. [x]: SourceX tarball generation or download is documented. [!]: SourceX / PatchY prefixed with %{name}. Note: Source0 (gsm-ussd_0.4.0-25.tar.gz) [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. [!]: Spec use %global instead of %define. Note: %define __provides_exclude_from %{_libexecdir} %define __requires_exclude .*GSMUSSD.* ===== EXTRA items ===== Generic: [x]: Rpmlint is run on all installed packages. Note: No rpmlint messages. [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: gsm-ussd-0.4.0-0.3.25.fc17.src.rpm gsm-ussd-0.4.0-0.3.25.fc17.noarch.rpm 2 packages and 0 specfiles checked; 0 errors, 0 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint gsm-ussd 1 packages and 0 specfiles checked; 0 errors, 0 warnings. # echo 'rpmlint-done:' Requires -------- gsm-ussd-0.4.0-0.3.25.fc17.noarch.rpm (rpmlib, GLIBC filtered): /usr/bin/perl perl >= 0:5.008 perl(:MODULE_COMPAT_5.14.2) perl(Carp) perl(Encode) perl(Expect) perl(Fcntl) perl(FindBin) perl(Getopt::Long) perl(POSIX) perl(Pod::Usage) perl(Scalar::Util) perl(lib) perl(sigtrap) perl(strict) perl(warnings) Provides -------- gsm-ussd-0.4.0-0.3.25.fc17.noarch.rpm: gsm-ussd = 0.4.0-0.3.25.fc17 MD5-sum check ------------- http://linux.zum-quadrat.de/downloads/gsm-ussd_0.4.0-25.tar.gz : CHECKSUM(SHA256) this package : 1b082f5214eb7f1a3ccc9f983795e0f0eee5420f53f76e4f91bf85b1a654977f CHECKSUM(SHA256) upstream package : 1b082f5214eb7f1a3ccc9f983795e0f0eee5420f53f76e4f91bf85b1a654977f Generated by fedora-review 0.3.0 (c78e275) last change: 2012-09-24 Buildroot used: fedora-17-x86_64 Command line :/usr/bin/fedora-review -b 859586 New Package SCM Request ======================= Package Name: gsm-ussd Short Description: USSD query tool Owners: ivanromanov Branches: f17 f18 InitialCC: Martin, you should complete the review, not paste the output with empty items. will do the review later that day. Review not complete. Martin, fedora‑review‑ means that a review fully failed and package won't be accepted. But you will continue review process so I think you should to use fedora‑review? (In reply to comment #21) Ivan, of course, it's my first review. please have a little patience. Everything looks fine; I'm approving this package APPROVED 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. [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [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. [-]: Large documentation files are in a -doc subpackage, if required. [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". 2 files have unknown license. Detailed output of licensecheck in /home/martin/rpmbuild/SPECS/859586-gsm-ussd/licensecheck.txt [x]: Package consistently uses macro is (instead of hard-coded directory names). [x]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [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 [-]: 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. Perl: [x]: Package contains the mandatory BuildRequires and Reguires:. ===== 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) [-]: 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. [-]: Patches link to upstream bugs/comments/lists or are otherwise justified. [x]: The placement of pkgconfig(.pc) files are correct. [x]: SourceX tarball generation or download is documented. [!]: SourceX / PatchY prefixed with %{name}. Note: Source0 (gsm-ussd_0.4.0-25.tar.gz) [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. [x]: Packages should try to preserve timestamps of original installed files. [x]: Spec use %global instead of %define. Note: %define __provides_exclude_from %{_libexecdir} %define __requires_exclude .*GSMUSSD.* ===== 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. Rpmlint ------- Checking: gsm-ussd-0.4.0-0.3.25.fc18.src.rpm gsm-ussd-0.4.0-0.3.25.fc18.noarch.rpm gsm-ussd.src: W: invalid-url URL: http://iloapp.zum-quadrat.de/blog/linux?Home&category=2 timed out gsm-ussd.noarch: W: invalid-url URL: http://iloapp.zum-quadrat.de/blog/linux?Home&category=2 timed out 2 packages and 0 specfiles checked; 0 errors, 2 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint gsm-ussd gsm-ussd.noarch: W: invalid-url URL: http://iloapp.zum-quadrat.de/blog/linux?Home&category=2 timed out 1 packages and 0 specfiles checked; 0 errors, 1 warnings. # echo 'rpmlint-done:' Requires -------- gsm-ussd-0.4.0-0.3.25.fc18.noarch.rpm (rpmlib, GLIBC filtered): /usr/bin/perl perl >= 0:5.008 perl(:MODULE_COMPAT_5.16.1) perl(Carp) perl(Encode) perl(Expect) perl(Fcntl) perl(FindBin) perl(Getopt::Long) perl(POSIX) perl(Pod::Usage) perl(Scalar::Util) perl(lib) perl(sigtrap) perl(strict) perl(warnings) Provides -------- gsm-ussd-0.4.0-0.3.25.fc18.noarch.rpm: gsm-ussd = 0.4.0-0.3.25.fc18 MD5-sum check ------------- http://linux.zum-quadrat.de/downloads/gsm-ussd_0.4.0-25.tar.gz : CHECKSUM(SHA256) this package : 1b082f5214eb7f1a3ccc9f983795e0f0eee5420f53f76e4f91bf85b1a654977f CHECKSUM(SHA256) upstream package : 1b082f5214eb7f1a3ccc9f983795e0f0eee5420f53f76e4f91bf85b1a654977f Generated by fedora-review 0.3.0 (c78e275) last change: 2012-09-24 Buildroot used: fedora-18-x86_64 Command line :/usr/bin/fedora-review -b 859586 Thanks! New Package SCM Request ======================= Package Name: gsm-ussd Short Description: USSD query tool Owners: ivanromanov Branches: f17 f18 InitialCC: Git done (by process-git-requests). gsm-ussd-0.4.0-0.4.25.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gsm-ussd-0.4.0-0.4.25.fc18 gsm-ussd-0.4.0-0.4.25.fc18 has been pushed to the Fedora 18 testing repository. gsm-ussd-0.4.0-0.4.25.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/gsm-ussd-0.4.0-0.4.25.fc17 gsm-ussd-0.4.0-0.4.25.fc18 has been pushed to the Fedora 18 stable repository. |