Spec URL: https://ankursinha.fedorapeople.org/python-versioningit/python-versioningit.spec SRPM URL: https://ankursinha.fedorapeople.org/python-versioningit/python-versioningit-0.2.1-1.fc35.src.rpm Description: versioningit is yet another setuptools plugin for automatically determining your package's version based on your version control repository's tags. Unlike others, it allows easy customization of the version format and even lets you easily override the separate functions used for version extraction & calculation. Features: - Installed & configured through PEP 518's pyproject.toml - Supports Git, modern Git archives, and Mercurial - Formatting of the final version uses format template strings, with fields for basic VCS information and separate template strings for distanced vs. dirty vs. distanced-and-dirty repository states - Can optionally write the final version to a file for loading at runtime - The individual methods for VCS querying, tag-to-version calculation, version bumping, version formatting, and writing the version to a file can all be customized using either functions defined alongside one’s project code or via publicly-distributed entry points - Can alternatively be used as a library for use in setup.py or the like, in case you don’t want to or can’t configure it via pyproject.toml - The only thing it does is calculate your version and optionally write it to a file; there's no overriding of your sdist contents based on what is in your Git repository, especially not without a way to turn it off, because that would just be rude. Fedora Account System Username: ankursinha
This package built on koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=75935269
This package is approved, but please see the comments below: Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated Issues: ======= - Dist tag is present. (fedora-review does not understand rpmautospec) - A man page is always desired for a command-line tool: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages python3-versioningit.noarch: W: no-manual-page-for-binary versioningit Would you be willing to maintain a simple downstream man page in groff_man(7) format if I contribute it? (This is not required for approval.) Notes (no change required): =========================== - Consider whether adding weak dependencies on the VCS tools that the library calls would make sense: Recommends: git-core Recommends: mercurial I think you could reasonably justify adding these or leaving them out. ===== 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: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "MIT License", "*No copyright* MIT License". 157 files have unknown license. Detailed output of licensecheck in /home/reviewer/2005667-python- versioningit/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. [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 51200 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]: 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 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]: 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]: 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. [ ]: 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 [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. (tests 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-versioningit-0.2.1-1.fc36.noarch.rpm python-versioningit-0.2.1-1.fc36.src.rpm python3-versioningit.noarch: W: spelling-error Summary(en_US) Versioning -> Versifying, Version, Overseeing python3-versioningit.noarch: W: spelling-error %description -l en_US setuptools -> setup tools, setup-tools, toadstools python3-versioningit.noarch: W: spelling-error %description -l en_US pyproject -> projector, project python3-versioningit.noarch: W: spelling-error %description -l en_US toml -> tom, tome, toms python3-versioningit.noarch: W: spelling-error %description -l en_US sdist -> dist, sadist, s dist python3-versioningit.noarch: W: no-manual-page-for-binary versioningit python-versioningit.src: W: spelling-error Summary(en_US) Versioning -> Versifying, Version, Overseeing python-versioningit.src: W: spelling-error %description -l en_US setuptools -> setup tools, setup-tools, toadstools python-versioningit.src: W: spelling-error %description -l en_US pyproject -> projector, project python-versioningit.src: W: spelling-error %description -l en_US toml -> tom, tome, toms python-versioningit.src: W: spelling-error %description -l en_US sdist -> dist, sadist, s dist python-versioningit.src:87: W: macro-in-%changelog %autochangelog 2 packages and 0 specfiles checked; 0 errors, 12 warnings. Rpmlint (installed packages) ---------------------------- Cannot parse rpmlint output: Source checksums ---------------- https://files.pythonhosted.org/packages/source/v/versioningit/versioningit-0.2.1.tar.gz : CHECKSUM(SHA256) this package : e045f6fd6f581864aa3a8a14443515df4e4b1d85705642946be7a2ef6afa830b CHECKSUM(SHA256) upstream package : e045f6fd6f581864aa3a8a14443515df4e4b1d85705642946be7a2ef6afa830b Requires -------- python3-versioningit (rpmlib, GLIBC filtered): (python3.10dist(tomli) >= 1.2 with python3.10dist(tomli) < 2) /usr/bin/python3 python(abi) python3.10dist(packaging) Provides -------- python3-versioningit: python-versioningit python3-versioningit python3.10-versioningit python3.10dist(versioningit) python3dist(versioningit) Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10 Command line :/usr/bin/fedora-review -b 2005667 Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Python, Shell-api Disabled plugins: SugarActivity, C/C++, Perl, PHP, fonts, Ocaml, Haskell, Java, R Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
Created attachment 1824381 [details] Candidate man page A simple man page in groff_man(7) format that could be used for this package
Thanks for the review! Sure, I'll carry the man page, and see if I can send it upstream later too. I'll make the other tweaks before import. Requesting SCM now. Cheers,
(fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/python-versioningit
FEDORA-2021-1572693cb6 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1572693cb6
FEDORA-2021-1572693cb6 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-1572693cb6 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1572693cb6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-1572693cb6 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.