Update to version 1.2.13

And start using pyproject-rpm-macros.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
epel9 imports/epel9/python-deprecated-1.2.13-1.el9
Hunor Csomortáni 3 years ago
parent 247b7b7636
commit d59165df36
No known key found for this signature in database
GPG Key ID: 24ECEA8421BF279F

1
.gitignore vendored

@ -2,3 +2,4 @@
/Deprecated-1.2.10.tar.gz /Deprecated-1.2.10.tar.gz
/Deprecated-1.2.11.tar.gz /Deprecated-1.2.11.tar.gz
/Deprecated-1.2.12.tar.gz /Deprecated-1.2.12.tar.gz
/Deprecated-1.2.13.tar.gz

@ -2,46 +2,51 @@
%global pkgname deprecated %global pkgname deprecated
Name: python-%{pkgname} Name: python-%{pkgname}
Version: 1.2.12 Version: 1.2.13
Release: 4%{?dist} Release: 1%{?dist}
Summary: Python decorator to deprecate old python classes, functions or methods Summary: Python decorator to deprecate old python classes, functions or methods
License: MIT License: MIT
URL: https://github.com/tantale/%{pkgname} URL: https://github.com/tantale/%{pkgname}
Source0: %{pypi_source} Source0: %{pypi_source}
BuildArch: noarch BuildArch: noarch
%description BuildRequires: python3-devel
Python @deprecated decorator to deprecate old python classes,
functions or methods. %global _description %{expand:
Python @deprecated decorator to deprecate old python classes, functions or
methods.}
%description %{_description}
%package -n python3-%{pkgname} %package -n python3-%{pkgname}
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel %description -n python3-%{pkgname} %{_description}
BuildRequires: python3-setuptools
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python3-%{pkgname}
Python @deprecated decorator to deprecate old python classes,
functions or methods.
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -n %{srcname}-%{version}
rm -rf %{pkgname}.egg-info
%generate_buildrequires
%pyproject_buildrequires -r
%build %build
%py3_build %pyproject_wheel
%install %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 %license LICENSE.rst
%doc README.md %doc README.md
%{python3_sitelib}/%{pkgname}/
%{python3_sitelib}/%{srcname}-*.egg-info/
%changelog %changelog
* Fri Apr 29 2022 Hunor Csomortáni <csomh@redhat.com> - 1.2.13-1
- Update to version 1.2.13
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-4 * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

@ -1 +1 @@
SHA512 (Deprecated-1.2.12.tar.gz) = 51dc624983b6c871cbcbbbe8cf3bdd09088f2fca382f9bc23a6c9fd3e533ef2d486ea2893ff3f9d5af98d911d6ea4399d035eea8a46080a88af96fbb5b14906f SHA512 (Deprecated-1.2.13.tar.gz) = 2b713f942465e46e9f7d70b18bb4f1ce15d8e388f06c6fd7e009921b4fa68c9d71e296f6cb1ac195ef7e73707c1bb6a01d923c12f11d7b73356eb022982abf4d

Loading…
Cancel
Save