Add metadata, cleanup the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedparser?expand=0&rev=49
This commit is contained in:
@@ -26,6 +26,8 @@ License: BSD-2-Clause
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/kurtmckee/feedparser
|
||||
Source: https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM numerical_return_status.patch gh#kurtmckee/feedparser#272/files mcepl@suse.com
|
||||
# Maintain numeric result status code in Python>=3.9
|
||||
Patch0: numerical_return_status.patch
|
||||
BuildRequires: %{python_module chardet}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -44,8 +46,7 @@ A universal feed parser module for Python that handles RSS 0.9x, RSS 1.0, RSS
|
||||
2.0, CDF, Atom 0.3, Atom 1.0 feeds.
|
||||
|
||||
%prep
|
||||
%setup -q -n feedparser-%{version}
|
||||
%patch0
|
||||
%autosetup -p1 -n feedparser-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user