forked from pool/python-feedparser
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedparser?expand=0&rev=38
This commit is contained in:
@@ -16,19 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Tests require a network connection
|
||||
%bcond_without tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-feedparser
|
||||
Version: 5.2.1
|
||||
Release: 0
|
||||
Summary: Universal Feed Parser Module for Python
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/kurtmckee/feedparser
|
||||
URL: https://github.com/kurtmckee/feedparser
|
||||
Source: https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: fdupes
|
||||
@@ -62,8 +60,8 @@ popd
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE NEWS README.rst
|
||||
%license LICENSE
|
||||
%doc NEWS README.rst
|
||||
%{python_sitelib}/feedparser.py*
|
||||
%pycache_only %{python_sitelib}/__pycache__/feedparser.*.py*
|
||||
%{python_sitelib}/feedparser-%{version}-py*.egg-info
|
||||
|
||||
Reference in New Issue
Block a user