From f2ec4aa1c0a65546c45d7f1638d34da0f587d3b2 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jun 18 2019 08:55:44 +0000 Subject: Subpackage python2-pylibravatar has been removed --- diff --git a/python-pylibravatar.spec b/python-pylibravatar.spec index 51be92f..13c7cc9 100644 --- a/python-pylibravatar.spec +++ b/python-pylibravatar.spec @@ -1,13 +1,10 @@ -%if 0%{?fedora} || 0%{?rhel} >= 8 -%global with_python3 1 -%endif %global eggname pyLibravatar %global modname libravatar Name: python-pylibravatar Version: 1.6 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Python module for Libravatar # The full text of the license isn't shipped @@ -21,13 +18,8 @@ Patch0: python-pylibravatar-dns-srv-tcp.patch BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-pydns - -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-py3dns -%endif %global _description\ PyLibravatar is an easy way to make use of the federated Libravatar\ @@ -35,14 +27,6 @@ avatar hosting service from within your Python applications. %description %_description -%package -n python2-pylibravatar -Summary: %summary -Requires: python2-pydns -%{?python_provide:%python_provide python2-pylibravatar} - -%description -n python2-pylibravatar %_description - -%if 0%{?with_python3} %package -n python3-pylibravatar Summary: Python module for Libravatar @@ -51,7 +35,6 @@ Requires: python3-py3dns %description -n python3-pylibravatar PyLibravatar is an easy way to make use of the federated Libravatar avatar hosting service from within your Python applications. -%endif %prep %setup -q -n %{eggname}-%{version} @@ -64,35 +47,13 @@ sed -i 's/\r//' Changelog.txt # Remove bundled egg-info in case it exists rm -rf %{eggname}.egg-info -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif %build -%{__python2} setup.py build -%if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py build -popd -%endif %install -%if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py install -O1 --skip-build --root=%{buildroot} -popd -%endif -%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} - -%files -n python2-pylibravatar -# Upstream doesn't ship the license full text -# https://bugs.launchpad.net/pylibravatar/+bug/1173603 -%doc README.txt Changelog.txt -%{python2_sitelib}/%{modname}.py* -%{python2_sitelib}/%{eggname}-%{version}* -%if 0%{?with_python3} %files -n python3-pylibravatar # Upstream doesn't ship the license full text # https://bugs.launchpad.net/pylibravatar/+bug/1173603 @@ -100,9 +61,12 @@ popd %{python3_sitelib}/%{modname}.py %{python3_sitelib}/__pycache__/*%{modname}* %{python3_sitelib}/%{eggname}-%{version}-* -%endif %changelog +* Tue Jun 18 2019 Miro Hrončok - 1.6-20 +- Subpackage python2-pylibravatar has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Feb 02 2019 Fedora Release Engineering - 1.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild