Bug 609320 - Review Request: grimmer-proggy-tinysz-fonts - Proggy Tiny with slashed zero programming font
Summary: Review Request: grimmer-proggy-tinysz-fonts - Proggy Tiny with slashed zero p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-29 23:56 UTC by Bojan Smojver
Modified: 2010-12-26 06:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-26 06:55:56 UTC
Type: ---
Embargoed:
sanjay.ankur: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Bojan Smojver 2010-06-29 23:56:41 UTC
Spec URL: ftp://ftp.rexursive.com/pub/grimmer-proggy-tinysz-fonts/grimmer-proggy-tinysz-fonts.spec
SRPM URL: ftp://ftp.rexursive.com/pub/grimmer-proggy-tinysz-fonts/grimmer-proggy-tinysz-fonts-1.0-1.fc13.src.rpm
Description: The proggy fonts are a set of fixed-width screen fonts that are designed for code listings. Proggy Tiny Slashed Zero is identical to Proggy Tiny but has a slashed zero instead of a dot.

Comment 1 Ankur Sinha (FranciscoD) 2010-06-30 05:40:25 UTC
Review:

+ OK
- NA
x issue


+ Package meets naming and packaging guidelines
+ Spec file matches base package name.
x Spec has consistant macro usage.
+ Meets Packaging Guidelines.
+ License
+ License field in spec matches
+ License file included in package
+ Spec in American English
+ Spec is legible.
+ Sources match upstream md5sum:

- Package needs ExcludeArch
+ BuildRequires correct
- Spec handles locales/find_lang
- Package is relocatable and has a reason to be.
+ Package has %defattr and permissions on files is good.
+ Package has a correct %clean section.
+ Package has correct buildroot
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ Package is code or permissible content.
- Doc subpackage needed/used.
+ Packages %doc files don't affect runtime.

- Headers/static libs in -devel subpackage.
- Spec has needed ldconfig in post and postun
- .pc files in -devel subpackage/requires pkgconfig
- .so files in -devel subpackage.
- -devel package Requires: %{name} = %{version}-%{release}
- .la files are removed.

- Package is a GUI app and has a .desktop file

- Package compiles and builds on at least one arch.
+ Package has no duplicate files in %files.
+ Package doesn't own any directories other packages own.
+ Package owns all the directories it creates.
x No rpmlint output.

SHOULD Items:

+ Should build in mock.
+ Should build on all supported archs
+ Should function as described.
- Should have sane scriptlets.
- Should have subpackages require base package with fully versioned depend.
+ Should have dist tag
+ Should package latest version
- check for outstanding bugs on package. (For core merge reviews)

Issues:

1. Please use either $RPM_BUILD_ROOT or %{buildroot}.
2. I see that the font spec template at http://fedoraproject.org/wiki/Simple_fonts_spec_template

has an added Requires : fontpackages-filesystem

3. Why the additional BuildRequires on 
BuildRequires: xorg-x11-font-utils ??

4. rpmlint output:

[Ankur@localhost SPECS]$ rpmlint grimmer-proggy-tinysz-fonts.spec ../SRPMS/grimmer-proggy-tinysz-fonts-1.0-1.fc13.src.rpm ../RPMS/noarch/grimmer-proggy-tinysz-fonts-1.0-1.fc13.noarch.rpm
grimmer-proggy-tinysz-fonts.spec:24: W: setup-not-quiet
grimmer-proggy-tinysz-fonts.spec: W: invalid-url Source0: ProggyTinySZ.ttf.zip
grimmer-proggy-tinysz-fonts.src:24: W: setup-not-quiet
grimmer-proggy-tinysz-fonts.src: W: invalid-url Source0: ProggyTinySZ.ttf.zip
grimmer-proggy-tinysz-fonts.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/grimmer-proggy-tinysz-fonts-1.0/Licence.txt
2 packages and 1 specfiles checked; 0 errors, 5 warnings.

- use %setup -q
- have a look at 

https://fedoraproject.org/wiki/Common_Rpmlint_issues#wrong-file-end-of-line-encoding

5. change %_font_pkg -f %{fontconf} * to %_font_pkg -f %{fontconf} *.ttf ? (Its just a little more specific)

Minor issues, apart from this, looks good. Please make the required changes and I'll approve the package. 

regards,
Ankur

Comment 2 Ankur Sinha (FranciscoD) 2010-06-30 05:45:34 UTC
Additionally:

- rm -rf %{buildroot} in %install is no longer required

- %clean is not required anymore either

https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean

https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag

Ankur

Comment 3 Bojan Smojver 2010-06-30 06:45:45 UTC
Thank you kindly for a quick review. I will fix and post URL to the new SPEC file.

PS. Most of the stuff I just copied from ucs-miscfixed-fonts spec, so that's why it's there :-)

Comment 4 Bojan Smojver 2010-06-30 07:29:40 UTC
Should be all here:

ftp://ftp.rexursive.com/pub/grimmer-proggy-tinysz-fonts/grimmer-proggy-tinysz-fonts.spec
ftp://ftp.rexursive.com/pub/grimmer-proggy-tinysz-fonts/grimmer-proggy-tinysz-fonts-1.0-2.fc13.src.rpm

rpmlint output:

[bojan@shrek SPECS]$ rpmlint grimmer-proggy-tinysz-fonts.spec
grimmer-proggy-tinysz-fonts.spec: W: no-cleaning-of-buildroot %install
grimmer-proggy-tinysz-fonts.spec: W: no-cleaning-of-buildroot %clean
0 packages and 1 specfiles checked; 0 errors, 2 warnings.

But I guess that should be OK, because it's not longer required. I'm thinking,
maybe we should keep that after all - in case we branch to EPEL etc. It can't
hurt, right?

Comment 5 Ankur Sinha (FranciscoD) 2010-06-30 07:52:32 UTC
Hi,

(In reply to comment #4)
> Should be all here:
> 
> ftp://ftp.rexursive.com/pub/grimmer-proggy-tinysz-fonts/grimmer-proggy-tinysz-fonts.spec
> ftp://ftp.rexursive.com/pub/grimmer-proggy-tinysz-fonts/grimmer-proggy-tinysz-fonts-1.0-2.fc13.src.rpm
> 
> rpmlint output:
> 
> [bojan@shrek SPECS]$ rpmlint grimmer-proggy-tinysz-fonts.spec
> grimmer-proggy-tinysz-fonts.spec: W: no-cleaning-of-buildroot %install
> grimmer-proggy-tinysz-fonts.spec: W: no-cleaning-of-buildroot %clean
> 0 packages and 1 specfiles checked; 0 errors, 2 warnings.
> 
> But I guess that should be OK, because it's not longer required. I'm thinking,
> maybe we should keep that after all - in case we branch to EPEL etc. It can't
> hurt, right?    

Yeah, it will simply be ignored. 

Issues are fixed. You're good to go. 

XXXX APPROVED XXXX

Please continue from 
http://fedoraproject.org/wiki/Font_package_lifecycle#3.a

regards,
Ankur

Comment 6 Bojan Smojver 2010-06-30 07:55:49 UTC
OK, thank you very much.

I'll put back the rm -rf %{buildroot} in -3 and use that, so that we can easily branch backwards, if required.

Comment 7 Bojan Smojver 2010-06-30 08:21:14 UTC
New Package CVS Request
=======================
Package Name: grimmer-proggy-tinysz-fonts
Short Description: Proggy Tiny with slashed zero programming font
Owners: bojan
Branches: F-13 F-12
InitialCC:

Comment 8 Jason Tibbitts 2010-07-01 04:55:41 UTC
CVS done (by process-cvs-requests.py).


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