Bug 1957702 - Review Request: kweathercore - Library to facilitate retrieval of weather information
Summary: Review Request: kweathercore - Library to facilitate retrieval of weather inf...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1957816
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-06 10:25 UTC by Onuralp SEZER
Modified: 2022-05-24 12:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-24 12:26:55 UTC
Type: ---
Embargoed:
zebob.m: fedora-review+


Attachments (Terms of Use)

Description Onuralp SEZER 2021-05-06 10:25:45 UTC
Spec URL: https://pagure.io/kweathercore/blob/main/f/kweathercore.spec
SRPM URL: https://pagure.io/kweathercore/blob/main/f/kweathercore-0.1.1-1.fc34.src.rpm
Description: kweathercore - Library to facilitate retrieval of weather information
Fedora Account System Username: thunderbirdtr
Copr repo : https://copr.fedorainfracloud.org/coprs/thunderbirdtr/kweather/


Package review enabled : https://copr.fedorainfracloud.org/coprs/thunderbirdtr/kweather/build/2167859/



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

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


Issues:
=======
- Development (unversioned) .so files in -devel subpackage, if present.
  Note: Unversioned so-files directly in %_libdir.
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#_devel_packages


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

C/C++:
[ ]: Package does not contain kernel modules.
[ ]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[ ]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Using prebuilt packages
[ ]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[ ]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "GNU Library General Public License,
     Version 2.0". 49 files have unknown license. Detailed output of
     licensecheck in /var/lib/copr-
     rpmbuild/results/kweathercore/licensecheck.txt
[ ]: License file installed when any subpackage combination is installed.
[ ]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/include/KF5,
     /usr/lib64/qt5/mkspecs/modules, /usr/share/doc/qt5,
     /usr/lib64/qt5/mkspecs, /usr/lib64/qt5
[ ]: %build honors applicable compiler flags or justifies otherwise.
[ ]: Package contains no bundled libraries without FPC exception.
[ ]: Changelog in prescribed format.
[ ]: Sources contain only permissible code or content.
[ ]: Package contains desktop file if it is a GUI application.
[ ]: Development files must be in a -devel package
[ ]: Package uses nothing in %doc for runtime.
[ ]: Package consistently uses macros (instead of hard-coded directory
     names).
[ ]: Package is named according to the Package Naming Guidelines.
[ ]: Package does not generate any conflict.
[ ]: Package obeys FHS, except libexecdir and /usr/target.
[ ]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[ ]: Requires correct, justified where necessary.
[ ]: Spec file is legible and written in American English.
[ ]: Package contains systemd file(s) if in need.
[ ]: Useful -debuginfo package or justification otherwise.
[ ]: 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 368640 bytes in 3 files.
[ ]: Package complies to the Packaging Guidelines
[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]: 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]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[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:
[!]: Reviewer should test that the package builds in mock.
[ ]: 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
     kweathercore-docs
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[ ]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[ ]: %check is present and all tests pass.
[ ]: Packages should try to preserve timestamps of original installed
     files.
[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 debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Rpmlint
-------
Checking: kweathercore-0.1.1-1.fc35.x86_64.rpm
          kweathercore-devel-0.1.1-1.fc35.x86_64.rpm
          kweathercore-docs-0.1.1-1.fc35.noarch.rpm
          kweathercore-debuginfo-0.1.1-1.fc35.x86_64.rpm
          kweathercore-debugsource-0.1.1-1.fc35.x86_64.rpm
          kweathercore-0.1.1-1.fc35.src.rpm
kweathercore.x86_64: W: spelling-error %description -l en_US moonrise -> moon rise, moon-rise, moonshiner
kweathercore.x86_64: W: spelling-error %description -l en_US informations -> information, information's, in formations
kweathercore.x86_64: W: no-documentation
kweathercore.x86_64: W: devel-file-in-non-devel-package /usr/lib64/libKF5KWeatherCore.so
kweathercore-devel.x86_64: W: no-documentation
kweathercore.src: W: spelling-error %description -l en_US moonrise -> moon rise, moon-rise, moonshiner
kweathercore.src: W: spelling-error %description -l en_US informations -> information, information's, in formations
6 packages and 0 specfiles checked; 0 errors, 7 warnings.




Rpmlint (debuginfo)
-------------------
Checking: kweathercore-debuginfo-0.1.1-1.fc35.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
kweathercore.x86_64: W: spelling-error %description -l en_US moonrise -> moon rise, moon-rise, moonshiner
kweathercore.x86_64: W: spelling-error %description -l en_US informations -> information, information's, in formations
kweathercore.x86_64: W: no-documentation
kweathercore.x86_64: W: devel-file-in-non-devel-package /usr/lib64/libKF5KWeatherCore.so
kweathercore-devel.x86_64: W: no-documentation
5 packages and 0 specfiles checked; 0 errors, 5 warnings.



Unversioned so-files
--------------------
kweathercore: /usr/lib64/libKF5KWeatherCore.so

Source checksums
----------------
https://invent.kde.org/libraries/kweathercore/-/archive/release-0.1.1/kweathercore-release-0.1.1.tar.gz :
  CHECKSUM(SHA256) this package     : e199bbb159ef8175aed29daa7a13c3e72cc84549eaebfa59118f6c4685ee6421
  CHECKSUM(SHA256) upstream package : e199bbb159ef8175aed29daa7a13c3e72cc84549eaebfa59118f6c4685ee6421


Requires
--------
kweathercore (rpmlib, GLIBC filtered):
    libKF5I18n.so.5()(64bit)
    libKF5KWeatherCore.so.5()(64bit)
    libQt5Core.so.5()(64bit)
    libQt5Core.so.5(Qt_5)(64bit)
    libQt5Core.so.5(Qt_5.15)(64bit)
    libQt5Network.so.5()(64bit)
    libQt5Network.so.5(Qt_5)(64bit)
    libQt5Positioning.so.5()(64bit)
    libQt5Positioning.so.5(Qt_5)(64bit)
    libc.so.6()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    rtld(GNU_HASH)

kweathercore-devel (rpmlib, GLIBC filtered):
    cmake-filesystem(x86-64)
    kweathercore(x86-64)
    libKF5KWeatherCore.so.5()(64bit)

kweathercore-docs (rpmlib, GLIBC filtered):

kweathercore-debuginfo (rpmlib, GLIBC filtered):

kweathercore-debugsource (rpmlib, GLIBC filtered):



Provides
--------
kweathercore:
    kweathercore
    kweathercore(x86-64)
    libKF5KWeatherCore.so.5()(64bit)

kweathercore-devel:
    cmake(KF5KWeatherCore)
    cmake(kf5kweathercore)
    kweathercore-devel
    kweathercore-devel(x86-64)

kweathercore-docs:
    kweathercore-docs

kweathercore-debuginfo:
    debuginfo(build-id)
    kweathercore-debuginfo
    kweathercore-debuginfo(x86-64)
    libKF5KWeatherCore.so.0.1.1-0.1.1-1.fc35.x86_64.debug()(64bit)

kweathercore-debugsource:
    kweathercore-debugsource
    kweathercore-debugsource(x86-64)



Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name kweathercore --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, C/C++, Generic
Disabled plugins: Perl, Haskell, Python, Java, Ocaml, fonts, PHP, R, SugarActivity
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 1 Robert-André Mauchin 🐧 2021-05-13 15:12:05 UTC
 - %ldconfig_scriptlets is not needed anymore

 - This should not be in the main package, only the devel subpackage:

%{_kf5_libdir}/libKF5KWeatherCore.so


 - There's a 21.05 release: https://invent.kde.org/libraries/kweathercore/-/tags





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

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


Issues:
=======
- Development (unversioned) .so files in -devel subpackage, if present.
  Note: Unversioned so-files directly in %_libdir.
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#_devel_packages


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[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: "Unknown or generated", "GNU Library General Public License,
     Version 2.0". 49 files have unknown license. Detailed output of
     licensecheck in /home/bob/packaging/review/kweathercore/review-
     kweathercore/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[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.
[-]: Package contains desktop file if it is a GUI application.
[x]: 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]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 368640 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]: 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]: 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]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[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
     kweathercore-docs
[?]: Package functions as described.
[!]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: 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:
[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]: 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.


Rpmlint
-------
Checking: kweathercore-0.1.1-1.fc35.x86_64.rpm
          kweathercore-devel-0.1.1-1.fc35.x86_64.rpm
          kweathercore-docs-0.1.1-1.fc35.noarch.rpm
          kweathercore-debuginfo-0.1.1-1.fc35.x86_64.rpm
          kweathercore-debugsource-0.1.1-1.fc35.x86_64.rpm
          kweathercore-0.1.1-1.fc35.src.rpm
kweathercore.x86_64: W: spelling-error %description -l en_US moonrise -> moon rise, moon-rise, moonshiner
kweathercore.x86_64: W: spelling-error %description -l en_US informations -> information, information's, in formations
kweathercore.x86_64: W: no-documentation
kweathercore.x86_64: W: devel-file-in-non-devel-package /usr/lib64/libKF5KWeatherCore.so
kweathercore-devel.x86_64: W: no-documentation
kweathercore.src: W: spelling-error %description -l en_US moonrise -> moon rise, moon-rise, moonshiner
kweathercore.src: W: spelling-error %description -l en_US informations -> information, information's, in formations
6 packages and 0 specfiles checked; 0 errors, 7 warnings.

Comment 2 Onuralp SEZER 2021-05-13 22:32:24 UTC
 - %ldconfig_scriptlets is not needed anymore  (removed)

 - This should not be in the main package, only the devel subpackage:

%{_kf5_libdir}/libKF5KWeatherCore.so (moved)


 - There's a 21.05 release: https://invent.kde.org/libraries/kweathercore/-/tags (version updated)


https://pagure.io/kweathercore/blob/main/f/kweathercore-21.05-1.fc34.src.rpm
https://pagure.io/kweathercore/blob/main/f/kweathercore.spec

Comment 3 Robert-André Mauchin 🐧 2021-05-15 13:42:51 UTC
Package approved.

Comment 4 Gwyn Ciesla 2021-05-16 22:03:47 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/kweathercore

Comment 5 Package Review 2022-05-24 12:26:55 UTC
Package is available in repositories, closing.


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