Bug 752311 - Review Request: gitso - A front-end to reverse VNC connections
Summary: Review Request: gitso - A front-end to reverse VNC connections
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mohamed El Morabity
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-09 06:37 UTC by Cédric OLIVIER
Modified: 2012-01-22 05:27 UTC (History)
3 users (show)

Fixed In Version: gitso-0.6-6.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-21 20:34:40 UTC
Type: ---
Embargoed:
pikachu.2014: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Cédric OLIVIER 2011-11-09 06:37:50 UTC
Spec URL: http://cedric.olivier.free.fr/rpms/gitso/gitso.spec
SRPM URL: http://cedric.olivier.free.fr/rpms/gitso/gitso-0.6-1.fc15.src.rpm

Description: Gitso is a front-end to reverse VNC connections. It is meant to be a 
simple two-step process that connects one person to another screen.

Comment 1 Mohamed El Morabity 2011-12-16 12:39:07 UTC
Some comments:

* You don't need to define the %python_sitelib macro, it is already defined by default (see the /usr/lib/rpm/macros file):
   http://fedoraproject.org/wiki/Packaging:Python#Macros
* I don't really think python-devel is needed to build your package.
* Since python and wxGTK are already required by wxPython, you can remove these two packages from the Requires.
* Do you really think gitso modules need to be installed in %{python_sitelib}/%{name} ? These files are not inteded to be visible from Python. You should install them in %{_datadir}/%{name}, as done by upstream.
* Why did you remove the MimeType key in the .desktop file?

Comment 2 Cédric OLIVIER 2011-12-24 16:15:24 UTC
Thanks a lot for your comments :

I have made an update :

SRPM URL : http://cedric.olivier.free.fr/rpms/gitso-0.6-2/gitso-0.6-2.fc16.src.rpm
Spec URL : http://cedric.olivier.free.fr/rpms/gitso-0.6-2/gitso.spec

* I have removed python_sitelib_macro, and python-devel buildrequires and python, wxGTK requires. SRPM successfully rebuild  with mock.

* Changing install destination.

* Removing MimeType was an error when removing deprecated entries in desktop file.

Comment 3 Cédric OLIVIER 2011-12-24 18:00:07 UTC
Sorry, this previous version doesn't work.
You can find here a updated functional version : 

SRPM URL :
http://cedric.olivier.free.fr/rpms/gitso-0.6-3/gitso-0.6-3.fc16.src.rpm
Spec URL : http://cedric.olivier.free.fr/rpms/gitso-0.6-3/gitso.spec

* I have removed patch2, due to install directory change

Comment 4 Mohamed El Morabity 2012-01-03 12:25:23 UTC
Your package doesn't provide any binary. It should be "noarch".

Notice also the following rpmlint warnings:
   gitso.x86_64: E: non-executable-script /usr/share/gitso/ArgsParser.py 0644L /usr/bin/env
   gitso.x86_64: E: non-executable-script /usr/share/gitso/Gitso.py 0644L /usr/bin/env
   gitso.x86_64: E: non-executable-script /usr/share/gitso/ConnectionWindow.py 0644L /usr/bin/env
   gitso.x86_64: E: non-executable-script /usr/share/gitso/NATPMP.py 0644L /usr/bin/env
   gitso.x86_64: E: non-executable-script /usr/share/gitso/Processes.py 0644L /usr/bin/env
   gitso.x86_64: E: non-executable-script /usr/share/gitso/GitsoThread.py 0644L /usr/bin/env
You must remove the shebang at the top of each of these files, as described here:
   http://fedoraproject.org/wiki/Packaging_tricks#Remove_shebang_from_Python_libraries

Comment 5 Cédric OLIVIER 2012-01-03 18:59:03 UTC
followed your observations I made the change :

SRPM URL :
http://cedric.olivier.free.fr/rpms/gitso-0.6-4/gitso-0.6-4.fc16.src.rpm
Spec URL : http://cedric.olivier.free.fr/rpms/gitso-0.6-4/gitso.spec

Comment 6 Mohamed El Morabity 2012-01-03 19:20:55 UTC
Two last comments and I will approve your package:
- add a %build section, even if it's empty
- please change %{_mandir}/man1/%{name}.1.gz to %{_mandir}/man1/gnac.1* so the extension .gz is not hardcoded, in case the man pages compressing format changes.

Comment 7 Cédric OLIVIER 2012-01-03 20:34:11 UTC
Thanks a lot, new spec and srpms :

SRPM URL :
http://cedric.olivier.free.fr/rpms/gitso-0.6-5/gitso-0.6-5.fc16.src.rpm
Spec URL : http://cedric.olivier.free.fr/rpms/gitso-0.6-5/gitso.spec

Comment 8 Mohamed El Morabity 2012-01-03 23:04:44 UTC
Here is the review:

 +:ok, =:needs attention, -:needs fixing

MUST Items:

[+] MUST: rpmlint must be run on every package.
gitso.src: W: invalid-url Source0: http://gitso.googlecode.com/files/gitso_0.6_src.tar.bz2 HTTP Error 404: Not Found
2 packages and 0 specfiles checked; 0 errors, 1 warnings.
>>The warning can be safely ignored

[+] MUST: The package must be named according to the Package Naming Guidelines.

[+] MUST: The spec file name must match the base package %{name}

[+] MUST: The package must meet the Packaging Guidelines.

[+] MUST: The package must be licensed with a Fedora approved license and meet
the Licensing Guidelines.

[=] MUST: The License field in the package spec file must match the actual
license.
The source code is actually licensed to GPLv3 or more.

[+] MUST: 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 must be included in %doc.

[+] MUST: The spec file must be written in American English.

[+] MUST: The spec file for the package MUST be legible.

[+] MUST: The sources used to build the package must match the upstream source,
as provided in the spec URL.
>>MD5 sum=d0eaacf0b546ab5300523de1e5dab9b6 OK

[+] MUST: The package must successfully compile and build into binary rpms on
at least one supported architecture.

[+] MUST: If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in
ExcludeArch.

[+] MUST: All build dependencies must be listed in BuildRequires

[+] MUST: The spec file MUST handle locales properly. This is done by using the
%find_lang macro.

[+] MUST: Every binary RPM package which stores shared library files (not just
symlinks) in any of the dynamic linker's default paths, must call ldconfig in
%post and %postun.

[+] MUST: If the package is designed to be relocatable, the packager must state
this fact in the request for review

[+] MUST: A package must own all directories that it creates. If it does not
create a directory that it uses, then it should require a package which does
create that directory.

[+] MUST: A package must not contain any duplicate files in the %files listing.

[+] MUST: Permissions on files must be set properly. Executables should be set
with executable permissions, for example.

[+] MUST: Each package must consistently use macros, as described in the macros
section of Packaging Guidelines.

[+] MUST: The package must contain code, or permissible content. This is
described in detail in the code vs. content section of Packaging Guidelines.

[+] MUST: Large documentation files should go in a doc subpackage.

[+] MUST: If a package includes something as %doc, it must not affect the
runtime of the application.

[+] MUST: Header files must be in a -devel package.

[+] MUST: Static libraries must be in a -static package.

[+] MUST: If a package contains library files with a suffix (e.g.
libfoo.so.1.1), then library files that end in .so (without suffix) must go in
a -devel package.

[+] MUST: In the vast majority of cases, devel packages must require the base
package using a fully versioned dependency: Requires: %{name} =
%{version}-%{release} 

[+] MUST: Packages must NOT contain any .la libtool archives, these should be
removed in the spec.

[+] MUST: Packages containing GUI applications must include a %{name}.desktop
file, and that file must be properly installed with desktop-file-install in the
%install section.

[+] MUST: Packages must not own files or directories already owned by other
packages.

[+] MUST: All filenames in rpm packages must be valid UTF-8.

You just need to set the License tag to *GPLv3+*. Anyway I trust you to fix it when you'll import the package.
*APPROVED*

Comment 9 Cédric OLIVIER 2012-01-04 21:26:06 UTC
New Package SCM Request
=======================
Package Name: gitso
Short Description: Gitso is a front-end to reverse VNC connections. It is meant to be a simple two-step process that connects one person to another screen.
Owners: cquad
Branches: f15 f16 el6
InitialCC: cquad

Comment 10 Gwyn Ciesla 2012-01-05 13:02:46 UTC
Git done (by process-git-requests).

Comment 11 Fedora Update System 2012-01-05 20:59:36 UTC
gitso-0.6-6.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/gitso-0.6-6.el6

Comment 12 Fedora Update System 2012-01-05 21:01:10 UTC
gitso-0.6-6.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gitso-0.6-6.fc15

Comment 13 Fedora Update System 2012-01-05 21:03:48 UTC
gitso-0.6-6.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gitso-0.6-6.fc16

Comment 14 Fedora Update System 2012-01-07 02:30:36 UTC
gitso-0.6-6.el6 has been pushed to the Fedora EPEL 6 testing repository.

Comment 15 Fedora Update System 2012-01-21 20:34:40 UTC
gitso-0.6-6.el6 has been pushed to the Fedora EPEL 6 stable repository.

Comment 16 Fedora Update System 2012-01-22 05:24:00 UTC
gitso-0.6-6.fc16 has been pushed to the Fedora 16 stable repository.

Comment 17 Fedora Update System 2012-01-22 05:27:49 UTC
gitso-0.6-6.fc15 has been pushed to the Fedora 15 stable repository.


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