Spec URL: https://in.waw.pl/~zbyszek/fedora/python-dijitso.spec SRPM URL: https://in.waw.pl/~zbyszek/fedora/python-dijitso-2019.1.0-1.fc32.src.rpm Description: Distributed just-in-time building of shared libraries. This module was is used internally in the FEniCS framework to provide just in time compilation of C++ code that is generated from Python modules. It is only called from within a C++ library, and thus does not need wrapping in a nice Python interface. Fedora Account System Username: zbyszek
koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=38152500
Thanks---putting it through fedora-review now.
Mock builds fail here: + module load mpi/openmpi-x86_64 + _module_raw load mpi/openmpi-x86_64 + unset _mlshdbg + '[' 0 = 1 ']' + unset _mlre _mlIFS + '[' -n x ']' + _mlIFS=' ' + IFS=' ' + for _mlv in ${MODULES_RUN_QUARANTINE:-} + '[' LD_LIBRARY_PATH = LD_LIBRARY_PATH -a LD_LIBRARY_PATH = LD_LIBRARY_PATH ']' ++ eval 'echo ${LD_LIBRARY_PATH+x}' +++ echo x + '[' -n x ']' ++ eval 'echo ${LD_LIBRARY_PATH}' +++ echo /usr/lib64/mpich/lib + _mlre='LD_LIBRARY_PATH_modquar='\''/usr/lib64/mpich/lib'\'' ' + _mlrv=MODULES_RUNENV_LD_LIBRARY_PATH ++ eval 'echo ${MODULES_RUNENV_LD_LIBRARY_PATH:-}' +++ echo + _mlre='LD_LIBRARY_PATH_modquar='\''/usr/lib64/mpich/lib'\'' LD_LIBRARY_PATH='\'''\'' ' + '[' -n 'LD_LIBRARY_PATH_modquar='\''/usr/lib64/mpich/lib'\'' LD_LIBRARY_PATH='\'''\'' ' ']' ++ eval 'LD_LIBRARY_PATH_modquar='\''/usr/lib64/mpich/lib'\''' 'LD_LIBRARY_PATH='\'''\''' /usr/bin/tclsh /usr/share/Modules/libexec/modulecmd.tcl sh '"$@"' +++ LD_LIBRARY_PATH_modquar=/usr/lib64/mpich/lib +++ LD_LIBRARY_PATH= +++ /usr/bin/tclsh /usr/share/Modules/libexec/modulecmd.tcl sh load mpi/openmpi-x86_64 [?1h= Loading mpi/openmpi-x86_64 ERROR: mpi/openmpi-x86_64 cannot be loaded due to a conflict. HINT: Might try "module unload mpi" first. I think we need %_mpich_unload after the tests have run with mpich, before %_openmpi_load?
Weird how it didn't fail on koji, though. Mock is using the rawhide chroot here.
Yeah, it didn't fail for me either. I'll add %_openmpi_unload.
Updated in place.
Looks good. A few notes, but none of them are blockers: XXXXX APPROVED XXXXX - /usr/bin -> %{_bindir} in %files - you've downloaded the gpg signature, were you planning to verify the source? https://docs.fedoraproject.org/en-US/packaging-guidelines/#_verifying_signatures - the tar does seem to include the docs---please consider generating them and adding a -doc sub package. 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. [x]: License field in the package spec file matches the actual license. Note: There is no build directory. Running licensecheck on vanilla upstream sources. Licenses found: "Unknown or generated". 2 files have unknown license. Detailed output of licensecheck in /home/asinha/dump/fedora-reviews/1759687-python- dijitso/licensecheck.txt [x]: Package does not own files or directories owned by other packages. [x]: %build honors applicable compiler flags or justifies otherwise. [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. [ ]: 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. [-]: 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: No rpmlint messages. [x]: 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. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [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]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [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]: Binary eggs must be removed in %prep [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]: Packages MUST NOT have dependencies (either build-time or runtime) on packages named with the unversioned python- prefix unless no properly versioned package exists. Dependencies on Python packages instead MUST use names beginning with python2- or python3- as appropriate. [x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files ===== 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). [?]: Package functions as described. ^ Not tested, but tests all pass. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [-]: 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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [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: python3-dijitso-2019.1.0-1.fc31.noarch.rpm python-dijitso-2019.1.0-1.fc31.src.rpm 2 packages and 0 specfiles checked; 0 errors, 0 warnings. Rpmlint (installed packages) ---------------------------- perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "C.UTF-8", LANG = "en_GB.utf8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "C.UTF-8", LANG = "en_GB.utf8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). python3-dijitso.noarch: W: invalid-url URL: https://fenics-dijitso.readthedocs.org/ <urlopen error [Errno -2] Name or service not known> ^ False positive---works. 1 packages and 0 specfiles checked; 0 errors, 1 warnings. Source checksums ---------------- https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-2019.1.0.tar.gz.asc : CHECKSUM(SHA256) this package : fbb6273ab66b8bef6c6bf28873d95ab10c59206f23eb9ab6cf5ac5c27f467747 CHECKSUM(SHA256) upstream package : fbb6273ab66b8bef6c6bf28873d95ab10c59206f23eb9ab6cf5ac5c27f467747 https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-2019.1.0.tar.gz : CHECKSUM(SHA256) this package : eaa45eec4457f3f865d72a926b7cba86df089410e78de04cd89b15bb405e8fd9 CHECKSUM(SHA256) upstream package : eaa45eec4457f3f865d72a926b7cba86df089410e78de04cd89b15bb405e8fd9 Requires -------- python3-dijitso (rpmlib, GLIBC filtered): /usr/bin/python3 gcc-c++ python(abi) python3-mpi4py-runtime python3.8dist(numpy) python3.8dist(setuptools) Provides -------- python3-dijitso: python3-dijitso python3.8dist(fenics-dijitso) python3dist(fenics-dijitso) Generated by fedora-review 0.7.3 (44b83c7) last change: 2019-09-18 Command line :/usr/bin/fedora-review -b 1759687 Buildroot used: fedora-rawhide-{{ target_arch }} Active plugins: Python, Shell-api, Generic Disabled plugins: PHP, Ocaml, R, fonts, SugarActivity, Java, C/C++, Haskell, Perl Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
Thank you for the review. > - /usr/bin -> %{_bindir} in %files Done. > - you've downloaded the gpg signature, were you planning to verify the source? > https://docs.fedoraproject.org/en-US/packaging-guidelines/#_verifying_signatures Done. - the tar does seem to include the docs---please consider generating them and adding a -doc sub package. Yeah, I didn't want to do this. It's usually a lot of work, and I don't think anyone's going to use this, since the online docs are easily accessible. If somebody requests this, I'll add it.
(fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/python-dijitso