Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1135430

Summary: Review Request: python-XStatic-jquery-ui - jquery-ui (XStatic packaging standard)
Product: [Fedora] Fedora Reporter: Matthias Runge <mrunge>
Component: Package ReviewAssignee: Haïkel Guémar <karlthered>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: karlthered, package-review
Target Milestone: ---Flags: karlthered: fedora-review+
petersen: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-XStatic-jquery-ui-1.10.4.1-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-27 10:05:54 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: 1134565    

Description Matthias Runge 2014-08-29 09:52:47 UTC
Spec URL: http://www.matthias-runge.de/fedora/python-XStatic-jquery-ui.spec
SRPM URL: http://www.matthias-runge.de/fedora/python-XStatic-jquery-ui-1.10.4.1-1.fc20.src.rpm
Description: jquery-ui javascript library packaged for
setuptools (easy_install) / pip.

Fedora Account System Username: mrunge

koji scratch-build: http://koji.fedoraproject.org/koji/taskinfo?taskID=7483355

Comment 1 Haïkel Guémar 2014-09-05 15:15:19 UTC
About the python2 macros definitions, since they are specific to EL6, I'd guard them using a conditional:

%if 0%{?rhel} && 0%{?rhel} <= 6
xxxx
%endif


It looks good to me, I'll approve it when it's fixed.

Comment 2 Matthias Runge 2014-09-10 10:40:53 UTC
The package won't be used on rhel6 at all.

Comment 3 Haïkel Guémar 2014-09-15 08:54:07 UTC
As with the other XStatic packages, please request upstream to add the license file.

Since this package complies with Fedora packaging guidelines, I hereby approve it into Fedora Packages Collection. Please submit a SCM request.


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

Legend:
[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.
[-]: 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". 4 files have unknown license. Detailed output of
     licensecheck in /home/haikel/1135430-python-XStatic-jquery-
     ui/licensecheck.txt
[x]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/lib/python2.7/site-packages/xstatic/pkg
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib/python2.7/site-
     packages/xstatic/pkg
[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 uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[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]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[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: There are rpmlint messages (see attachment).
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[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]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[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

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.
[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.
[-]: 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.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[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]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== 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-XStatic-jquery-ui-1.10.4.1-1.fc22.noarch.rpm
          python-XStatic-jquery-ui-1.10.4.1-1.fc22.src.rpm
python-XStatic-jquery-ui.noarch: W: summary-not-capitalized C jquery-ui (XStatic packaging standard)
python-XStatic-jquery-ui.noarch: W: spelling-error %description -l en_US setuptools -> setup tools, setup-tools, footstools
python-XStatic-jquery-ui.noarch: W: invalid-license CCO
python-XStatic-jquery-ui.src: W: summary-not-capitalized C jquery-ui (XStatic packaging standard)
python-XStatic-jquery-ui.src: W: spelling-error %description -l en_US javascript -> java script, java-script, JavaScript
python-XStatic-jquery-ui.src: W: spelling-error %description -l en_US setuptools -> setup tools, setup-tools, footstools
python-XStatic-jquery-ui.src: W: invalid-license CCO
2 packages and 0 specfiles checked; 0 errors, 7 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint python-XStatic-jquery-ui
python-XStatic-jquery-ui.noarch: W: summary-not-capitalized C jquery-ui (XStatic packaging standard)
python-XStatic-jquery-ui.noarch: W: spelling-error %description -l en_US setuptools -> setup tools, setup-tools, footstools
python-XStatic-jquery-ui.noarch: W: invalid-license CCO
1 packages and 0 specfiles checked; 0 errors, 3 warnings.
# echo 'rpmlint-done:'



Requires
--------
python-XStatic-jquery-ui (rpmlib, GLIBC filtered):
    python(abi)
    python-XStatic
    web-assets-filesystem



Provides
--------
python-XStatic-jquery-ui:
    python-XStatic-jquery-ui



Source checksums
----------------
https://pypi.python.org/packages/source/X/XStatic-jquery-ui/XStatic-jquery-ui-1.10.4.1.tar.gz :
  CHECKSUM(SHA256) this package     : e8a1d8c5aa522f01f59e196dbd51c9ccdc50e7855250774dca1c84821da8b747
  CHECKSUM(SHA256) upstream package : e8a1d8c5aa522f01f59e196dbd51c9ccdc50e7855250774dca1c84821da8b747

Comment 4 Matthias Runge 2014-09-16 11:51:05 UTC
Thank you for the review!

New Package SCM Request
=======================
Package Name: python-XStatic-jquery-ui
Short Description: jquery-ui (XStatic packaging standard)
Upstream URL: http://jqueryui.com/
Owners: mrunge
Branches: f20 f21 el7

Comment 5 Jens Petersen 2014-09-17 07:11:28 UTC
Git done (by process-git-requests).

Comment 6 Fedora Update System 2014-09-18 07:28:54 UTC
python-XStatic-jquery-ui-1.10.4.1-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/python-XStatic-jquery-ui-1.10.4.1-1.el7

Comment 7 Fedora Update System 2014-09-18 07:29:35 UTC
python-XStatic-jquery-ui-1.10.4.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-XStatic-jquery-ui-1.10.4.1-1.fc20

Comment 8 Fedora Update System 2014-09-18 07:30:06 UTC
python-XStatic-jquery-ui-1.10.4.1-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-XStatic-jquery-ui-1.10.4.1-1.fc21

Comment 9 Fedora Update System 2014-09-19 09:59:23 UTC
python-XStatic-jquery-ui-1.10.4.1-1.fc20 has been pushed to the Fedora 20 testing repository.

Comment 10 Fedora Update System 2014-09-27 10:05:54 UTC
python-XStatic-jquery-ui-1.10.4.1-1.fc21 has been pushed to the Fedora 21 stable repository.

Comment 11 Fedora Update System 2014-10-09 19:58:27 UTC
python-XStatic-jquery-ui-1.10.4.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository.

Comment 12 Fedora Update System 2014-10-10 16:02:41 UTC
python-XStatic-jquery-ui-1.10.4.1-1.fc20 has been pushed to the Fedora 20 stable repository.