Bug 1421058 (deepin-metacity)
Summary: | Review Request: deepin-metacity - 2D window manager for Deepin | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | sensor.wen |
Component: | Package Review | Assignee: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | felixonmars, package-review, zbyszek |
Target Milestone: | --- | Flags: | zbyszek:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-22 13:30:46 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: | |||
Bug Depends On: | 1476560 | ||
Bug Blocks: | 1465889, 1421066 |
Description
sensor.wen
2017-02-10 09:14:32 UTC
License should be GPLv2+. find %{buildroot} -name '*.la' -exec rm -f {} ';' → find %{buildroot} -name '*.la' -delete rpmlint gives a bunch of warnings like: deepin-metacity.x86_64: W: file-not-in-%lang /usr/share/locale/am/LC_MESSAGES/deepin-metacity.mo deepin-metacity.x86_64: W: file-not-in-%lang /usr/share/locale/ar/LC_MESSAGES/deepin-metacity.mo It seems you need to call %find_lang. See https://fedoraproject.org/wiki/Packaging:Guidelines#Handling_Locale_Files. deepin-metacity.x86_64: W: incoherent-version-in-changelog 3.22.10-1.gite9af397 ['3.22.10-1.fc27', '3.22.10-1'] I didn't test it, but it seems to be packaged OK, modulo the nits above. SPEC: https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-25-x86_64/00587015-deepin-metacity/deepin-metacity.spec SRPM: https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-25-x86_64/00587015-deepin-metacity/deepin-metacity-3.22.10-1.fc25.src.rpm Thanks. I fix it. (In reply to sensor.wen from comment #2) > SPEC: > https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-25- > x86_64/00587015-deepin-metacity/deepin-metacity.spec > SRPM: > https://copr-be.cloud.fedoraproject.org/results/mosquito/deepin/fedora-25- > x86_64/00587015-deepin-metacity/deepin-metacity-3.22.10-1.fc25.src.rpm > > Thanks. I fix it. Please remember to use corresponding beginning of the line like "Spec URL". It will make review much easier. Issues: ======= - Package does not install properly: "nothing provides deepin-desktop-schemas needed by deepin-metacity-3.22.10-1.fc27.x86_64" That's actually correct, but we don't have that package yet in rawhide. I marked that review as blocking this one. - glib-compile-schemas is run in %postun and %posttrans if package has *.gschema.xml files. Note: gschema file(s) in deepin-metacity See: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema - Package installs a %{name}.desktop using desktop-file-install or desktop- file-validate if there is such a file. [https://fedoraproject.org/wiki/Packaging:Guidelines#desktop-file-install_usage] - Package must own all directories that it creates. Note: Directories without known owners: /usr/share/GConf, /usr/share/GConf/gsettings, /usr/share/gnome-control- center/keybindings, /usr/share/gnome/wm-properties, /usr/share/gnome- control-center Add to %files %dir /usr/share/GConf %dir /usr/share/GConf/gsettings and Requires: control-center-filesystem SPEC: https://raw.githubusercontent.com/FZUG/repo/afcfb988017bd8354ec4f60e63c5d692da957cf4/rpms/deepin_project/deepin-metacity.spec Fixed all. Thanks. Oops, sorry. My comment about glib-compile-schemas was wrong. I trusted fedora-review without checking the guidelines, but /usr/bin/glib-compile-schemas should not be called since F24 (#1409315). So please remove those calls again. Looks good otherwise, I'll re-review when #1476560 is done. Diff: https://github.com/FZUG/repo/commit/23c189b5fed5a5899dc0150a00e581722795a2ef :) Thanks, it's not your not fault. Diff: https://github.com/FZUG/repo/commit/23c189b5fed5a5899dc0150a00e581722795a2ef :) Thanks, it's not your fault. #1476560 is done. Could you review it? @Zbigniew Jędrzejewski-Szmek I'm looking at https://github.com/FZUG/repo/blob/e7d45acd1874a9bb0934721f6d2163688e19714e/rpms/deepin_project/deepin-metacity.spec. Hmm, fails to build here: + cd deepin-metacity-3.22.10 + desktop-file-validate /builddir/build/BUILDROOT/deepin-metacity-3.22.10-1.fc28.x86_64/usr/share/applications/deepin-metacity.desktop /builddir/build/BUILDROOT/deepin-metacity-3.22.10-1.fc28.x86_64/usr/share/gnome/wm-properties/deepin-metacity-wm.desktop /builddir/build/BUILDROOT/deepin-metacity-3.22.10-1.fc28.x86_64/usr/share/gnome/wm-properties/deepin-metacity-wm.desktop: error: file contains group "Window Manager", but groups extending the format should start with "X-" ?? -- BTW, I fell out out the loop with the deepin reviews. If there's something other ticket I should look at, I'd appreciate a reminder. Thank you for your work. I fixed. https://koji.fedoraproject.org/koji/taskinfo?taskID=22354205 Currently, only two packages needs review (deepin-wm deepin-wm-switcher). If your have free time, maybe review them. + package name is OK + license is acceptable for Fedora (GPLv2+) + license is specified correctly + latest version + builds and installs OK + fedora-review finds no issues (except obsolete comment about scriptlets for schemas which have been replaced by transfiletriggers) + BR/ Requires / Provides look correct + scriptlets are sane Package is APPROVED. (fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/deepin-metacity This is already in Rawhide. Closing on behalf of the Deepin Desktop packaging effort. |