Bug 1875972 - Review Request: bygfoot - Football management game
Summary: Review Request: bygfoot - Football management game
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-04 18:45 UTC by Tom Stellard
Modified: 2022-07-10 07:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-10 07:51:12 UTC
Type: ---
Embargoed:
hobbes1069: fedora-review+


Attachments (Terms of Use)

Description Tom Stellard 2020-09-04 18:45:23 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/tstellar/bygfoot/fedora-rawhide-x86_64/01649379-bygfoot/bygfoot.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/tstellar/bygfoot/fedora-rawhide-x86_64/01649379-bygfoot/bygfoot-2.3.2-22.fc34.src.rpm
Description: Bygfoot is a small and simple graphical football (a.k.a. soccer) manager game featuring many international leagues and cups. You manage a team from one such league: you form the team, buy and sell players, get promoted or relegated and of course try to be successful.
Fedora Account System Username: tstellar

This is currently a retired package that needs to be re-reviewed since it was retired for more than 8 weeks.

Comment 1 Richard Shaw 2020-09-05 12:03:31 UTC
Drive by comment, COPYING needs to move to %license. Looks simple enough for me to review while camping.

Comment 2 Richard Shaw 2020-09-05 12:53:50 UTC
Since %_lto_cflags is only defined in Rawhide (and f33?), the adjusting of the flags probably needs some sort of conditional around it, something like:

%if %{?_lto_cflags}
...
%endif

Comment 3 Tom Stellard 2020-09-16 01:44:14 UTC
(In reply to Richard Shaw from comment #2)
> Since %_lto_cflags is only defined in Rawhide (and f33?), the adjusting of
> the flags probably needs some sort of conditional around it, something like:
> 
> %if %{?_lto_cflags}
> ...
> %endif

Can I also just add ? to the _lto_cflags reference, like this:

%global _lto_cflags %(echo %{?_lto_cflags} | sed 's/-ffat-lto-objects//')

I think this ends up making the whole thing a nop.

Comment 5 Richard Shaw 2021-03-16 12:02:57 UTC
FYI, thanks to fedora-review check, it looks like this package was recently retired:

https://fedoraproject.org/wiki/Orphaned_package_that_need_new_maintainers#Claiming_Ownership_of_a_Retired_Package

You can file a releng ticket to unretire it, depending on how long it's been retired it may need a re-review so we can keep this open for now.

FYI, the Source0 URL doesn't work, although it looks the same as in the retired spec file.

Comment 6 Tom Stellard 2021-03-17 03:12:00 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/tstellar/bygfoot/fedora-rawhide-x86_64/02078432-bygfoot/bygfoot.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/tstellar/bygfoot/fedora-rawhide-x86_64/02078432-bygfoot/bygfoot-2.3.2-22.fc35.src.rpm

I've updated the Source0 URL.  Based on the git history, it looks like the package has been retired for 10 months, so it needs to be re-reviewed.

Comment 7 Richard Shaw 2021-03-19 13:24:09 UTC
I should be able to finish the review this weekend. Today is a crazy work day.

Comment 8 Tom Stellard 2021-07-30 17:54:47 UTC
@hobbes1069 Have you had a chance to look at this yet?

Comment 9 Richard Shaw 2021-07-31 13:13:56 UTC
Wow sorry! Totally fell off my radar. I'm on vacation for the next few days but I'll take a look sometime this week. I'll leave the needinfo on as a reminder.

Comment 10 Richard Shaw 2021-08-14 04:00:39 UTC
Still on my radar... The OpenEXR/Imath disaster is slowly coming to a close.

Comment 11 Richard Shaw 2021-08-17 12:42:51 UTC
Package Review
==============

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


Issues:
=======
It wasn't done this way in the past but theoretically all the stuff in /usr/share should be in a noarch -data package. I unpacked the RPM and see:

$ du -h -d 1
836K	./bin
4.0K	./lib
8.6M	./share

Since this wasn't enforced in the past I won't enforce it now but it would still be a good idea.


===== 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]: 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 General Public License, Version
     2", "[generated file]", "FSF Unlimited License [generated file]", "GNU
     General Public License v2.0 or later [generated file]", "MIT License
     [generated file]", "GNU General Public License v2.0 or later", "*No
     copyright* [generated file]". 1156 files have unknown license.
     Detailed output of licensecheck in /home/build/fedora-
     review/1875972-bygfoot/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.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[-]: The spec file handles locales properly.
[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.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 40960 bytes in 5 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 must own all directories that it creates.
[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]: 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]: 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

===== 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.
[-]: 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.
[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]: 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 7424000 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: bygfoot-2.3.2-22.fc36.x86_64.rpm
          bygfoot-debuginfo-2.3.2-22.fc36.x86_64.rpm
          bygfoot-debugsource-2.3.2-22.fc36.x86_64.rpm
          bygfoot-2.3.2-22.fc36.src.rpm
bygfoot.x86_64: E: zero-length /usr/share/bygfoot/support_files/definitions/north_america/mexico/cup_apertura.xml
bygfoot.x86_64: E: incorrect-fsf-address /usr/share/licenses/bygfoot/COPYING
bygfoot.x86_64: W: no-manual-page-for-binary bygfoot
4 packages and 0 specfiles checked; 2 errors, 1 warnings.




Rpmlint (debuginfo)
-------------------
Checking: bygfoot-debuginfo-2.3.2-22.fc36.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Source checksums
----------------
https://sourceforge.net/projects/bygfoot/files/bygfoot-unstable/bygfoot-2.3.2/bygfoot-2.3.2.tar.bz2 :
  CHECKSUM(SHA256) this package     : 2e7f300ff33d45406cae3fa9e846fd5abcccbef500787a690ec8eccd020a224d
  CHECKSUM(SHA256) upstream package : 2e7f300ff33d45406cae3fa9e846fd5abcccbef500787a690ec8eccd020a224d


Requires
--------
bygfoot (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libgdk-x11-2.0.so.0()(64bit)
    libgdk_pixbuf-2.0.so.0()(64bit)
    libglib-2.0.so.0()(64bit)
    libgobject-2.0.so.0()(64bit)
    libgtk-x11-2.0.so.0()(64bit)
    libm.so.6()(64bit)
    rtld(GNU_HASH)

bygfoot-debuginfo (rpmlib, GLIBC filtered):

bygfoot-debugsource (rpmlib, GLIBC filtered):



Provides
--------
bygfoot:
    application()
    application(bygfoot.desktop)
    bygfoot
    bygfoot(x86-64)

bygfoot-debuginfo:
    bygfoot-debuginfo
    bygfoot-debuginfo(x86-64)
    debuginfo(build-id)

bygfoot-debugsource:
    bygfoot-debugsource
    bygfoot-debugsource(x86-64)



Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 1875972
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, C/C++, Shell-api
Disabled plugins: PHP, fonts, Python, Haskell, Java, Perl, SugarActivity, Ocaml, R
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

*** APPROVED ***

Comment 12 Package Review 2022-07-10 07:51:12 UTC
Package is now in repositories, closing review.


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