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



--- Comment #9 from William Moreno <williamjmore...@gmail.com> ---
Package Review
==============
1. There is a docs directory than you can build with sphinx and include in a
doc subpackage.

2. You can get the License text from upstream to include it in the spec:
https://bitbucket.org/emptypage/uniseg-python/src/d6436d00e293cb1b4876def8501959da5b6716bd/LICENSE?fileviewer=file-view-default

3. Include the README.txt with %doc also include uniseg/docs/uniseg.ja.html

4. There is a docs directory than you can build with sphinx and include in a
doc subpackage.

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

Generic:
[Pass]: Package is licensed with an open-source compatible license and meets
        other legal requirements as defined in the legal section of Packaging
        Guidelines.
[Na]:   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 %license.
[Pass]: License field in the package spec file matches the actual license.
[NA]:   License file installed when any subpackage combination is installed.
[Pass]: Package contains no bundled libraries without FPC exception.
[Pass]: Changelog in prescribed format.
[Pass]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
        beginning of %install.
[Pass]: Sources contain only permissible code or content.
[NA]:   Package contains desktop file if it is a GUI application.
[NA]:   Development files must be in a -devel package
[NA]:   Package uses nothing in %doc for runtime.
[Pass]: Package consistently uses macros (instead of hard-coded directory
        names).
[Pass]: Package is named according to the Package Naming Guidelines.
[Pass]: Package does not generate any conflict.
[Pass]: Package obeys FHS, except libexecdir and /usr/target.
[Pass]: If the package is a rename of another package, proper Obsoletes and
        Provides are present.
[Pass]: Requires correct, justified where necessary.
[Pass]: Spec file is legible and written in American English.
[Pass]: Package contains systemd file(s) if in need.
[Pass]: Package is not known to require an ExcludeArch tag.
[Pass]: Package complies to the Packaging Guidelines
[Pass]: Package successfully compiles and builds into binary rpms on at least
        one supported primary architecture.
[Pass]: Package installs properly.
[Pass]: Rpmlint is run on all rpms the build produces.
[Pass]: Package requires other packages for directories it uses.
[Pass]: Package must own all directories that it creates.
[Pass]: Package does not own files or directories owned by other packages.
[Pass]: All build dependencies are listed in BuildRequires, except for any
        that are listed in the exceptions section of Packaging Guidelines.
[Pass]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[Pass]: Macros in Summary, %description expandable at SRPM build time.
[Pass]: Dist tag is present.
[Pass]: Package does not contain duplicates in %files.
[Pass]: Permissions on files are set properly.
[Pass]: Package use %makeinstall only when make install DESTDIR=... doesn't
        work.
[Pass]: Package is named using only allowed ASCII characters.
[Pass]: Package does not use a name that already exists.
[Pass]: Package is not relocatable.
[Pass]: Sources used to build the package match the upstream source, as
        provided in the spec URL.
[Pass]: Spec file name must match the spec package %{name}, in the format
        %{name}.spec.
[Pass]: File names are valid UTF-8.
[Pass]: Large documentation must go in a -doc subpackage. 
[Pass]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Python eggs must not download any dependencies during the build
     process.
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep

===== 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.
[ ]: Final provides and requires are sane (see attachments).
[ ]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     python3-uniseg
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[ ]: %check is present and all tests pass.
[ ]: Packages should try to preserve timestamps of original installed
     files.
[ ]: Spec use %global instead of %define unless justified.
     Note: %define requiring justification: %define unicode_version 6.2.0,
     %define srcdir emptypage-uniseg-python-8fed7c16392f
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.

===== EXTRA items =====
Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: python-uniseg-0.7.0-1.fc24.noarch.rpm
          python3-uniseg-0.7.0-1.fc24.noarch.rpm
          python-uniseg-0.7.0-1.fc24.src.rpm
python-uniseg.noarch: W: no-documentation
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/samples/uniwrap.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/graphemeclustertest.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/samples/wxwrapdemo.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/samples/unibreak.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/sentencebreaktest.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/wordbreaktest.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/wraptest.py 644 /usr/bin/env
python-uniseg.noarch: W: no-manual-page-for-binary uniseg-dbpath
python3-uniseg.noarch: W: no-documentation
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/wraptest.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/samples/wxwrapdemo.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/graphemeclustertest.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/wordbreaktest.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/samples/unibreak.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/samples/uniwrap.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/sentencebreaktest.py 644 /usr/bin/env
python3-uniseg.noarch: W: no-manual-page-for-binary uniseg-dbpath
3 packages and 0 specfiles checked; 14 errors, 4 warnings.

Rpmlint (installed packages)
----------------------------
python-uniseg.noarch: W: no-documentation
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/samples/wxwrapdemo.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/graphemeclustertest.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/samples/unibreak.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/sentencebreaktest.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/wraptest.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/wordbreaktest.py 644 /usr/bin/env
python-uniseg.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/uniseg/samples/uniwrap.py 644 /usr/bin/env
python-uniseg.noarch: W: no-manual-page-for-binary uniseg-dbpath
python3-uniseg.noarch: W: no-documentation
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/wordbreaktest.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/sentencebreaktest.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/wraptest.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/samples/uniwrap.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/samples/unibreak.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/samples/wxwrapdemo.py 644 /usr/bin/env
python3-uniseg.noarch: E: non-executable-script
/usr/lib/python3.5/site-packages/uniseg/graphemeclustertest.py 644 /usr/bin/env
python3-uniseg.noarch: W: no-manual-page-for-binary uniseg-dbpath
2 packages and 0 specfiles checked; 14 errors, 4 warnings.

Requires
--------
python-uniseg (rpmlib, GLIBC filtered):
    /usr/bin/python
    python(abi)

python3-uniseg (rpmlib, GLIBC filtered):
    /usr/bin/python
    python(abi)

Provides
--------
python-uniseg:
    python-uniseg

python3-uniseg:
    python3-uniseg

Source checksums
----------------
https://bitbucket.org/emptypage/uniseg-python/get/rel-0.7.0.tar.gz :
  CHECKSUM(SHA256) this package     :
2cd74d67690298438607c6064e78690c7b60152536149dd4886995970051ab1f
  CHECKSUM(SHA256) upstream package :
2cd74d67690298438607c6064e78690c7b60152536149dd4886995970051ab1f

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to