## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global sname pyvat %global owner iconfinder %global forgeurl https://github.com/%{owner}/%{sname} Version: 1.3.17 %forgemeta Name: python-%{sname} Release: %autorelease Summary: VAT validation and calculation for Python License: ASL 2.0 Source0: %{forgesource} URL: %{forgeurl} BuildArch: noarch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: python3-devel Requires: python3 %description With EU VAT handling rules becoming ever more ridiculous and complicated, businesses within the EU are faced with the complexity of having to validate VAT numbers. pyvat was built for Iconfinder's marketplace to handle just this problem. %package -n python3-%{sname} Summary: %{summary} %description -n python3-%{sname} With EU VAT handling rules becoming ever more ridiculous and complicated, businesses within the EU are faced with the complexity of having to validate VAT numbers. pyvat was built for Iconfinder's marketplace to handle just this problem. %prep %forgesetup %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{sname} # check # These tests require unittest2 to run as the project is compatible with Python 2 versions # unittest2 was intentially removed from Fedora repositories see https://bugzilla.redhat.com/show_bug.cgi?id=1794222 %files -n python3-%{sname} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Wed Feb 14 2024 Roman Inflianskas - 1.3.17-9 - Switch to using forges * Wed Feb 14 2024 Roman Inflianskas - 1.3.17-8 - packit: pull from upstream * Fri Jan 26 2024 Fedora Release Engineering - 1.3.17-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.3.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.3.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.3.17-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.3.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Jan 10 2023 Italo Garcia - 1.3.17-1 - Update to 1.3.17 * Mon Dec 19 2022 Elliott Sales de Andrade - 1.3.16-2 - Drop support for i686 * Mon Sep 19 2022 Roman Inflianskas - 1.3.16-1 - Update to 1.3.16 * Tue Jul 19 2022 Italo Garcia - 1.3.15-1 - Initial package ## END: Generated by rpmautospec