Bug 1359401 (cutegram) - Review Request: cutegram - Cutegram is a telegram client by Aseman Land
Summary: Review Request: cutegram - Cutegram is a telegram client by Aseman Land
Keywords:
Status: CLOSED ERRATA
Alias: cutegram
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christian Dersch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1246763 (view as bug list)
Depends On: aseman-qt-tools telegramqml
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-23 18:30 UTC by Igor Gnatenko
Modified: 2016-07-29 02:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-28 23:52:26 UTC
Type: ---
Embargoed:
lupinix.fedora: fedora-review+


Attachments (Terms of Use)

Description Igor Gnatenko 2016-07-23 18:30:53 UTC
Spec URL: http://copr-dist-git.fedorainfracloud.org/cgit/ignatenkobrain/cutegram/cutegram.git/plain/cutegram.spec?id=477d8c4832abccfb753c60c7054099b500e6f100
SRPM URL: https://copr-be.cloud.fedoraproject.org/results/ignatenkobrain/cutegram/fedora-rawhide-x86_64/00410486-cutegram/cutegram-3.0-0.3git7294861.fc25.src.rpm
Description:
A different telegram client from Aseman team. Cutegram forked from Sigram
by Sialan Labs. Cutegram project are released under the terms of the GPLv3
license.
Fedora Account System Username: ignatenkobrain

Comment 1 Igor Gnatenko 2016-07-23 18:31:24 UTC
*** Bug 1246763 has been marked as a duplicate of this bug. ***

Comment 3 Christian Dersch 2016-07-25 10:34:32 UTC
Looks ok, Approved! Just have a look at the update-desktop-database scriptlets.


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

===> The packages look fine, just a false-positive as two deps (aseman-qt-tools and telegramqml are not yet synced to mirrors)

- update-desktop-database is invoked in %post and %postun if package
  contains desktop file(s) with a MimeType: entry.
  Note: desktop file(s) with MimeType entry in cutegram
  See: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-
  database

===> Please check this


===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

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]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "GPL (v3 or later)", "Unknown or generated". 34 files have
     unknown license. Detailed output of licensecheck in
     /home/review/1359401-cutegram/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.
[x]: %build honors applicable compiler flags or justifies otherwise.
[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 uses nothing in %doc for runtime.
[x]: Package consistently uses macros (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]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: gtk-update-icon-cache is invoked in %postun and %posttrans if package
     contains icons.
     Note: icons in cutegram
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[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).
[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 %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[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 or
     desktop-file-validate if there is such a file.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[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.

===> You only ship GPL, what about the other licenses?

[x]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     cutegram-debuginfo
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: 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.

===> http://koji.fedoraproject.org/koji/taskinfo?taskID=15012397

[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint

===> The packages look fine, just a false-positive as two deps (aseman-qt-tools and telegramqml are not yet synced to mirrors)

[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.2.18 starting (python version = 3.5.1)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
Mock Version: 1.2.18
INFO: Mock Version: 1.2.18
Finish: chroot init
INFO: installing package(s): /home/review/1359401-cutegram/results/cutegram-debuginfo-3.0-0.4git7294861.fc25.x86_64.rpm /home/review/1359401-cutegram/results/cutegram-3.0-0.4git7294861.fc25.x86_64.rpm
ERROR: Command failed. See logs for output.
 # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 25 --disableplugin=local --setopt=deltarpm=false install /home/review/1359401-cutegram/results/cutegram-debuginfo-3.0-0.4git7294861.fc25.x86_64.rpm /home/review/1359401-cutegram/results/cutegram-3.0-0.4git7294861.fc25.x86_64.rpm --setopt=tsflags=nocontexts


Rpmlint
-------
Checking: cutegram-3.0-0.4git7294861.fc25.x86_64.rpm
          cutegram-debuginfo-3.0-0.4git7294861.fc25.x86_64.rpm
          cutegram-3.0-0.4git7294861.fc25.src.rpm
cutegram.x86_64: W: name-repeated-in-summary C Cutegram
cutegram.x86_64: W: invalid-license CC-BY-4.0
cutegram.x86_64: W: no-documentation
cutegram.x86_64: W: no-manual-page-for-binary cutegram
cutegram-debuginfo.x86_64: W: invalid-license CC-BY-4.0
cutegram.src: W: name-repeated-in-summary C Cutegram
cutegram.src: W: invalid-license CC-BY-4.0
cutegram.src:29: W: unversioned-explicit-provides bundled(js-linkify)
cutegram.src:30: W: unversioned-explicit-provides bundled(js-twemoji)
3 packages and 0 specfiles checked; 0 errors, 9 warnings.

===> Please check whether the license field has to contain "CC-BY" or "CC-BY-4.0"


Requires
--------
cutegram (rpmlib, GLIBC filtered):
    /bin/sh
    aseman-qt-tools(x86-64)
    hicolor-icon-theme
    libGL.so.1()(64bit)
    libQt5Core.so.5()(64bit)
    libQt5Core.so.5(Qt_5)(64bit)
    libQt5Core.so.5(Qt_5.7)(64bit)
    libQt5Gui.so.5()(64bit)
    libQt5Network.so.5()(64bit)
    libQt5Qml.so.5()(64bit)
    libQt5Qml.so.5(Qt_5)(64bit)
    libQt5Quick.so.5()(64bit)
    libQt5Widgets.so.5()(64bit)
    libQt5Widgets.so.5(Qt_5)(64bit)
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libm.so.6()(64bit)
    libpthread.so.0()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    qt5-qtgraphicaleffects(x86-64)
    qt5-qtquickcontrols(x86-64)
    rtld(GNU_HASH)
    telegramqml(x86-64)

cutegram-debuginfo (rpmlib, GLIBC filtered):



Provides
--------
cutegram:
    application()
    application(Cutegram.desktop)
    bundled(js-linkify)
    bundled(js-twemoji)
    cutegram
    cutegram(x86-64)
    mimehandler(application/x-xdg-protocol-tg)
    mimehandler(x-scheme-handler/tg)

cutegram-debuginfo:
    cutegram-debuginfo
    cutegram-debuginfo(x86-64)



Source checksums
----------------
https://github.com/Aseman-Land/Cutegram/archive/7294861b65861adb401668291d85970c5900fc5b/cutegram-7294861.tar.gz :
  CHECKSUM(SHA256) this package     : 365b8422b437d73c4d1572615a2e733140884ae33a69c9a31c46bee784a8847a
  CHECKSUM(SHA256) upstream package : 365b8422b437d73c4d1572615a2e733140884ae33a69c9a31c46bee784a8847a


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -v -m fedora-rawhide-x86_64 -b 1359401
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 4 Gwyn Ciesla 2016-07-25 13:43:36 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/cutegram

Comment 5 Fedora Update System 2016-07-25 15:23:12 UTC
aseman-qt-tools-1.0.0-5.fc24 cutegram-3.0-0.5gitc67ce70.fc24 libqtelegram-ae-10.0.0-2.fc24 telegramqml-2.0.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f124196a0d

Comment 6 Fedora Update System 2016-07-25 15:23:22 UTC
aseman-qt-tools-1.0.0-5.fc24 cutegram-3.0-0.5gitc67ce70.fc24 libqtelegram-ae-10.0.0-2.fc24 telegramqml-2.0.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f124196a0d

Comment 7 Fedora Update System 2016-07-25 15:24:26 UTC
aseman-qt-tools-1.0.0-5.fc23 cutegram-3.0-0.5gitc67ce70.fc23 libqtelegram-ae-10.0.0-2.fc23 telegramqml-2.0.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b83952c941

Comment 8 Fedora Update System 2016-07-25 15:24:32 UTC
aseman-qt-tools-1.0.0-5.fc23 cutegram-3.0-0.5gitc67ce70.fc23 libqtelegram-ae-10.0.0-2.fc23 telegramqml-2.0.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b83952c941

Comment 9 Fedora Update System 2016-07-28 04:19:16 UTC
aseman-qt-tools-1.0.0-5.fc23, cutegram-3.0-0.5gitc67ce70.fc23, libqtelegram-ae-10.0.0-2.fc23, telegramqml-2.0.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b83952c941

Comment 10 Fedora Update System 2016-07-28 06:01:45 UTC
aseman-qt-tools-1.0.0-5.fc24, cutegram-3.0-0.5gitc67ce70.fc24, libqtelegram-ae-10.0.0-2.fc24, telegramqml-2.0.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f124196a0d

Comment 11 Fedora Update System 2016-07-28 23:52:11 UTC
aseman-qt-tools-1.0.0-5.fc24, cutegram-3.0-0.5gitc67ce70.fc24, libqtelegram-ae-10.0.0-2.fc24, telegramqml-2.0.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-07-29 02:50:45 UTC
aseman-qt-tools-1.0.0-5.fc23, cutegram-3.0-0.5gitc67ce70.fc23, libqtelegram-ae-10.0.0-2.fc23, telegramqml-2.0.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.