diff --git a/0001-PKG-INFO-metadata-generation-seems-to-be-broken-list.patch b/0001-PKG-INFO-metadata-generation-seems-to-be-broken-list.patch new file mode 100644 index 0000000..b88ebed --- /dev/null +++ b/0001-PKG-INFO-metadata-generation-seems-to-be-broken-list.patch @@ -0,0 +1,28 @@ +From 34ff560464757cfb9dd59cabae9cb5d099d32c87 Mon Sep 17 00:00:00 2001 +From: David Moss +Date: Fri, 13 Jan 2017 13:32:04 +0000 +Subject: [PATCH] - PKG-INFO metadata generation seems to be broken (lists + maintainer as author on PyPI - mutually exclusive?) + +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 0c8b19c..7e97a23 100644 +--- a/setup.py ++++ b/setup.py +@@ -159,8 +159,8 @@ def main(): + setup_options = dict( + author='David P. D. Moss', + author_email='drkjam@gmail.com', +- maintainer='Stefan Nordhausen', +- maintainer_email='stefan.nordhausen@immobilienscout24.de', ++ # maintainer='Stefan Nordhausen', ++ # maintainer_email='stefan.nordhausen@immobilienscout24.de', + classifiers=classifiers, + description='A network address manipulation library for Python', + download_url='https://pypi.python.org/pypi/netaddr/', +-- +2.42.0.windows.2 + diff --git a/python-netaddr.spec b/python-netaddr.spec index 21cda12..0f3afff 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -1,6 +1,6 @@ Name: python-netaddr Version: 0.7.19 -Release: 15 +Release: 16 Summary: A pure Python network address representation and manipulation library License: BSD @@ -12,6 +12,7 @@ BuildRequires: python2-devel python2-setuptools python2-sphinx python2-pytest BuildRequires: python3-devel python3-setuptools python3-sphinx python3-pytest Patch0001: 0001-PEP-479-return-instead-of-raise-StopIteration.patch +Patch0002: 0001-PKG-INFO-metadata-generation-seems-to-be-broken-list.patch %description A network address manipulation library for Python @@ -77,6 +78,9 @@ mv %{buildroot}%{_bindir}/netaddr %{buildroot}%{_bindir}/netaddr3 %{_bindir}/netaddr3 %changelog +* Fri Dec 22 2023 liubo - 0.7.19-16 +- PKG-INFO metadata generation seems to be broken (lists maintainer as author on PyPI - mutually exclusive?) + * Tue Jun 13 2023 zhangpan - 0.7.19-15 - delete taboo words