Bug 890819

Summary: Review Request: perl-Regexp-Grammars - Add grammatical parsing features to Perl 5.10 regexps
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: Package ReviewAssignee: Michael S. <misc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: misc, notting, package-review, psabata
Target Milestone: ---Flags: misc: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-30 16:06:38 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:
Bug Depends On:    
Bug Blocks: 876411    

Description Miro Hrončok 2012-12-30 13:21:21 UTC
Spec URL: https://raw.github.com/hroncok/SPECS/master/perl-Regexp-Grammars.spec
SRPM URL: https://github.com/downloads/hroncok/SPECS/perl-Regexp-Grammars-1.021-3.fc17.src.rpm

Description:
This module adds a small number of new regexp constructs that can be used
within Perl 5.10 patterns to implement complete recursive-descent parsing.

Fedora Account System Username: churchyard

Comment 1 Michael S. 2012-12-30 15:51:38 UTC
Hi,

could the demo directory be added in the documentation ? I think that could be helpful for someone wanting to use this.

Also, same stuff about license in the package to ask upstream :)

Otherwise, the package is good, none of theses 2 points is blocking


Package Review
==============

Key:
[x] = Pass
[!] = Fail
[-] = Not applicable
[?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Package complies to the Packaging Guidelines
[-]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %doc.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "Unknown or generated". 1 files have unknown license. Detailed output of
     licensecheck in /home/misc/checkout/git/FedoraReview/890819-perl-Regexp-
     Grammars/licensecheck.txt
[x]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: If the package is under multiple licenses, the licensing breakdown must
     be documented in the spec.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 20480 bytes in 2 files.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.

Perl:
[x]: Package contains the mandatory BuildRequires and Requires:.
[x]: CPAN urls should be non-versioned.

===== SHOULD items =====

Generic:
[!]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define.

===== EXTRA items =====

Generic:
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: perl-Regexp-Grammars-1.021-3.fc18.noarch.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint perl-Regexp-Grammars
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
# echo 'rpmlint-done:'



Requires
--------
perl-Regexp-Grammars (rpmlib, GLIBC filtered):
    perl
    perl(:MODULE_COMPAT_5.16.2)
    perl(Data::Dumper)
    perl(Scalar::Util)
    perl(mro)
    perl(overload)
    perl(strict)
    perl(warnings)



Provides
--------
perl-Regexp-Grammars:
    perl(Regexp)
    perl(Regexp::Grammars)
    perl(Regexp::Grammars::Precursor)
    perl-Regexp-Grammars



MD5-sum check
-------------
http://www.cpan.org/authors/id/D/DC/DCONWAY/Regexp-Grammars-1.021.tar.gz :
  CHECKSUM(SHA256) this package     : d2f9bdbc7da37e787077f7abfdd4217db8b5e0a838a3f4ff8dfe423840b2417a
  CHECKSUM(SHA256) upstream package : d2f9bdbc7da37e787077f7abfdd4217db8b5e0a838a3f4ff8dfe423840b2417a


Generated by fedora-review 0.2.0 (Unknown) last change: Unknown
Buildroot used: fedora-18-x86_64
Command line :./try-fedora-review -m fedora-18-x86_64 -b 890819

Comment 2 Michael S. 2012-12-30 16:06:38 UTC
Oups, just seen this package is already in the fedora collection :
https://admin.fedoraproject.org/pkgdb/acls/name/perl-Regexp-Grammars

IIRC, I coded something in fedora review to avoid that.

I closed the review as NOTABUG, but maybe this should be a duplicate ?

Comment 3 Miro Hrončok 2012-12-30 16:25:52 UTC
Oh, when I started working on this, it wasn't there yet. Thanks for the review anyway.

Comment 4 Petr Šabata 2013-01-02 09:51:00 UTC
(In reply to comment #2)
> Oups, just seen this package is already in the fedora collection :
> https://admin.fedoraproject.org/pkgdb/acls/name/perl-Regexp-Grammars
> 
> IIRC, I coded something in fedora review to avoid that.
> 
> I closed the review as NOTABUG, but maybe this should be a duplicate ?

I believe a DUPLICATE is a better option here; it makes it clear just by looking at the status.

*** This bug has been marked as a duplicate of bug 851734 ***