14
0
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:
2020-03-19 05:42:30 +00:00
committed by Git OBS Bridge
parent 960a0bb41b
commit f61bffadc1
4 changed files with 22 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ecf6ba39c05d4808a401dc86e5d9fbf3c73501dd5f9959c57da746c98087d790
size 25773

3
pychm-0.8.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26606fec1e30cf7506c7afa943460c31e8dac87f35b7f178f437574d654cf672
size 19562

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Mar 19 05:39:59 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 21 12:02:27 UTC 2017 - mpluskal@suse.com Tue Nov 21 12:02:27 UTC 2017 - mpluskal@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pychm # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python3 1
%define pkgname pychm %define pkgname pychm
Name: python-%{pkgname} Name: python-%{pkgname}
Version: 0.8.4.1 Version: 0.8.6
Release: 0 Release: 0
Summary: Python package to handle CHM files Summary: Python package to handle CHM files
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Development/Libraries/Python URL: https://github.com/dottedmag/pychm
Url: https://github.com/dottedmag/pychm
Source0: https://files.pythonhosted.org/packages/source/p/pychm/pychm-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/pychm/pychm-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@@ -33,12 +31,6 @@ BuildRequires: chmlib-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: swig BuildRequires: swig
%ifpython2
Provides: python-PyCHM = %{version}
Provides: python-pychm = %{version}
Obsoletes: python-PyCHM <= %{version}
Obsoletes: python-pychm <= %{version}
%endif
%python_subpackages %python_subpackages
%description %description