## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 12; 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 srcname ns1-python Name: python-%{srcname} Version: 0.17.1 Release: %autorelease Summary: Python SDK for the NS1 DNS platform License: MIT URL: https://github.com/ns1/ns1-python Source: %{pypi_source} Patch0001: https://github.com/ns1/ns1-python/pull/75.patch#/0001-Fixup-compatibility-with-Python-3.10.patch BuildArch: noarch %global _description %{expand: This package provides a python SDK for accessing the NS1 DNS platform and includes both a simple NS1 REST API wrapper as well as a higher level interface for managing zones, records, data feeds, and more. It supports synchronous and asynchronous transports.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools Recommends: python%{python3_version}dist(requests) Suggests: python%{python3_version}dist(twisted) %description -n python3-%{srcname} %{_description} Python 3 version. %prep %autosetup -n %{srcname}-%{version} -p1 rm -vrf *.egg-info # Tests are not distributed on PyPI sed -i -e '/setup_requires/,+3d' setup.py %build %py3_build %install %py3_install %files -n python3-%{srcname} %license LICENSE %doc README.md %{python3_sitelib}/ns1_python-*.egg-info/ %{python3_sitelib}/ns1/ %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.17.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.17.1-11 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.17.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.17.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.17.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.17.1-7 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.17.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.17.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.17.1-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.17.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 23 2021 Igor Raits - 0.17.1-2 - fixup! Update to 0.17.1 * Tue Nov 23 2021 Igor Raits - 0.17.1-1 - Update to 0.17.1 * Fri Jul 23 2021 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jul 18 2021 Igor Raits - 0.16.0-1 - Update to 0.16.0 * Fri Jun 04 2021 Python Maint - 0.15.0-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.15.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.15.0-3 - Rebuilt for Python 3.9 * Sun Apr 05 2020 Igor Raits - 0.15.0-2 - Fix build * Sun Apr 05 2020 Igor Raits - 0.15.0-1 - Update to 0.15.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 16 2019 Igor Gnatenko - 0.12.0-1 - Update to 0.12.0 * Thu Oct 03 2019 Miro Hrončok - 0.11.0-3 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.11.0-2 - Rebuilt for Python 3.8 * Mon Aug 05 2019 Igor Gnatenko - 0.11.0-1 - Update to 0.11.0 * Thu Aug 01 2019 Igor Gnatenko - 0.10.0-3 - Backport fix for use_client_subnet option * Fri Jul 26 2019 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 16 2019 Igor Gnatenko - 0.10.0-1 - Update to 0.10.0 * Sat Jul 13 2019 Igor Gnatenko - 0.9.19-1 - Initial import ## END: Generated by rpmautospec