From d59165df36c51623a67d175f6872df5529388200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hunor=20Csomort=C3=A1ni?= Date: Fri, 29 Apr 2022 10:23:41 +0200 Subject: [PATCH] Update to version 1.2.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And start using pyproject-rpm-macros. Signed-off-by: Hunor Csomortáni --- .gitignore | 1 + python-deprecated.spec | 41 +++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 2098721..2ad7359 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /Deprecated-1.2.10.tar.gz /Deprecated-1.2.11.tar.gz /Deprecated-1.2.12.tar.gz +/Deprecated-1.2.13.tar.gz diff --git a/python-deprecated.spec b/python-deprecated.spec index b27539e..79f0511 100644 --- a/python-deprecated.spec +++ b/python-deprecated.spec @@ -2,46 +2,51 @@ %global pkgname deprecated Name: python-%{pkgname} -Version: 1.2.12 -Release: 4%{?dist} +Version: 1.2.13 +Release: 1%{?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 -%description -Python @deprecated decorator to deprecate old python classes, -functions or methods. +BuildRequires: python3-devel + +%global _description %{expand: +Python @deprecated decorator to deprecate old python classes, functions or +methods.} + +%description %{_description} %package -n python3-%{pkgname} Summary: %{summary} -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%{?python_provide:%python_provide python3-%{pkgname}} - -%description -n python3-%{pkgname} -Python @deprecated decorator to deprecate old python classes, -functions or methods. +%description -n python3-%{pkgname} %{_description} %prep %autosetup -n %{srcname}-%{version} -rm -rf %{pkgname}.egg-info + +%generate_buildrequires +%pyproject_buildrequires -r %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files %{pkgname} -%files -n python3-%{pkgname} +%check +%pyproject_check_import + +%files -n python3-%{pkgname} -f %{pyproject_files} %license LICENSE.rst %doc README.md -%{python3_sitelib}/%{pkgname}/ -%{python3_sitelib}/%{srcname}-*.egg-info/ %changelog +* 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 diff --git a/sources b/sources index e154524..75e02e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Deprecated-1.2.12.tar.gz) = 51dc624983b6c871cbcbbbe8cf3bdd09088f2fca382f9bc23a6c9fd3e533ef2d486ea2893ff3f9d5af98d911d6ea4399d035eea8a46080a88af96fbb5b14906f +SHA512 (Deprecated-1.2.13.tar.gz) = 2b713f942465e46e9f7d70b18bb4f1ce15d8e388f06c6fd7e009921b4fa68c9d71e296f6cb1ac195ef7e73707c1bb6a01d923c12f11d7b73356eb022982abf4d