Bug 2165448 - Review Request: google-noto-sans-cjk-fonts - Google Noto Sans CJK Fonts
Summary: Review Request: google-noto-sans-cjk-fonts - Google Noto Sans CJK Fonts
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-30 05:00 UTC by Peng Wu
Modified: 2023-02-10 03:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-02-10 03:33:35 UTC
Type: ---
Embargoed:
panemade: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 5359122 to 5402185 (2.63 KB, patch)
2023-02-02 05:48 UTC, Jakub Kadlčík
no flags Details | Diff

Description Peng Wu 2023-01-30 05:00:20 UTC
Spec URL: https://pwu.fedorapeople.org/fonts/noto-cjk-v3/google-noto-sans-cjk-fonts.spec
SRPM URL: https://pwu.fedorapeople.org/fonts/noto-cjk-v3/google-noto-sans-cjk-fonts-20220320-1.fc37.src.rpm
Description: Google Noto Sans CJK Fonts
Fedora Account System Username:pwu

Comment 2 Parag AN(पराग) 2023-02-01 00:31:12 UTC
You can drop below lines which are not needed in this SPEC file as there is no doc files to install.
%global fontdocs          *.txt
%global fontdocsex        %{fontlicenses}

Use %autosetup instead of just %setup in SPEC file

What is the source URL to download the Source0 archive? if possible can it be added there?

Comment 3 Akira TAGOH 2023-02-01 06:00:08 UTC
Why do you not follow the upstream versioning to package it? that would cause a confusion.

Comment 4 Parag AN(पराग) 2023-02-01 06:05:09 UTC
Found it https://github.com/googlefonts/noto-cjk/releases/download/Sans2.004/03_NotoSansCJK-OTC.zip
Please use this URL.

Also as upstream has started using version numbers, good to use that, so
Version: 2.004
With this change, you need to add obsoletes and provides to SPEC file and drop conflicts:

I think this package should provide 2 subpackages per family
google-noto-sans-cjk-fonts
google-noto-sans-mono-cjk-fonts

Comment 5 Parag AN(पराग) 2023-02-01 09:27:05 UTC
I just realized upstream archive provides ttc files which can contain multiple families. So in this case no need to have subpackages. You can continue using current spec.
Also, Conflicts is needed so add a comment why it needs to be there in SPEC file.

Comment 6 Peng Wu 2023-02-02 05:41:08 UTC
Okay, I just updated the package to follow the upstream versioning, and added one comment in the spec file.

Spec URL: https://pwu.fedorapeople.org/fonts/noto-cjk-v3/google-noto-sans-cjk-fonts.spec
SRPM URL: https://pwu.fedorapeople.org/fonts/noto-cjk-v3/google-noto-sans-cjk-fonts-2.004-1.fc37.src.rpm

Comment 7 Jakub Kadlčík 2023-02-02 05:48:27 UTC
Created attachment 1941709 [details]
The .spec file difference from Copr build 5359122 to 5402185

Comment 9 Parag AN(पराग) 2023-02-03 05:58:30 UTC
This package looks good now. Will approve along with review bug 2165453

Comment 10 Parag AN(पराग) 2023-02-08 06:25:06 UTC
APPROVED.

Comment 11 Fedora Admin user for bugzilla script actions 2023-02-08 06:55:36 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/google-noto-sans-cjk-fonts

Comment 12 Peng Wu 2023-02-09 06:41:42 UTC
Thanks for the review!


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