Bug 609320
| Summary: | Review Request: grimmer-proggy-tinysz-fonts - Proggy Tiny with slashed zero programming font | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bojan Smojver <bojan> |
| Component: | Package Review | Assignee: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | fedora-package-review, notting, sanjay.ankur |
| Target Milestone: | --- | Flags: | sanjay.ankur:
fedora-review+
j: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-26 06:55:56 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
Bojan Smojver
2010-06-29 23:56:41 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
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
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 :-) 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? 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 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.
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: CVS done (by process-cvs-requests.py). |