Name: python-id-document-validator Version: 0.0.1 Release: 1%{?dist} Summary: A simple Identity Document Characters Validator (just for DNI and cedula identity documents) you use it as follows: from validator.validato import Validator. Then, you call the is_valid method: Validato.is_valid(document_name, document_numeration), this must return or True or False # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: MIT URL: https://github.com/greatBrain/id_document_validator Source: %{pypi_source id_document_validator} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'id-document-validator' generated automatically by pyp2spec.} %description %_description %package -n python3-id-document-validator Summary: %{summary} %description -n python3-id-document-validator %_description %prep %autosetup -p1 -n id_document_validator-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # For official Fedora packages, including files with '*' +auto is not allowed # Replace it with a list of relevant Python modules/globs and list extra files in %%files %pyproject_save_files '*' +auto %check %pyproject_check_import -t %files -n python3-id-document-validator -f %{pyproject_files} %changelog * Tue Apr 26 2022 mockbuilder - 0.0.1-1 - Package generated with pyp2spec