Spec URL: https://pnemade.fedorapeople.org/fedora-work/SPECS/python-fontdump.spec SRPM URL: https://pnemade.fedorapeople.org/fedora-work/SRPMS/python-fontdump-1.2.0-1.fc21.src.rpm Description: Dump the CSS and different formats offonts for Google Fonts Fedora Account System Username: pnemade
This is actually a tool. Spec URL: https://pnemade.fedorapeople.org/fedora-work/SPECS/fontdump.spec SRPM URL: https://pnemade.fedorapeople.org/fedora-work/SRPMS/fontdump-1.2.0-1.fc21.src.rpm
Hi, Can you review this please?
Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated Issues: ======= - Package must include license file. Add a license text and inform upstream about this problem. - This package Requires python-setuptools. - As documentation sum up 1Mb, it'd better go in a -doc subpackage. ===== 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/makerpm/reviews/1146933-fontdump/licensecheck.txt [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. [!]: 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. [!]: 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. [!]: 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 requires other packages for directories it uses. [x]: Package must own all directories that it creates. [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. [-]: 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). [x]: Package functions as described. [x]: 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. [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: fontdump-1.2.0-1.fc22.noarch.rpm fontdump-1.2.0-1.fc22.src.rpm fontdump.noarch: W: no-manual-page-for-binary fontdump 2 packages and 0 specfiles checked; 0 errors, 1 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint fontdump fontdump.noarch: W: no-manual-page-for-binary fontdump 1 packages and 0 specfiles checked; 0 errors, 1 warnings. # echo 'rpmlint-done:' Requires -------- fontdump (rpmlib, GLIBC filtered): /usr/bin/python2 python(abi) Provides -------- fontdump: fontdump Source checksums ---------------- https://pypi.python.org/packages/source/f/fontdump/fontdump-1.2.0.tar.gz : CHECKSUM(SHA256) this package : e51c0c21bae995e680f4fe1fd5a3a894d80de74d9e2fbb7b2f7b47a2f9c9b4ea CHECKSUM(SHA256) upstream package : e51c0c21bae995e680f4fe1fd5a3a894d80de74d9e2fbb7b2f7b47a2f9c9b4ea
(In reply to Eduardo Mayorga from comment #3) > Package Review > ============== > > Legend: > [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated > > > Issues: > ======= > - Package must include license file. Add a license text and inform upstream > about this problem. > > - This package Requires python-setuptools. > > - As documentation sum up 1Mb, it'd better go in a -doc subpackage. > > > ===== 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. I don't see this as a Fail item as source archive does not contain any license file. > [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/makerpm/reviews/1146933-fontdump/licensecheck.txt > [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. > [!]: 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. > [!]: 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. This package only have (kind of generic) PKG-INFO (size 4636 bytes) as a %doc file which many other python packages already included but I have not seen this single file being packaged in -doc subpackage. You sure you want me to add this PKG-INFO in -doc ? > [!]: 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 requires other packages for directories it uses. > [x]: Package must own all directories that it creates. > [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. > [-]: 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. I have filed pull request upstream to package upstrem LICENSE file in future releases. > [!]: Final provides and requires are sane (see attachments). btw, I checked few python packages which do use setuptools but have not seen any "Requires: python-setuptools" written in their spec files. Anyways, I have added this in below updated package srpm. > [x]: Package functions as described. > [x]: 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. I am not sure how I can fix this. Can you help me for this? > [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. > Updated package Spec URL: https://pnemade.fedorapeople.org/fedora-work/SPECS/fontdump.spec SRPM URL: https://pnemade.fedorapeople.org/fedora-work/SRPMS/fontdump-1.2.0-2.fc21.src.rpm
update to new upstream release Spec URL: https://pnemade.fedorapeople.org/fedora-work/SPECS/fontdump.spec SRPM URL: https://pnemade.fedorapeople.org/fedora-work/SRPMS/fontdump-1.2.1-1.fc21.src.rpm
Hi Edurado, Can you review this please?
(In reply to Parag from comment #4) > (In reply to Eduardo Mayorga from comment #3) > > [!]: 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. > > I don't see this as a Fail item as source archive does not contain any > license file. Right, the tarball in PyPI does not include the license file, but it's shipped in the tarballs from Github. > > [!]: 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. > > > This package only have (kind of generic) PKG-INFO (size 4636 bytes) as a > %doc file which many other python packages already included but I have not > seen this single file being packaged in -doc subpackage. You sure you want > me to add this PKG-INFO in -doc ? As warned by fedora-review, I marked this item as fails. Ignore this, the note was a false positive. > > [!]: Description and summary sections in the package spec file contains > > translations for supported Non-English languages, if available. > > I am not sure how I can fix this. Can you help me for this? See this example for Spanish: http://pkgs.fedoraproject.org/cgit/hyena.git/tree/hyena.spec#n6 Now it looks good. PACKAGE APPROVED
Thanks for this package review. New Package SCM Request ======================= Package Name: fontdump Short Description: Dump the CSS and different formats of fonts for Google Fonts Upstream URL: https://github.com/glasslion/fontdump Owners: pnemade Branches: f19 f20 f21 el6 epel7
Git done (by process-git-requests).
fontdump-1.2.1-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/fontdump-1.2.1-1.fc21
fontdump-1.2.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fontdump-1.2.1-1.fc20
fontdump-1.2.1-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/fontdump-1.2.1-1.el7
fontdump-1.2.1-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fontdump-1.2.1-1.fc19
fontdump-1.2.1-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fontdump-1.2.1-1.el6
fontdump-1.2.1-1.el6 has been pushed to the Fedora EPEL 6 testing repository.
fontdump-1.2.1-1.fc21 has been pushed to the Fedora 21 stable repository.
fontdump-1.2.1-1.fc20 has been pushed to the Fedora 20 stable repository.
fontdump-1.2.1-1.fc19 has been pushed to the Fedora 19 stable repository.
fontdump-1.2.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository.
fontdump-1.2.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository.