Bug 2254310 - Review Request: httpcomponents-client4 - HTTP agent implementation based on httpcomponents HttpCore
Summary: Review Request: httpcomponents-client4 - HTTP agent implementation based on h...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL: https://hc.apache.org/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-13 08:40 UTC by Marián Konček
Modified: 2023-12-19 14:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-19 14:13:54 UTC
Type: ---
Embargoed:
loganjerry: fedora-review+


Attachments (Terms of Use)

Description Marián Konček 2023-12-13 08:40:15 UTC
Spec URL: https://fedorapeople.org/~mkoncek/httpcomponents-client4/httpcomponents-client4.spec
SRPM URL: https://fedorapeople.org/~mkoncek/httpcomponents-client4/httpcomponents-client4-4.5.14-1.fc40.src.rpm
Description:
HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on
httpcomponents HttpCore. It also provides reusable components for
client-side authentication, HTTP state management, and HTTP connection
management. HttpComponents Client is a successor of and replacement
for Commons HttpClient 3.x. Users of Commons HttpClient are strongly
encouraged to upgrade.

Fedora Account System Username: mkoncek

Comment 1 Fedora Review Service 2023-12-13 08:44:59 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6747809
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2254310-httpcomponents-client4/fedora-rawhide-x86_64/06747809-httpcomponents-client4/fedora-review/review.txt

Found issues:

- No javadoc subpackage present. Note: Javadocs are optional for Fedora versions >= 21
  Read more: https://fedoraproject.org/wiki/Packaging:Java#Javadoc_installation
- No javadoc subpackage present
  Read more: https://fedoraproject.org/wiki/Packaging:Java#Javadoc_installation

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Jerry James 2023-12-15 18:51:11 UTC
As with httpcomponents-core4, you don't actually need a review for this, but I will provide one if you like.

Comment 3 Jerry James 2023-12-15 18:58:36 UTC
No issues noted.  This package is APPROVED.  Please let me know when you build version 5.x, since apache-commons-vfs will need some adjusting.

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

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

Issues:
=======
- Package does not use a name that already exists.
  Note: A package with this name already exists. Please check
  https://src.fedoraproject.org/rpms/httpcomponents-client4
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/Naming/#_conflicting_package_names

  It looks like this name has been used before, so you will have to use the
  unretirement process rather than the new package process.

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

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: "*No copyright* Apache License 2.0", "Unknown or generated". 10
     files have unknown license.
[x]: License file installed when any subpackage combination is installed.
[x]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by:
     /usr/share/java/httpcomponents(httpcomponents-client, httpcomponents-
     core4, httpcomponents-core), /usr/share/maven-
     poms/httpcomponents(httpcomponents-client, httpcomponents-core4,
     httpcomponents-core)

     This is expected.

[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]: 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 109686 bytes in 2 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]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[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 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

Java:
[x]: Bundled jar/class files should be removed before build
[x]: Packages have proper BuildRequires/Requires on javapackages-tools
     (jpackage-utils)
     Note: Maven packages do not need to (Build)Require jpackage-utils. It
     is pulled in by maven-local
[x]: Javadoc documentation files are generated and included in -javadoc
     subpackage
[x]: Javadoc subpackages should not have Requires: javapackages-tools
     (jpackage-utils)
[x]: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink)

Maven:
[x]: If package contains pom.xml files install it (including metadata) even
     when building with ant
[x]: POM files have correct Maven mapping
[x]: Maven packages should use new style packaging
[x]: Old add_to_maven_depmap macro is not being used
[x]: Packages DO NOT have Requires(post) and Requires(postun) on jpackage-
     utils for %update_maven_depmap macro
[x]: Package DOES NOT use %update_maven_depmap in %post/%postun
[x]: Packages use .mfiles file list instead of %{_datadir}/maven2/poms

===== 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[!]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: %check is present and all tests pass.

     In effect: the tests are run during the build.

[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]: Fully versioned dependency in subpackages if applicable.
[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]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: Spec use %global instead of %define unless justified.

Java:
[x]: Package uses upstream build method (ant/maven/etc.)
[x]: Packages are noarch unless they use JNI

===== EXTRA items =====

Generic:
[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: httpcomponents-client4-4.5.14-1.fc40.noarch.rpm
          httpcomponents-client4-javadoc-4.5.14-1.fc40.noarch.rpm
          httpcomponents-client4-4.5.14-1.fc40.src.rpm
================================================ rpmlint session starts ================================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmp75pfbp76')]
checks: 31, packages: 3

httpcomponents-client4.spec: W: patch-not-applied Patch1: 0001-Use-system-copy-of-effective_tld_names.dat.patch
httpcomponents-client4.spec: W: patch-not-applied Patch2: 0002-Port-to-mockito-2.patch
httpcomponents-client4.spec: W: patch-not-applied Patch3: 0003-Port-to-Mockito-5.patch

These complaints appear to be due to a fedora-review bug.

httpcomponents-client4-javadoc.noarch: W: package-with-huge-docs 99%
================= 3 packages and 0 specfiles checked; 0 errors, 4 warnings, 0 badness; has taken 0.5 s =================




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.5.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 2

httpcomponents-client4-javadoc.noarch: W: package-with-huge-docs 99%
 2 packages and 0 specfiles checked; 0 errors, 1 warnings, 7 filtered, 0 badness; has taken 0.2 s 



Source checksums
----------------
https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.5.14/httpcomponents-client-4.5.14-source-release.zip :
  CHECKSUM(SHA256) this package     : 020ce0f7500d33f6341e0e45305b34ff7ec272f8d52231e78011851e4fb5aa67
  CHECKSUM(SHA256) upstream package : 020ce0f7500d33f6341e0e45305b34ff7ec272f8d52231e78011851e4fb5aa67


Requires
--------
httpcomponents-client4 (rpmlib, GLIBC filtered):
    (java-headless or java-21-headless or java-17-headless or java-11-headless or java-1.8.0-headless)
    javapackages-filesystem
    mvn(commons-codec:commons-codec)
    mvn(org.apache.httpcomponents:httpcore)
    publicsuffix-list

httpcomponents-client4-javadoc (rpmlib, GLIBC filtered):
    javapackages-filesystem



Provides
--------
httpcomponents-client4:
    httpcomponents-client4
    mvn(org.apache.httpcomponents:httpclient)
    mvn(org.apache.httpcomponents:httpclient:pom:)
    mvn(org.apache.httpcomponents:httpcomponents-client:pom:)
    osgi(org.apache.httpcomponents.httpclient)

httpcomponents-client4-javadoc:
    httpcomponents-client4-javadoc



Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24
Command line :/usr/bin/fedora-review -b 2254310 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, Generic, Java
Disabled plugins: Ocaml, C/C++, R, PHP, Ruby, Perl, SugarActivity, fonts, Python, Haskell
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH

Comment 4 Marián Konček 2023-12-19 14:13:54 UTC
Thank you for the effort.
The repository https://src.fedoraproject.org/rpms/httpcomponents-client4 has been created in the meantime.
This bug is no longer necessary.


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