From cb1992f3fa90b74ca78c2f8b6c5b2a276b24e94f7e34c58dc209a9b0a6669c88 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 20 May 2019 14:47:15 +0000 Subject: [PATCH] Accepting request 704274 from home:pgajdos - version update to 0.6.4 * no upstream changelog - convert to single spec - run the testsuite OBS-URL: https://build.opensuse.org/request/show/704274 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-podcastparser?expand=0&rev=5 --- podcastparser-0.6.0.tar.gz | 3 --- podcastparser-0.6.4.tar.gz | 3 +++ python-podcastparser.changes | 8 ++++++ python-podcastparser.spec | 51 ++++++++++++++++-------------------- 4 files changed, 34 insertions(+), 31 deletions(-) delete mode 100644 podcastparser-0.6.0.tar.gz create mode 100644 podcastparser-0.6.4.tar.gz diff --git a/podcastparser-0.6.0.tar.gz b/podcastparser-0.6.0.tar.gz deleted file mode 100644 index 6751116..0000000 --- a/podcastparser-0.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f760843e75eb14ae9596727447e58cf5ce1e62f33f88a2381af9963c46534d56 -size 18055 diff --git a/podcastparser-0.6.4.tar.gz b/podcastparser-0.6.4.tar.gz new file mode 100644 index 0000000..2e8109b --- /dev/null +++ b/podcastparser-0.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8788bd7be741716a60828b4fceb9fadd445c855e1d5fd80789a5da55d90b52cf +size 22446 diff --git a/python-podcastparser.changes b/python-podcastparser.changes index 668cfe9..3bb7451 100644 --- a/python-podcastparser.changes +++ b/python-podcastparser.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 20 14:27:09 UTC 2019 - pgajdos@suse.com + +- version update to 0.6.4 + * no upstream changelog +- convert to single spec +- run the testsuite + ------------------------------------------------------------------- Mon Dec 5 07:46:05 UTC 2016 - fstrba@suse.com diff --git a/python-podcastparser.spec b/python-podcastparser.spec index 44b3eb5..506bd2c 100644 --- a/python-podcastparser.spec +++ b/python-podcastparser.spec @@ -1,7 +1,7 @@ # # spec file for package python-podcastparser # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,52 +12,47 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%global pkgname podcastparser -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif -Name: python-%{pkgname} -Version: 0.6.0 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-podcastparser +Version: 0.6.4 Release: 0 Summary: Simple, fast and efficient podcast parser License: ISC Group: Development/Libraries/Python -Url: http://gpodder.org/%{pkgname}/ -Source: http://gpodder.org/%{pkgname}/%{pkgname}-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-nose -BuildRequires: python-setuptools -BuildRequires: python-xml +URL: https://github.com/gpodder/podcastparser +Source: https://files.pythonhosted.org/packages/source/p/podcastparser/podcastparser-%{version}.tar.gz +BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module xml} +BuildRequires: fdupes Requires: python-xml -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages %description The podcast parser project is a library from the gPodder project to provide an easy and reliable way of parsing RSS- and Atom-based podcast feeds in Python. %prep -%setup -q -n %{pkgname}-%{version} +%setup -q -n podcastparser-%{version} %build -python setup.py build - -%if 0%{?suse_version} > 1010 -%check -python test_%{pkgname}.py -%endif +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root) -%doc LICENSE README.md +%check +%python_expand nosetests-%{$python_bin_suffix} + +%files %{python_files} +%license LICENSE +%doc README.md %{python_sitelib}/* %changelog