[Bug 977116] Review Request: pgmodeler - PostgreSQL Database Modeler

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

 



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



--- Comment #51 from Sandro Mani <manisandro@xxxxxxxxx> ---
Issues:
- Missing requires for unowned directories:
  /usr/share/mime/{,packages} -> shared-mime-info

- In my opinion better to also require hicolor-icon-theme and only own
%{_datadir}/icons/hicolor/256x256/apps/pgmodeler_logo.png

- Files listed twice: remove %{_libdir}/%{name}/lib*.so

- For F25+, various scriptlets should not be run according to [1]. For F23, F24
update-mime-database needs to be invoked in %post.

- The package should not provide the private libraries in %{_libdir}/%{name},
see [2]

[1]
https://fedoraproject.org/wiki/Packaging:Scriptlets?rd=Packaging:ScriptletSnippets#desktop-database
[2] https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering


Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- Package does not contain duplicates in %files.
  Note: warning: File listed twice: /usr/lib64/pgmodeler/libobjrenderer.so
  See: http://fedoraproject.org/wiki/Packaging/Guidelines#DuplicateFiles


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Reason for placing in main package justified.
[-]: Header files in -devel subpackage, if present.
[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", "Unknown or generated", "*No copyright* GPL". 620 files
     have unknown license.
[x]: License file installed when any subpackage combination is installed.
[!]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/mime,
     /usr/share/mime/packages
[!]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by:
     /usr/share/icons/hicolor/256x256/apps(hicolor-icon-theme, fedora-
     logos), /usr/share/icons/hicolor/256x256(hicolor-icon-theme, fedora-
     logos), /usr/share/icons/hicolor(hicolor-icon-theme, fedora-logos)
[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]: 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 pgmodeler
[x]: gtk-update-icon-cache is invoked in %postun and %posttrans if package
     contains icons.
     Note: icons in pgmodeler
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 153600 bytes in 3 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[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]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[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]: 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]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[!]: update-mime-database is invoked in %post and %postun if package stores
     mime configuration in /usr/share/mime/packages.
     Note: mimeinfo files in: pgmodeler
     See:
     http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#mimeinfo
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[!]: Final provides and requires are sane (see attachments).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     pgmodeler-debuginfo
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: 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]: 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:
[-]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
     Note: Arch-ed rpms have a total of 1218560 bytes in /usr/share
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[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: pgmodeler-0.8.2-3.fc26.x86_64.rpm
          pgmodeler-debuginfo-0.8.2-3.fc26.x86_64.rpm
          pgmodeler-0.8.2-3.fc26.src.rpm
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libpgmodeler.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libparsers.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libobjrenderer.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libpgconnector.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libutils.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libpgmodeler_ui.so
pgmodeler.x86_64: W: no-manual-page-for-binary pgmodeler
pgmodeler.x86_64: W: no-manual-page-for-binary pgmodeler-cli
3 packages and 0 specfiles checked; 0 errors, 8 warnings.




Rpmlint (debuginfo)
-------------------
Checking: pgmodeler-debuginfo-0.8.2-3.fc26.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libpgconnector.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libobjrenderer.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libpgmodeler_ui.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libparsers.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libutils.so
pgmodeler.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/pgmodeler/libpgmodeler.so
pgmodeler.x86_64: W: no-manual-page-for-binary pgmodeler-cli
pgmodeler.x86_64: W: no-manual-page-for-binary pgmodeler
2 packages and 0 specfiles checked; 0 errors, 8 warnings.



Requires
--------
pgmodeler-debuginfo (rpmlib, GLIBC filtered):

pgmodeler (rpmlib, GLIBC filtered):
    /bin/sh
    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)
    libQt5Gui.so.5(Qt_5)(64bit)
    libQt5Network.so.5()(64bit)
    libQt5Network.so.5(Qt_5)(64bit)
    libQt5PrintSupport.so.5()(64bit)
    libQt5PrintSupport.so.5(Qt_5)(64bit)
    libQt5Svg.so.5()(64bit)
    libQt5Svg.so.5(Qt_5)(64bit)
    libQt5Widgets.so.5()(64bit)
    libQt5Widgets.so.5(Qt_5)(64bit)
    libX11.so.6()(64bit)
    libXext.so.6()(64bit)
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libm.so.6()(64bit)
    libobjrenderer.so.1()(64bit)
    libparsers.so.1()(64bit)
    libpgconnector.so.1()(64bit)
    libpgmodeler.so.1()(64bit)
    libpgmodeler_ui.so.1()(64bit)
    libpq.so.5()(64bit)
    libpthread.so.0()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libutils.so.1()(64bit)
    libxml2.so.2()(64bit)
    libxml2.so.2(LIBXML2_2.4.30)(64bit)
    libxml2.so.2(LIBXML2_2.6.0)(64bit)
    rtld(GNU_HASH)



Provides
--------
pgmodeler-debuginfo:
    pgmodeler-debuginfo
    pgmodeler-debuginfo(x86-64)

pgmodeler:
    appdata()
    appdata(pgmodeler.appdata.xml)
    application()
    application(pgmodeler.desktop)
    libobjrenderer.so.1()(64bit)
    libparsers.so.1()(64bit)
    libpgconnector.so.1()(64bit)
    libpgmodeler.so.1()(64bit)
    libpgmodeler_ui.so.1()(64bit)
    libutils.so.1()(64bit)
    mimehandler(application/dbm)
    pgmodeler
    pgmodeler(x86-64)



Unversioned so-files
--------------------
pgmodeler: /usr/lib64/pgmodeler/libobjrenderer.so
pgmodeler: /usr/lib64/pgmodeler/libparsers.so
pgmodeler: /usr/lib64/pgmodeler/libpgconnector.so
pgmodeler: /usr/lib64/pgmodeler/libpgmodeler.so
pgmodeler: /usr/lib64/pgmodeler/libpgmodeler_ui.so
pgmodeler: /usr/lib64/pgmodeler/libutils.so

Source checksums
----------------
https://github.com/pgmodeler/pgmodeler/archive/v0.8.2.tar.gz#/pgmodeler-0.8.2.tar.xz
:
  CHECKSUM(SHA256) this package     :
66891ca514496f15abbc7a9757b6c09805500a7255335e84aa78a40748abebd1
  CHECKSUM(SHA256) upstream package :
66891ca514496f15abbc7a9757b6c09805500a7255335e84aa78a40748abebd1


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 977116
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

-- 
You are receiving this mail because:
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx




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