Bug 698576

Summary: Review Request: pal - Command line calendar that displays holidays and events
Product: [Fedora] Fedora Reporter: Martin Cermak <mcermak>
Component: Package ReviewAssignee: Hans de Goede <hdegoede>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anton, fedora-package-review, hdegoede, notting, packages
Target Milestone: ---Flags: hdegoede: fedora-review+
j: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pal-0.4.3-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-25 02:54:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Cermak 2011-04-21 09:38:41 UTC
Spec URL: http://www.physics.muni.cz/~cermak/pal/pal.spec
SRPM URL: http://www.physics.muni.cz/~cermak/pal/pal-0.4.3-1.fc14.src.rpm
Description: 

Hi! I found a useful piece of software that I'd like to get packaged in Fedora. I would appreciate a review so that I can get it into Fedora Extras.

Pal is command-line calendar program that can keep track of events pal is a
command-line calendar program for Unix/Linux systems that can keep track of
events. It has similarities with the Unix cal command, the more complex GNU
gcal program, and the calendar program distributed with the BSDs.

$ rpmlint pal.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.

$ rpmlint pal-0.4.3-1.fc14.src.rpm 
pal.src: W: spelling-error %description -l en_US gcal -> gal, cal, goal
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

$ rpmlint x86_64/pal-0.4.3-1.fc14.x86_64.rpm 
pal.x86_64: W: spelling-error %description -l en_US gcal -> gal, cal, goal
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

Comment 1 Hans de Goede 2011-04-29 12:22:04 UTC
I'll review this (and your other submission), and assuming all goes well sponsor you eventually, removing FE_NEEDSPONSOR blocker.

Comment 2 Hans de Goede 2011-04-29 13:00:10 UTC
Full review done, results:

Good:
=====
- rpmlint checks return:
pal.src: W: spelling-error %description -l en_US gcal -> gal, cal, goal
pal.x86_64: W: spelling-error %description -l en_US gcal -> gal, cal, goal
 These can be ignored
- package meets naming guidelines
- package meets packaging guidelines
- spec file legible, in am. english
- source matches upstream
- package compiles on devel (x86)
- no missing BR
- no unnecessary BR
- locales handled properly
- not relocatable
- owns all directories that it creates
- no duplicate files
- permissions ok
- macro use consistent
- code, not content
- no need for -docs
- nothing in %doc affects runtime
- no need for .desktop file 

Needs work:
===========
- rpmlint checks return:
pal-debuginfo.x86_64: E: empty-debuginfo-package
 This is caused by the Makefile stripping the binary directly after the build,
 you can stop it from doing this by passing DEBUG=1 on the make cmdline.

- The license should be GPLv2+

- Fedora has a standard url for sf.net downloads, please use:
Source0:    http://downloads.sourceforge.net/palcal/pal-%{version}.tgz

- No need to pass: " -n %{name}-%{version}" to %setup, this is the default

- The preferred form for %defattr in fedora is:
%defattr(-,root,root,-)

- The files under %{_datadir}/doc/pal-%{version} should be marked as %doc,
  not gzipped and not include INSTALL. The easiest way is to add the following
  line to %files:
%doc doc/example.css COPYING ChangeLog
  Note traditionally this lines comes directly after the %defattr line

Comment 3 Jason Tibbitts 2011-04-30 18:12:17 UTC
I see no SCM request to process here.  Perhaps the wrong flag was set by mistake?

Comment 4 Hans de Goede 2011-04-30 19:09:02 UTC
(In reply to comment #3)
> I see no SCM request to process here.  Perhaps the wrong flag was set by
> mistake?

My bad, I meant to set fedora-review to ?, same for bug 700833, don't know how this happened...

Comment 5 Golo Fuchert 2011-05-03 19:33:38 UTC
Uhm, could you please read the description again?

"Pal is command-line calendar program that can keep track of events pal is a
command-line calendar program for Unix/Linux systems that can keep track of
events. [...]"

I think this should really be corrected (e.g. remove the first part until "pal is a...").

Comment 6 Hans de Goede 2011-05-04 07:18:53 UTC
(In reply to comment #5)
> Uhm, could you please read the description again?
> 
> "Pal is command-line calendar program that can keep track of events pal is a
> command-line calendar program for Unix/Linux systems that can keep track of
> events. [...]"
> 
> I think this should really be corrected (e.g. remove the first part until "pal
> is a...").

Agreed, Martin you can add that to the needswork list...

Comment 7 Martin Cermak 2011-05-06 08:30:58 UTC
I belive pal-0.4.3-2 contains all the requested fixes:

Spec URL: http://www.physics.muni.cz/~cermak/pal-0.4.3-2/pal.spec
SRPM URL: http://www.physics.muni.cz/~cermak/pal-0.4.3-2/pal-0.4.3-2.fc14.src.rpm

+ rpmlint pal.spec
0 packages and 1 specfiles checked; 0 errors, 0 warnings.

+ rpmlint pal-0.4.3-2.fc14.src.rpm
pal.src: W: spelling-error %description -l en_US gcal -> gal, cal, goal
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

+ rpmlint pal-debuginfo-0.4.3-2.fc14.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

+ rpmlint pal-0.4.3-2.fc14.x86_64.rpm
pal.x86_64: W: spelling-error %description -l en_US gcal -> gal, cal, goal
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

Hans, please, review my changes.

Comment 8 Hans de Goede 2011-05-06 08:39:29 UTC
Looks good now, approved! If you can go and create a fas account (if you've not done so already) and tell me your fas username, I'll add you to the packager group and sponsor you, see:
http://fedoraproject.org/wiki/PackageMaintainers/Join#Get_a_Fedora_Account

Comment 9 Martin Cermak 2011-05-06 13:11:38 UTC
Great, thanks! My fas username is mcermak. What should I do next?

Comment 10 Hans de Goede 2011-05-06 13:26:54 UTC
Hi,

(In reply to comment #9)
> Great, thanks! My fas username is mcermak. What should I do next?

I've just added you to the packager group and sponsored you, the next steps, are described here:
http://fedoraproject.org/wiki/PackageMaintainers/Join

The first thing to do is request creation of git and bugzilla modules for your approved packages, see:
http://fedoraproject.org/wiki/Package_SCM_admin_requests

Note that it may take up to an hour for your newer packager rights to propagate to all servers, and you won't be able to set the fedora-cvs flag until you've those rights.

Regards,

Hans

Comment 11 Martin Cermak 2011-05-07 10:38:19 UTC
New Package SCM Request
=======================
Package Name: pal
Short Description: Command line calendar that displays holidays and events
Owners: mcermak
Branches: f14 f15
InitialCC: jwrdegoede

Comment 12 Jason Tibbitts 2011-05-10 15:36:06 UTC
Git done (by process-git-requests).

Comment 13 Fedora Update System 2011-05-12 14:23:04 UTC
pal-0.4.3-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/pal-0.4.3-2.fc14

Comment 14 Fedora Update System 2011-05-12 14:27:29 UTC
pal-0.4.3-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/pal-0.4.3-2.fc15

Comment 15 Fedora Update System 2011-05-13 23:15:10 UTC
pal-0.4.3-2.fc14 has been pushed to the Fedora 14 testing repository.

Comment 16 Fedora Update System 2011-05-25 02:54:48 UTC
pal-0.4.3-2.fc14 has been pushed to the Fedora 14 stable repository.

Comment 17 Fedora Update System 2011-06-08 23:56:26 UTC
pal-0.4.3-2.fc15 has been pushed to the Fedora 15 stable repository.