Spec URL: https://orion.fedorapeople.org/conda-build.spec SRPM URL: https://orion.fedorapeople.org/conda-build-3.27.0-1.fc40.src.rpm Description: You can easily build your own packages for conda, and upload them to anaconda.org, a free service for hosting packages for conda, as well as other package managers. To build a package, create a recipe. See http://github.com/conda/conda-recipes for many example recipes, and http://conda.pydata.org/docs/build.html for documentation on how to build recipes. To upload to anaconda.org, create an account. Then, install the anaconda-client and login $ conda install anaconda-client $ anaconda login Then, after you build your recipe $ conda build <recipe-dir> you will be prompted to upload to anaconda.org. To add your anaconda.org channel, or the channel of others to conda so that conda install will find and install their packages, run $ conda config --add channels https://conda.anaconda.org/username (replacing username with the user name of the person whose channel you want to add). Fedora Account System Username: orion
Copr build: https://copr.fedorainfracloud.org/coprs/build/6715820 (failed) Build log: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2252512-conda-build/fedora-rawhide-x86_64/06715820-conda-build/builder-live.log.gz Please make sure the package builds successfully at least for Fedora Rawhide. - If the build failed for unrelated reasons (e.g. temporary network unavailability), please ignore it. - If the build failed because of missing BuildRequires, please make sure they are listed in the "Depends On" field --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
I will take this review.
Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated Issues: ======= - 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. Note: License file license_family.cpython-312.opt-1.pyc is not marked as %license See: https://docs.fedoraproject.org/en-US/packaging- guidelines/LicensingGuidelines/#_license_text This is because the main package does not contain a license file, and does not have a dependency on the python3 package, which does contain a license file. Is it correct that neither package depends on the other? If so, the license file should be added to the main package with %license. - Sources used to build the package match the upstream source, as provided in the spec URL. Note: Upstream MD5sum check error, diff is in /home/jamesjer/2252512-conda-build/diff.txt See: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ The diff shows one minor change to a file named .git_archival.txt. I guess upstream must have moved the 3.27.0 tag after you downloaded it. Not a big deal. In any case, version 3.28.0 has been released. - Regarding the License field, conda_build/version.py carries a BSD-2-Clause notice at the top. - See the non-executable-script warning from rpmlint below. Should that file be in the package? If so, should it be executable? - See the no-manual-page-for-binary rpmlint warnings below. Is there any way to generate man pages for those binaries, say with help2man? - See the description-line-too-long rpmlint warnings below. Can you reformat %description so that lines do not wrap on systems limited to 80 columns? ===== 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. [!]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "BSD 3-Clause License", "BSD 2-Clause License", "*No copyright* BSD 3-Clause License", "BSD 3-Clause License and/or GNU Lesser General Public License and/or MIT License", "BSD 3-Clause License and/or MIT License", "*No copyright* MIT License", "*No copyright* zlib License", "*No copyright* GNU General Public License, Version 2", "Apache License 2.0", "*No copyright* GNU General Public License", "*No copyright* University of Illinois/NCSA Open Source License", "*No copyright* Apache License 2.0". 872 files have unknown license. The BSD-2-Clause license should be mentioned in License. The other licenses are for files that are not included in the binary RPMs, mostly test files. [!]: License file installed when any subpackage combination is installed. [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 190945 bytes in 2 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]: The License field must be a valid SPDX expression. [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]: 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]: 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 Perl: [-]: Package contains the mandatory BuildRequires and Requires:. 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). [!]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in python3-conda-build Neither package requires the other. Is this correct? [?]: Package functions as described. [!]: 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. [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: [!]: Spec file according to URL is the same as in SRPM. Note: Bad spec filename: /home/jamesjer/2252512-conda-build/srpm- unpacked/conda-build.spec See: (this test has no URL) I don't know what this means. The source RPM has the conda-build name. The spec file is conda-build.spec. The Name field in the spec file contains "conda-build". What is fedora-review complaining about here? [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). Rpmlint ------- Checking: conda-build-3.27.0-1.fc40.noarch.rpm python3-conda-build-3.27.0-1.fc40.noarch.rpm conda-build-3.27.0-1.fc40.src.rpm ================================================ rpmlint session starts ================================================ rpmlint: 2.4.0 configuration: /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml rpmlintrc: [PosixPath('/tmp/tmp7ywpftww')] checks: 31, packages: 3 conda-build.src: W: strange-permission conda-build-3.27.0.tar.gz 660 conda-build.src: W: strange-permission conda-build.spec 660 python3-conda-build.noarch: E: non-executable-script /usr/lib/python3.12/site-packages/conda_build/launcher_sources/build.sh 644 /usr/bin/env bash conda-build.noarch: W: no-manual-page-for-binary conda-build conda-build.noarch: W: no-manual-page-for-binary conda-convert conda-build.noarch: W: no-manual-page-for-binary conda-debug conda-build.noarch: W: no-manual-page-for-binary conda-develop conda-build.noarch: W: no-manual-page-for-binary conda-index conda-build.noarch: W: no-manual-page-for-binary conda-inspect conda-build.noarch: W: no-manual-page-for-binary conda-metapackage conda-build.noarch: W: no-manual-page-for-binary conda-render conda-build.noarch: W: no-manual-page-for-binary conda-skeleton conda-build.noarch: W: no-documentation python3-conda-build.noarch: W: files-duplicate /usr/lib/python3.12/site-packages/conda_build/skeletons/__init__.py /usr/lib/python3.12/site-packages/conda_build/cli/__init__.py:/usr/lib/python3.12/site-packages/conda_build/os_utils/__init__.py conda-build.noarch: E: description-line-too-long (replacing username with the user name of the person whose channel you want to add). conda-build.src: E: description-line-too-long (replacing username with the user name of the person whose channel you want to add). python3-conda-build.noarch: E: description-line-too-long (replacing username with the user name of the person whose channel you want to add). ================ 3 packages and 0 specfiles checked; 4 errors, 13 warnings, 4 badness; has taken 0.6 s ================= Rpmlint (installed packages) ---------------------------- ============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 32, packages: 2 python3-conda-build.noarch: E: spelling-error ('dir', '%description -l en_US dir -> deer, jr, rid') conda-build.noarch: E: spelling-error ('dir', '%description -l en_US dir -> deer, jr, rid') python3-conda-build.noarch: W: python-missing-require beautifulsoup4 python3-conda-build.noarch: W: python-missing-require chardet python3-conda-build.noarch: W: python-missing-require conda-index python3-conda-build.noarch: W: python-missing-require conda-package-handling python3-conda-build.noarch: W: python-missing-require conda python3-conda-build.noarch: W: python-missing-require filelock python3-conda-build.noarch: W: python-missing-require jinja2 python3-conda-build.noarch: W: python-missing-require libarchive-c python3-conda-build.noarch: W: python-missing-require packaging python3-conda-build.noarch: W: python-missing-require pkginfo python3-conda-build.noarch: W: python-missing-require psutil python3-conda-build.noarch: W: python-missing-require pytz python3-conda-build.noarch: W: python-missing-require pyyaml python3-conda-build.noarch: W: python-missing-require requests python3-conda-build.noarch: W: python-missing-require six python3-conda-build.noarch: W: python-missing-require tqdm python3-conda-build.noarch: E: non-executable-script /usr/lib/python3.12/site-packages/conda_build/launcher_sources/build.sh 644 /usr/bin/env bash conda-build.noarch: W: no-manual-page-for-binary conda-build conda-build.noarch: W: no-manual-page-for-binary conda-convert conda-build.noarch: W: no-manual-page-for-binary conda-debug conda-build.noarch: W: no-manual-page-for-binary conda-develop conda-build.noarch: W: no-manual-page-for-binary conda-index conda-build.noarch: W: no-manual-page-for-binary conda-inspect conda-build.noarch: W: no-manual-page-for-binary conda-metapackage conda-build.noarch: W: no-manual-page-for-binary conda-render conda-build.noarch: W: no-manual-page-for-binary conda-skeleton conda-build.noarch: W: no-documentation python3-conda-build.noarch: W: files-duplicate /usr/lib/python3.12/site-packages/conda_build/skeletons/__init__.py /usr/lib/python3.12/site-packages/conda_build/cli/__init__.py:/usr/lib/python3.12/site-packages/conda_build/os_utils/__init__.py python3-conda-build.noarch: E: description-line-too-long (replacing username with the user name of the person whose channel you want to add). conda-build.noarch: E: description-line-too-long (replacing username with the user name of the person whose channel you want to add). 2 packages and 0 specfiles checked; 5 errors, 27 warnings, 8 filtered, 5 badness; has taken 0.2 s Source checksums ---------------- https://github.com/conda/conda-build/archive/3.27.0/conda-build-3.27.0.tar.gz : CHECKSUM(SHA256) this package : 2b59898a3d385d786e539e7b9eb012b2b4e50e757e5c4c840d68988990a5d9cc CHECKSUM(SHA256) upstream package : 013592ee86c443961799adf96840434bad9851fe789b75e213d881819f42c5d9 diff -r also reports differences Requires -------- conda-build (rpmlib, GLIBC filtered): /usr/bin/python3 python3-conda-build (rpmlib, GLIBC filtered): /usr/bin/perl python(abi) python3.12dist(beautifulsoup4) python3.12dist(chardet) python3.12dist(conda) python3.12dist(conda-index) python3.12dist(conda-package-handling) python3.12dist(filelock) python3.12dist(jinja2) python3.12dist(libarchive-c) python3.12dist(packaging) python3.12dist(pkginfo) python3.12dist(psutil) python3.12dist(pytz) python3.12dist(pyyaml) python3.12dist(requests) python3.12dist(six) python3.12dist(tqdm) Provides -------- conda-build: conda-build python3-conda-build: python-conda-build python3-conda-build python3.12-conda-build python3.12dist(conda-build) python3dist(conda-build) Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24 Command line :/usr/bin/fedora-review -b 2252512 -m fedora-rawhide-x86_64 Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Perl, Shell-api, Python Disabled plugins: Ocaml, SugarActivity, Haskell, fonts, Ruby, R, PHP, Java, C/C++ Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH
(In reply to Jerry James from comment #3) > Issues: > ======= > - 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. > Note: License file license_family.cpython-312.opt-1.pyc is not marked as > %license > See: https://docs.fedoraproject.org/en-US/packaging- > guidelines/LicensingGuidelines/#_license_text > > This is because the main package does not contain a license file, and does > not have a dependency on the python3 package, which does contain a license > file. Is it correct that neither package depends on the other? If so, > the license file should be added to the main package with %license. Dependency added. > - Sources used to build the package match the upstream source, as provided > in the spec URL. > Note: Upstream MD5sum check error, diff is in > /home/jamesjer/2252512-conda-build/diff.txt > See: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ > > The diff shows one minor change to a file named .git_archival.txt. I guess > upstream must have moved the 3.27.0 tag after you downloaded it. Not a big > deal. In any case, version 3.28.0 has been released. This should be fixed now with the update to 3.28.0. > - Regarding the License field, conda_build/version.py carries a BSD-2-Clause > notice at the top. Noted and asked upstream about it. > - See the non-executable-script warning from rpmlint below. Should that file > be in the package? If so, should it be executable? I'm not entirely sure. It definitely should be executable. I think it may be a template file that is copied elsewhere in which case it should retain its shebang too. So I think we leave it as is. > - See the no-manual-page-for-binary rpmlint warnings below. Is there any way > to generate man pages for those binaries, say with help2man? Generated conda-build with the included sphinx sources. conda-build is really the driver for the conda command helpers so I think this is sufficient. > - See the description-line-too-long rpmlint warnings below. Can you reformat > %description so that lines do not wrap on systems limited to 80 columns? Fixed. Spec URL: https://orion.fedorapeople.org/conda-build.spec SRPM URL: https://orion.fedorapeople.org/conda-build-3.28.0-1.fc40.src.rpm
Created attachment 2002797 [details] The .spec file difference from Copr build 6715820 to 6725457
Copr build: https://copr.fedorainfracloud.org/coprs/build/6725457 (failed) Build log: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2252512-conda-build/fedora-rawhide-x86_64/06725457-conda-build/builder-live.log.gz Please make sure the package builds successfully at least for Fedora Rawhide. - If the build failed for unrelated reasons (e.g. temporary network unavailability), please ignore it. - If the build failed because of missing BuildRequires, please make sure they are listed in the "Depends On" field --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
(In reply to Orion Poplawski from comment #4) > I'm not entirely sure. It definitely should be executable. I think it may > be a template file that is copied elsewhere in which case it should retain > its shebang too. So I think we leave it as is. Ah, okay, if it's a template then that is fine. > Generated conda-build with the included sphinx sources. conda-build is > really the driver for the conda command helpers so I think this is > sufficient. Yes, that's great. This package is APPROVED.
The Pagure repository was created at https://src.fedoraproject.org/rpms/conda-build
Thanks for the review. Checked in and (finally) built.