Bug 1795076

Summary: Review Request: golang-github-anacrolix-log - Logging library for Go
Product: [Fedora] Fedora Reporter: Robert-André Mauchin 🐧 <zebob.m>
Component: Package ReviewAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anacrolix, package-review, quantum.analyst, tcallawa
Target Milestone: ---Flags: quantum.analyst: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-14 00:36:53 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:

Description Robert-André Mauchin 🐧 2020-01-26 22:20:39 UTC
Spec URL: https://eclipseo.fedorapeople.org/for-review/golang-github-anacrolix-log.spec
SRPM URL: https://eclipseo.fedorapeople.org/for-review/golang-github-anacrolix-log-0.6.0-1.fc32.src.rpm

Description:
 Logging library for Go.

Fedora Account System Username: eclipseo

Comment 1 Robert-André Mauchin 🐧 2020-01-26 22:25:36 UTC
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=41055337

Comment 2 Elliott Sales de Andrade 2020-02-10 05:09:37 UTC
Can't approve this without a license.

Comment 3 Matt Joiner 2020-02-11 01:50:37 UTC
https://github.com/anacrolix/log/blob/master/LICENSE

Is it compatible?

Comment 4 Tom "spot" Callaway 2020-02-11 18:20:54 UTC
MPL is fine. Please make sure a copy of the license text ends up in the package.

Comment 5 Matt Joiner 2020-02-11 22:07:35 UTC
What project is this package being used for? I can bump the Go module versions to accomodate if it helps.

Comment 6 Robert-André Mauchin 🐧 2020-02-13 21:36:42 UTC
(In reply to Matt Joiner from comment #5)
> What project is this package being used for? I can bump the Go module
> versions to accomodate if it helps.

Heh I need it to update golang-github-anacrolix-envpprof

→ golang-github-anacrolix-missinggo → golang-github-anacrolix-tagflag

which is not used anymore apparently.

Comment 8 Elliott Sales de Andrade 2020-02-16 09:34:39 UTC
Approved.

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

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



===== 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.
[-]: 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]: License field in the package spec file matches the actual license.
     Note: There is no build directory. Running licensecheck on vanilla
     upstream sources. Licenses found: "*No copyright* Mozilla Public
     License (v2.0)", "Unknown or generated". 10 files have unknown
     license. Detailed output of licensecheck in
     1795076-golang-github-anacrolix-log/licensecheck.txt
[x]: Package does not own files or directories owned by other packages.
[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.
[?]: 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]: 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]: 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 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[x]: 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.
[-]: 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]: %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]: 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.

===== 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: golang-github-anacrolix-log-0.6.0-1.fc33.src.rpm
golang-github-anacrolix-log.src: W: no-%build-section
golang-github-anacrolix-log.src: E: specfile-error warning: -u use in %forgemeta is deprecated, use -z instead to select a separate set of rpm variables!
1 packages and 0 specfiles checked; 1 errors, 1 warnings.




Rpmlint (installed packages)
----------------------------
golang-github-anacrolix-log-devel.noarch: W: no-documentation
golang-github-anacrolix-log-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/anacrolix/log/.goipath
1 packages and 0 specfiles checked; 0 errors, 2 warnings.


Source checksums
----------------
https://raw.githubusercontent.com/anacrolix/log/master/LICENSE :
  CHECKSUM(SHA256) this package     : 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5
  CHECKSUM(SHA256) upstream package : 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5
https://github.com/anacrolix/log/archive/v0.6.0/log-0.6.0.tar.gz :
  CHECKSUM(SHA256) this package     : c23a8f9743cac2432144f32645c338266e48d775dd239804de6d1dd230abf932
  CHECKSUM(SHA256) upstream package : c23a8f9743cac2432144f32645c338266e48d775dd239804de6d1dd230abf932


Requires
--------
go-filesystem
golang(github.com/anacrolix/missinggo/iter)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Provides
--------
golang(github.com/anacrolix/log) = 0.6.0-1.fc33
golang-github-anacrolix-log-devel = 0.6.0-1.fc33
golang-ipath(github.com/anacrolix/log) = 0.6.0-1.fc33


Generated by fedora-review 0.7.4 (54fa030) last change: 2019-12-07
Command line :/usr/bin/fedora-review -b 1795076 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, Generic
Disabled plugins: Java, C/C++, Python, PHP, Perl, SugarActivity, R, fonts, Ocaml, Haskell
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 9 Gwyn Ciesla 2020-03-04 17:49:03 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-anacrolix-log

Comment 10 Fedora Update System 2020-03-05 19:27:11 UTC
FEDORA-2020-6470cf4285 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6470cf4285

Comment 11 Fedora Update System 2020-03-05 19:49:56 UTC
FEDORA-2020-fde6cb287a has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-fde6cb287a

Comment 12 Fedora Update System 2020-03-06 03:39:19 UTC
golang-github-anacrolix-log-0.6.0-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-fde6cb287a

Comment 13 Fedora Update System 2020-03-06 20:23:11 UTC
golang-github-anacrolix-log-0.6.0-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6470cf4285

Comment 14 Fedora Update System 2020-03-14 00:36:53 UTC
golang-github-anacrolix-log-0.6.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2020-03-16 20:34:20 UTC
golang-github-anacrolix-log-0.6.0-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.