[Bug 771252] Review Request: cinnamon - Window management and application launching for GNOME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=771252

--- Comment #51 from Eric Smith <eric@xxxxxxxxxxxx> ---
I haven't checked everything yet, but here are a few things reported by
fedora-review:


[!]: MUST Development (unversioned) .so files in -devel subpackage, if
     present.
     Note: cinnamon-1.4.0-2.UP1.fc18.i686.rpm :
     /usr/lib/cinnamon/libcinnamon.so

[!]: MUST %config files are marked noreplace or the reason is justified.
     Note: %config %{_sysconfdir}/gconf/schemas/cinnamon.schemas%config
     %{_sysconfdir}/xdg/menus/cinnamon-applications.menu%config
     %{_sysconfdir}/xdg/menus/cinnamon-settings.menu

[!]: MUST Package does not contain duplicates in %files.
     Note: warning: File listed twice:
     /usr/share/cinnamon/locale/ar/LC_MESSAGES/cinnamon.mo

rpmlint gives many incorrect-fsf-address errors.  I think Fedora policy is to
ask upstream to fix that.

cinnamon.i686: E: explicit-lib-dependency librsvg2(x86-32)

cinnamon.i686: E: backup-file-in-package
/usr/share/cinnamon-settings/cinnamon-settings.py.orig

cinnamon.i686: W: dangerous-command-in-%pre rm
cinnamon.i686: W: dangerous-command-in-%post rm

[!]: SHOULD SourceX / PatchY prefixed with %{name}.
     Note: Source0: cinnamon-%{version}.UP1.tar.gz
     (cinnamon-%{version}.UP1.tar.gz) Source1: cinnamon.desktop
     (cinnamon.desktop) Source2: cinnamon.session (cinnamon.session) Source3:
     menu.png (menu.png) Patch0: cinnamon-favourite-apps-firefox.patch
     (cinnamon-favourite-apps-firefox.patch) Patch1: menu.patch (menu.patch)
     Patch2: logout_theme.patch (logout_theme.patch) Patch3:
     cinnamon_bluetooth.patch (cinnamon_bluetooth.patch) Patch4:
     settings.patch (settings.patch)

That's not required, but I strongly suggest going beyond that and naming
patches starting not just with %{name}-, but %[name}-%{version}-.  I've found
that makes maintenance of the package easier.  You might also find adding a "-b
.briefdescription" to the %patch command line handy, as it prepares for the use
of gendiff when you want to create updated patches.

[!]: SHOULD Spec use %global instead of %define.
     Note: %define clutter_version 1.4.0 %define gobject_introspection_version
     0.10.1 %define muffin_version 1.0.2 %define eds_version 2.91.6 %define
     json_glib_version 0.13.2

cinnamon.src: W: invalid-url Source0: cinnamon-1.4.0.UP1.tar.gz

Note that it is possible to construct URLs to extract tarballs with a chosen
name.  See the "GitHub is a terrible upstream" thread on the devel list.  In
particular, Orion Poplawski pointed out recently:

    It wasn't obvious at first to me but this works with tags not
    just commit hashes.  So if a project tags there version numbers
    you can do something like:

        https://github.com/enthought/mayavi/tarball/4.2.0/Mayavi-4.2.0.tar.gz

    The contents are still in a directory named user-app-hash

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]