diff --git a/.python-deprecated.metadata b/.python-deprecated.metadata new file mode 100644 index 0000000..bb321ee --- /dev/null +++ b/.python-deprecated.metadata @@ -0,0 +1 @@ +02cb0ea2a57399dbf740affdc57690f0627186be SOURCES/Deprecated-1.2.13.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-deprecated.spec b/SPECS/python-deprecated.spec new file mode 100644 index 0000000..ddf4b3d --- /dev/null +++ b/SPECS/python-deprecated.spec @@ -0,0 +1,100 @@ +%global srcname Deprecated +%global pkgname deprecated + +Name: python-%{pkgname} +Version: 1.2.13 +Release: 3%{?dist} +Summary: Python decorator to deprecate old python classes, functions or methods +License: MIT +URL: https://github.com/tantale/%{pkgname} +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros + +%global _description %{expand: +Python @deprecated decorator to deprecate old python classes, functions or +methods.} + +%description %{_description} + +%package -n python3-%{pkgname} +Summary: %{summary} +%description -n python3-%{pkgname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%generate_buildrequires +%pyproject_buildrequires -r + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pkgname} + +%check +%pyproject_check_import + +%files -n python3-%{pkgname} -f %{pyproject_files} +%license LICENSE.rst +%doc README.md + + +%changelog +* Fri Jul 22 2022 Fedora Release Engineering - 1.2.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.2.13-2 +- Rebuilt for Python 3.11 + +* Fri Apr 29 2022 Hunor Csomortáni - 1.2.13-1 +- Update to version 1.2.13 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.2.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.2.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.2.12-2 +- Rebuilt for Python 3.10 + +* Sat Mar 13 2021 Packit Service - 1.2.12-1 +- new upstream release: 1.2.12 + +* Sat Feb 06 2021 Hunor Csomortáni - 1.2.11-1 +- new upstream release: 1.2.11 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Aug 07 2020 Hunor Csomortáni - 1.2.10-1 +- new upstream release: 1.2.10 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.2.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 1.2.6-7 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.2.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.2.6-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.2.6-4 +- Rebuilt for Python 3.8 + +* Thu Aug 01 2019 Petr Hracek - 1.2.6-3 +- Enable python dependency generator + +* Fri Jul 26 2019 Petr Hracek - 1.2.6-2 +- Fix python3_sitelib issue + +* Fri Jul 26 2019 Petr Hracek - 1.2.6-1 +- Initial package