Bug 1913980 - Review Request: iso-country-flags - Country flags images
Summary: Review Request: iso-country-flags - Country flags images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-07 22:10 UTC by Eugene A. Pivnev
Modified: 2022-01-16 02:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-01-07 23:12:10 UTC
Type: ---
Embargoed:
eclipseo: fedora-review+


Attachments (Terms of Use)

Description Eugene A. Pivnev 2021-01-07 22:10:20 UTC
Spec URL: https://tieugene.fedorapeople.org/rpms/iso-flags-svg/iso-flags-svg.spec
SRPM URL: https://tieugene.fedorapeople.org/rpms/iso-flags-svg/iso-flags-svg-0-1.20180118.fc33.src.rpm
Description: SVG country flags named according to ISO 3166-1 alpha-2
Fedora Account System Username: tieugene

Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=59143768
Note: LXQT panel keyboard indicator ready for this by design.

Comment 1 Ian McInerney 2021-01-14 17:30:20 UTC
This isn't a review but an observation.

The linked spec file says the license is public domain, but the GitHub readme [1] states that "Most of the country flag icons are licensed under the Public Domain." The license for the spec file MUST cover the entire package, so upstream needs to clarify what license each SVG is under and provide a firm license statement.

[1] https://github.com/joielechong/iso-country-flags-svg-collection#related-projects--todo--license

Comment 2 Eugene A. Pivnev 2021-01-28 12:01:46 UTC
(In reply to Ian McInerney from comment #1)
> This isn't a review but an observation.
> 
> The linked spec file says the license is public domain, but the GitHub
> readme [1] states that "Most of the country flag icons are licensed under
> the Public Domain." The license for the spec file MUST cover the entire
> package, so upstream needs to clarify what license each SVG is under and
> provide a firm license statement.
> 
> [1]
> https://github.com/joielechong/iso-country-flags-svg-collection#related-
> projects--todo--license

They say country flags cannot be copyrighted: https://github.com/hampusborgos/country-flags/issues/90

Comment 3 Eugene A. Pivnev 2021-01-30 16:00:13 UTC
(In reply to Ian McInerney from comment #1)
> This isn't a review but an observation.
> 
> The linked spec file says the license is public domain, but the GitHub
> readme [1] states that "Most of the country flag icons are licensed under
> the Public Domain."

Thank you for advise, I found another flags source with strictly defined license (MIT).
May be it will be possible to add svg icons in addition to bitmaps (good candidate is https://github.com/linssen/country-flag-icons), but licensing is too complex question for me.

Spec URL: https://tieugene.fedorapeople.org/rpms/iso-country-flags/iso-country-flags.spec
SRPM URL: https://tieugene.fedorapeople.org/rpms/iso-country-flags/iso-country-flags-0-1.20170202.fc33.src.rpm
Koji builds:
EL7: http://koji.fedoraproject.org/koji/taskinfo?taskID=60901074
EL8: http://koji.fedoraproject.org/koji/taskinfo?taskID=60901543
F32: http://koji.fedoraproject.org/koji/taskinfo?taskID=60901706
F33: http://koji.fedoraproject.org/koji/taskinfo?taskID=60902003
F34: http://koji.fedoraproject.org/koji/taskinfo?taskID=60902204

Comment 4 Robert-André Mauchin 🐧 2021-03-09 11:45:57 UTC
 - Typo here:

%global gitowner gosquaredg

Should be

%global gitowner gosquared

 - You need to add the shortcommit: and release should start at 0.1 for prelease:

Release:	0.1.20170202git%{shortcommit}%{?dist}

[…]

* Sat Jan 30 2021 TI_Eugene <ti.eugene> 0-0.1.20170202git1d382a9

 - Should be .tar.gz here:

Source0:	https://github.com/%{gitowner}/%{gitproject}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz



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.
[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", "Expat License". 8340 files have
     unknown license. Detailed output of licensecheck in
     /home/bob/packaging/review/iso-country-flags/review-iso-country-
     flags/licensecheck.txt
[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.
[-]: 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.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 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: No rpmlint messages.
[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).
[?]: 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]: 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 all installed packages.
     Note: No rpmlint messages.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: iso-country-flags-0-1.20170202.fc35.noarch.rpm
          iso-country-flags-0-1.20170202.fc35.src.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.

Comment 5 Eugene A. Pivnev 2022-01-07 17:30:21 UTC
(In reply to Robert-André Mauchin 🐧 from comment #4)
>  - Typo here:
> 
> %global gitowner gosquaredg
> 
> Should be
> 
> %global gitowner gosquared

Fixed.

>  - You need to add the shortcommit: and release should start at 0.1 for
> prelease:
> 
> Release:	0.1.20170202git%{shortcommit}%{?dist}

Fixed.

> * Sat Jan 30 2021 TI_Eugene <ti.eugene> 0-0.1.20170202git1d382a9

Fixed.

>  - Should be .tar.gz here:
> 
> Source0:
> https://github.com/%{gitowner}/%{gitproject}/archive/%{commit}/%{name}-
> %{shortcommit}.tar.gz

Fixed.

Spec: https://tieugene.fedorapeople.org/rpms/iso-country-flags/iso-country-flags.spec
SRPM: https://tieugene.fedorapeople.org/rpms/iso-country-flags/iso-country-flags-0-0.1.20170202git1d382a9.fc35.src.rpm
Koji builds (just oldest and newest):
EL7: https://koji.fedoraproject.org/koji/taskinfo?taskID=80961829
F36: https://koji.fedoraproject.org/koji/taskinfo?taskID=80961896

Comment 6 Robert-André Mauchin 🐧 2022-01-07 20:59:26 UTC
Package approved.

Comment 7 Gwyn Ciesla 2022-01-07 22:01:08 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/iso-country-flags

Comment 8 Fedora Update System 2022-01-07 22:41:51 UTC
FEDORA-2022-d5a2037212 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d5a2037212

Comment 9 Fedora Update System 2022-01-07 22:52:12 UTC
FEDORA-2022-7f244ded1d has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7f244ded1d

Comment 10 Fedora Update System 2022-01-07 23:01:21 UTC
FEDORA-EPEL-2022-58df619f4c has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-58df619f4c

Comment 11 Fedora Update System 2022-01-07 23:08:21 UTC
FEDORA-EPEL-2022-0fa6370195 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-0fa6370195

Comment 12 Fedora Update System 2022-01-08 01:09:56 UTC
FEDORA-2022-7f244ded1d has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-7f244ded1d \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7f244ded1d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2022-01-08 01:41:50 UTC
FEDORA-2022-d5a2037212 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-d5a2037212 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d5a2037212

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2022-01-08 01:42:08 UTC
FEDORA-EPEL-2022-0fa6370195 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-0fa6370195

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2022-01-08 02:04:47 UTC
FEDORA-EPEL-2022-58df619f4c has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-58df619f4c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2022-01-16 00:49:35 UTC
FEDORA-EPEL-2022-0fa6370195 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2022-01-16 00:58:06 UTC
FEDORA-2022-7f244ded1d has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2022-01-16 01:18:39 UTC
FEDORA-2022-d5a2037212 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2022-01-16 02:10:12 UTC
FEDORA-EPEL-2022-58df619f4c has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


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