## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 Yapsy %global modname yapsy Name: python-%{modname} Version: 1.12.2 Release: %autorelease Summary: Simple plugin system for Python applications # Automatically converted from old format: BSD and ISC and CC-BY-SA - review is highly recommended. License: LicenseRef-Callaway-BSD AND ISC AND LicenseRef-Callaway-CC-BY-SA URL: http://yapsy.sourceforge.net Source0: http://downloads.sourceforge.net/project/%{modname}/%{srcname}-%{version}/%{srcname}-%{version}.tar.gz # https://github.com/tibonihoo/yapsy/pull/11 # Should fix yapsy to work with Python 3.12 Patch: 11.patch # prerequisit for PR 22 # https://github.com/tibonihoo/yapsy/pull/20 Patch1: 20.patch # fixes regression introduced with py 3.12 changges in PR#11, for rhbz#2268608 # https://github.com/tibonihoo/yapsy/pull/22 Patch2: 22_pluginmgr.patch BuildArch: noarch %global _description \ Yapsy’s main purpose is to offer a way to easily design a plugin system in\ Python. Yapsy only depends on Python’s standard library. %description %{_description} %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-%{modname} %{_description} %prep %autosetup -n %{srcname}-%{version} -p2 rm -vrf *.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test || : %files -n python3-%{modname} %license LICENSE.txt %doc CHANGELOG.txt README.txt %{python3_sitelib}/%{srcname}-*.egg-info/ %{python3_sitelib}/%{modname}/ %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 1.12.2-12 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.12.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.12.2-10 - Rebuilt for Python 3.13 * Wed Apr 03 2024 Michal Hlavinka - 1.12.2-9 - fix relative imports rhbz#2268608 * Fri Jan 26 2024 Fedora Release Engineering - 1.12.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.12.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.12.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 14 2023 Adam Williamson - 1.12.2-5 - Backport PR #11 to (hopefully) fix yapsy with Python 3.12 * Tue Jul 11 2023 Lyes Saadi - 1.12.2-4 - Removing documentation * Wed Jun 14 2023 Python Maint - 1.12.2-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.12.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Oct 11 2022 Lyes Saadi - 1.12.2-1 - Updating to 1.12.2 * Fri Jul 22 2022 Fedora Release Engineering - 1.11.223-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.11.223-24 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.11.223-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.11.223-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.11.223-21 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.11.223-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.11.223-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.11.223-18 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.11.223-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.11.223-16 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.11.223-15 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.11.223-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.11.223-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 1.11.223-12 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 1.11.223-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.11.223-10 - Rebuilt for Python 3.7 * Mon Feb 12 2018 Iryna Shcherbina - 1.11.223-9 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 1.11.223-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.11.223-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.11.223-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.11.223-5 - Rebuild for Python 3.6 * Wed May 11 2016 Igor Gnatenko - 1.11.223-4 - Modernize spec - Add %%check section - Remove bundled egg * Thu Feb 04 2016 Fedora Release Engineering - 1.11.223-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 1.11.223-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jul 16 2015 José Matos - 1.11.223-1 - Update to 1.11.223 - Sources for python 2 and 3 have been unified * Thu Jun 18 2015 Fedora Release Engineering - 1.10.423-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 17 2014 Pete Travis - 1.10.423-1 - Updating to upstream release 1.10.423 * Sun Jun 08 2014 Fedora Release Engineering - 1.10.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 14 2014 Bohuslav Kabrda - 1.10.2-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Fri Oct 04 2013 Pete Travis 1.10.2-3 - Turning on python3 boolean so python3 subpackage actually builds - Correct build and install sections to properly create python3 subpackage - Remove ill-conceived patches - Add python3-yapsy-doc subpackage, as upstream procides py3 sources for docs * Tue Aug 20 2013 Pete Travis 1.10.2-2 - Updating spec file; cleaned up files section and BuildRequires,add noarch -doc subpackage * Mon Aug 19 2013 Pete Travis 1.10.2-1 - Initial revision ## END: Generated by rpmautospec