forked from pool/python-pychm
- Update to 0.8.6:
+ 0.8.6 * Fix crash on Windows, Linux introduced in 0.8.5 (#7) * Restore compatibility with Python 2.7 (malformed runtime error messages, compilation warnings) (#6) + 0.8.5 * Get rid of SWIG * Python 3 support - Build for both Python 2 and 3 - Drop odd Provides/Obseletes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pychm?expand=0&rev=6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pychm
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,20 +12,18 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python3 1
|
||||
%define pkgname pychm
|
||||
Name: python-%{pkgname}
|
||||
Version: 0.8.4.1
|
||||
Version: 0.8.6
|
||||
Release: 0
|
||||
Summary: Python package to handle CHM files
|
||||
License: GPL-2.0+
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/dottedmag/pychm
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://github.com/dottedmag/pychm
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pychm/pychm-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -33,12 +31,6 @@ BuildRequires: chmlib-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: swig
|
||||
%ifpython2
|
||||
Provides: python-PyCHM = %{version}
|
||||
Provides: python-pychm = %{version}
|
||||
Obsoletes: python-PyCHM <= %{version}
|
||||
Obsoletes: python-pychm <= %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user