[Bug 783414] Review Request: python-rdfextras - Python library for working with RDF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=783414

--- Comment #2 from Haïkel Guémar <karlthered@xxxxxxxxx> 2012-01-20 16:03:47 EST ---
Package Review
==============

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



==== Generic ====
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[!]: MUST Buildroot is not present
     Note: Buildroot is not needed unless packager plans to package for EPEL5
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean would be needed if support for EPEL is required
[x]: MUST Sources contain only permissible code or content.
[!]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: defattr(....) present in %files section. This is OK if packaging
     for EPEL5. Otherwise not needed
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
[x]: MUST 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]: MUST License field in the package spec file matches the actual license.
[!]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
     Note: Using both %{buildroot} and $RPM_BUILD_ROOT
[x]: MUST Package meets the Packaging Guidelines.
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generates any conflict.
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[x]: MUST Requires correct, justified where necessary.
[!]: MUST Rpmlint output is silent.

rpmlint python-rdfextras-0.1-1.fc17.noarch.rpm

python-rdfextras.noarch: W: spelling-error %description -l en_US rdflib ->
rifling
python-rdfextras.noarch: W: spelling-error %description -l en_US commandline ->
command line, command-line, commandment
python-rdfextras.noarch: W: spelling-error %description -l en_US unmaintained
-> maintained, mountaineered, untainted
python-rdfextras.noarch: W: spelling-error %description -l en_US utils -> tills
python-rdfextras.noarch: W: spelling-error %description -l en_US util -> til,
until, u til
python-rdfextras.noarch: W: no-documentation
python-rdfextras.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/rdfextras/tools/sparqler.py 0644L /usr/bin/env
python-rdfextras.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/rdfextras/tools/rdfpipe.py 0644L /usr/bin/env
python-rdfextras.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/rdfextras/sparql/parser.py 0644L /usr/bin/env
python-rdfextras.noarch: W: no-manual-page-for-binary rdfpipe
1 packages and 0 specfiles checked; 3 errors, 7 warnings.


rpmlint python-rdfextras-0.1-1.fc17.src.rpm

python-rdfextras.src: W: spelling-error %description -l en_US rdflib -> rifling
python-rdfextras.src: W: spelling-error %description -l en_US commandline ->
command line, command-line, commandment
python-rdfextras.src: W: spelling-error %description -l en_US unmaintained ->
maintained, mountaineered, untainted
python-rdfextras.src: W: spelling-error %description -l en_US utils -> tills
python-rdfextras.src: W: spelling-error %description -l en_US util -> til,
until, u til
1 packages and 0 specfiles checked; 0 errors, 5 warnings.


[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
/home/builder/783414/rdfextras-0.1.tar.gz :
  MD5SUM this package     : 8bce3ae5cf7a1dbc42ebddadebd477a9
  MD5SUM upstream package : 8bce3ae5cf7a1dbc42ebddadebd477a9

[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: MUST Package contains a SysV-style init script if in need of one.
[x]: MUST File names are valid UTF-8.
[x]: SHOULD Reviewer should test that the package builds in mock.
[!]: SHOULD 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]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[x]: SHOULD Package functions as described.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[x]: SHOULD SourceX is a working URL.
[x]: SHOULD Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[-]: SHOULD %check is present and all tests pass.
[x]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[x]: SHOULD Spec use %global instead of %define.

Issues:
[!]: MUST Buildroot is not present
     Note: Buildroot is not needed unless packager plans to package for EPEL5
[!]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: defattr(....) present in %files section. This is OK if packaging
     for EPEL5. Otherwise not needed
[!]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
     Note: Using both %{buildroot} and $RPM_BUILD_ROOT
[!]: MUST Rpmlint output is silent.

rpmlint python-rdfextras-0.1-1.fc17.noarch.rpm

python-rdfextras.noarch: W: spelling-error %description -l en_US rdflib ->
rifling
python-rdfextras.noarch: W: spelling-error %description -l en_US commandline ->
command line, command-line, commandment
python-rdfextras.noarch: W: spelling-error %description -l en_US unmaintained
-> maintained, mountaineered, untainted
python-rdfextras.noarch: W: spelling-error %description -l en_US utils -> tills
python-rdfextras.noarch: W: spelling-error %description -l en_US util -> til,
until, u til
python-rdfextras.noarch: W: no-documentation
python-rdfextras.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/rdfextras/tools/sparqler.py 0644L /usr/bin/env
python-rdfextras.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/rdfextras/tools/rdfpipe.py 0644L /usr/bin/env
python-rdfextras.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/rdfextras/sparql/parser.py 0644L /usr/bin/env
python-rdfextras.noarch: W: no-manual-page-for-binary rdfpipe
1 packages and 0 specfiles checked; 3 errors, 7 warnings.


rpmlint python-rdfextras-0.1-1.fc17.src.rpm

python-rdfextras.src: W: spelling-error %description -l en_US rdflib -> rifling
python-rdfextras.src: W: spelling-error %description -l en_US commandline ->
command line, command-line, commandment
python-rdfextras.src: W: spelling-error %description -l en_US unmaintained ->
maintained, mountaineered, untainted
python-rdfextras.src: W: spelling-error %description -l en_US utils -> tills
python-rdfextras.src: W: spelling-error %description -l en_US util -> til,
until, u til
1 packages and 0 specfiles checked; 0 errors, 5 warnings.




Generated by fedora-review 0.1.2


Comments:
* licensing: Ok (BSD 2 clauses according upstream website), lacks a LICENSE
file, you should request upstream to include it. Not a blocker (NAB).

* rpmlint is not silent: you should request that upstream includes a man page
for rdfpipe (NAB).
in %install you didn't remove the shebang in all files, i suggest you this
one-liner:
find %{buildroot}%{python_sitelib}/rdfextras -name '*.py' -exec sed -i
'/#!.*python/d' {} \;
=> Blocker

* since you plan to maintain this package on Fedora and EPEL6, you must remove
any reference to BuildRoot or buildroot cleaning.
=> Blocker

* i strongly suggest that you remove the %defattr macros too.

* you should use consistently macros (both $RPM_BUILD_ROOT and %{buildroot}),
anyone is fine.
=> Blocker

Everything else is OK with Fedora general and python specific guidelines.

As soon as you fix the shebang issue in python site-packages, the buildroot
stuff, and the consistent use of macros, i'll approve of this package.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]