diff --git a/.gitignore b/.gitignore index 8b4d2b5..7573350 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -/Deprecated-1.2.6.tar.gz -/Deprecated-1.2.10.tar.gz -/Deprecated-1.2.11.tar.gz -/Deprecated-1.2.12.tar.gz -/Deprecated-1.2.13.tar.gz -/Deprecated-1.2.14.tar.gz +deprecated-*.tar.gz diff --git a/python-deprecated.spec b/python-deprecated.spec index aa13c40..5521eb3 100644 --- a/python-deprecated.spec +++ b/python-deprecated.spec @@ -1,32 +1,29 @@ -%global srcname Deprecated -%global pkgname deprecated - -Name: python-%{pkgname} -Version: 1.2.14 -Release: 7%{?dist} +Name: python-deprecated +Version: 1.2.15 +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} +URL: https://github.com/laurent-laporte-pro/deprecated +Source: %{pypi_source deprecated} BuildArch: noarch %description Python @deprecated decorator to deprecate old python classes, functions or methods. -%package -n python3-%{pkgname} +%package -n python3-deprecated Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools -%{?python_provide:%python_provide python3-%{pkgname}} +%{?python_provide:%python_provide python3-deprecated} -%description -n python3-%{pkgname} +%description -n python3-deprecated Python @deprecated decorator to deprecate old python classes, functions or methods. %prep -%autosetup -n %{srcname}-%{version} -rm -rf %{pkgname}.egg-info +%autosetup -n deprecated-%{version} +rm -rf Deprecated.egg-info %build %py3_build @@ -34,14 +31,17 @@ rm -rf %{pkgname}.egg-info %install %py3_install -%files -n python3-%{pkgname} +%files -n python3-deprecated %license LICENSE.rst %doc README.md -%{python3_sitelib}/%{pkgname}/ -%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/deprecated/ +%{python3_sitelib}/Deprecated-*.egg-info/ %changelog +* Sat Nov 23 2024 Carl George - 1.2.15-1 +- Update to version 1.2.15 + * Fri Jul 19 2024 Fedora Release Engineering - 1.2.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 5dfc157..27bc0d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Deprecated-1.2.14.tar.gz) = 5c2f71fc4c1abb6d4a6913bd9644d47d12f709a0830b2aa3513aa2aa92c13e916c49fcd45a5f38aa29279822a5bb8563c4062e5f3e21bb6c55ca97b7845ee736 +SHA512 (deprecated-1.2.15.tar.gz) = 03d5eaa2cb881b5b284f9112d15502522887c3beb91a0e8e2868bfd7b7d8ddf0c947937f3b19dd42c8b512ab1e37dc1012f5e0b5d3d374eb7a8718c4b5f214b8