Bug 904328 - Review Request: perl-Config-ApacheFormat - Use Apache format config files
Summary: Review Request: perl-Config-ApacheFormat - Use Apache format config files
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-26 10:02 UTC by Normunds
Modified: 2014-04-03 16:18 UTC (History)
3 users (show)

Fixed In Version: perl-Config-ApacheFormat-1.2-1.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-03 16:18:15 UTC
Type: ---
Embargoed:
psabata: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Normunds 2013-01-26 10:02:02 UTC
Spec URL: http://unibackup.rule.lv/FedoraRPM/perl-Config-ApacheFormat.spec
SRPM URL: http://unibackup.rule.lv/FedoraRPM/perl-Config-ApacheFormat-1.2-1.fc16.src.rpm
Description: This module is designed to parse a configuration file in the same syntax used by
the Apache web server (see http://httpd.apache.org for details). This allows you
to build applications which can be easily managed by experienced Apache admins.
Also, by using this module, you'll benefit from the support for nested blocks
with built-in parameter inheritance. This can greatly reduce the amount or
repeated information in your configuration files.

Fedora Account System Username: normunds

Comment 1 Normunds 2013-01-26 10:19:01 UTC
All packages mentioned below were tested with rpmlint, mock (for i386 arch) and koji (16, 17, 18, 19, rawhide). These are my first packages for Fedora, so if you find something to improve in one of them, don't bother, I'll check other packages for reported problems.

Need sponsor.

bug 903824 perl-Convert-Age.spec
bug 903826 perl-Net-Domain-TLD.spec
bug 903829 perl-Time-Interval.spec
bug 904328 perl-Config-ApacheFormat.spec
bug 904329 perl-Data-Validate-Domain.spec
bug 904330 perl-Data-Validate-IP.spec
bug 904331 perl-Shell.spec

Thanks.

Comment 2 Petr Šabata 2013-01-28 13:29:19 UTC
Taking the review.

Comment 3 Petr Šabata 2013-01-28 14:01:18 UTC
Issues similar to those of other reviews...

Missing build-time dependency:
perl(Carp)

Unneeded runtime dependencies:
perl(Class::MethodMaker)
perl(File::Spec)
perl(Scalar::Util)
perl(Text::Balanced)
Those are automatically picked up by rpmbuild.

Lines 40 and 41 are unneeded.  None of the files has executable bits set.
Line 52 is also unneeded (done by rpmbuild).

And the command macros could be replaced with simple calls.

Comment 4 Normunds 2013-01-28 22:02:31 UTC
Spec file and src package updated.

 * Fixed dependencies.
 * Replaced macros with simple commands.
 * Removed useless lines

New package overwritten in original location.

Comment 5 Petr Šabata 2013-01-29 14:54:05 UTC
Removing FE-NEEDSPONSOR.

Comment 6 Petr Šabata 2013-01-29 15:31:57 UTC
I see you also added the Data::Dumper dependency.  Its only used in the dump() subroutine which is not called from the tests at all.  You may drop this again :)

And again, that %{__perl} macro in MODULE_COMPAT...

Not approving yet.

Comment 7 Normunds 2013-01-31 22:06:25 UTC
Moved Data::Dumper to Requires, removed macro. Please check. 

Thanks.

Comment 8 Petr Šabata 2013-02-01 09:38:40 UTC
(In reply to comment #7)
> Moved Data::Dumper to Requires

Good.  Indeed, it wasn't autodetected in this case.
perl(Class::MethodMaker), on the other hand, is.  Why did you add it now?

I see you've removed your email address from the changelog here too; why?
https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Changelogs

Comment 9 Normunds 2013-02-02 18:57:07 UTC
> [...] wasn't autodetected in this case.
> perl(Class::MethodMaker), on the other hand, is.  Why did you add it now?
Still getting used to rpmbuild behavior. I was assuming that if rpmbuild detects Requirement and requirement is specified in spec file, it will show duplicate Requirement in rpm --requires output.

 * perl(Class::MethodMaker) removed from Requirements.
 * Added obfuscated e-mail.

Thanks.

Comment 10 Petr Šabata 2013-02-04 14:22:59 UTC
(In reply to comment #9)
> > [...] wasn't autodetected in this case.
> > perl(Class::MethodMaker), on the other hand, is.  Why did you add it now?
> Still getting used to rpmbuild behavior. I was assuming that if rpmbuild
> detects Requirement and requirement is specified in spec file, it will show
> duplicate Requirement in rpm --requires output.

It used to be like that.  Not anymore.  The duplicates get filtered out.

>  * perl(Class::MethodMaker) removed from Requirements.

Ok.

>  * Added obfuscated e-mail.

*sigh* If you must... enclose it with qw(< >) at least.

Comment 11 Normunds 2013-02-04 16:24:34 UTC
Spec file/srpm updated, added <> to e-mail.

Comment 12 Normunds 2013-02-05 18:52:26 UTC
Another reviewer suggested to use simpler e-mail obfuscation, so, to be consistent, I changed it for all packages.

Comment 13 Petr Šabata 2013-02-15 11:09:25 UTC
Alright, approving.

Comment 14 Normunds 2013-02-15 12:41:43 UTC
Thanks.

Adding fedora-cvs flag.

Comment 15 Gwyn Ciesla 2013-02-15 13:31:10 UTC
No SCM request found, unsetting flag.

Comment 16 Normunds 2013-02-15 13:54:50 UTC
Sorry for that. Re-trying.

New Package SCM Request
=======================
Package Name: perl-Config-ApacheFormat
Short Description: Use Apache format config files.
Owners: normunds psabata
Branches: f17 f18
InitialCC: perl-sig

Comment 17 Gwyn Ciesla 2013-02-15 13:58:56 UTC
Git done (by process-git-requests).

Comment 18 Fedora Update System 2013-02-15 15:21:16 UTC
perl-Config-ApacheFormat-1.2-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/perl-Config-ApacheFormat-1.2-1.fc17

Comment 19 Fedora Update System 2013-02-15 18:38:31 UTC
perl-Config-ApacheFormat-1.2-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-Config-ApacheFormat-1.2-1.fc18

Comment 20 Fedora Update System 2013-02-26 02:34:30 UTC
perl-Config-ApacheFormat-1.2-1.fc18 has been pushed to the Fedora 18 stable repository.

Comment 21 Fedora Update System 2013-02-26 02:55:12 UTC
perl-Config-ApacheFormat-1.2-1.fc17 has been pushed to the Fedora 17 stable repository.


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