14
0

Accepting request 298661 from home:benoit_monin:branches:devel:languages:python

- update to version 5.2.0
- update URL to project homepage
- point the source URL to pypi and take care of archive naming
- change README to README.rst on package documentation

OBS-URL: https://build.opensuse.org/request/show/298661
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedparser?expand=0&rev=33
This commit is contained in:
Michal Čihař
2015-04-23 06:29:49 +00:00
committed by Git OBS Bridge
parent b892a90878
commit e78dad53cb
4 changed files with 64 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-feedparser
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,15 @@
Name: python-feedparser
Version: 5.1.3
Version: 5.2.0
Release: 0
Summary: Universal Feed Parser Module for Python
License: BSD-2-Clause
Group: Development/Libraries/Python
Url: http://sourceforge.net/projects/feedparser/
Source: feedparser-%{version}.tar.bz2
Url: https://github.com/kurtmckee/feedparser
# the archive name on pypi does not match the version
%define srcversion 5.2.0.post1
Source: https://pypi.python.org/packages/source/f/feedparser/feedparser-%{srcversion}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
@@ -55,7 +57,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc LICENSE NEWS README
%doc LICENSE NEWS README.rst
%{python_sitelib}/*
%changelog