| |
@@ -3,15 +3,16 @@
|
| |
%global srcname pychm
|
| |
|
| |
Name: python-chm
|
| |
- Version: 0.8.4.1
|
| |
- Release: 29%{?dist}
|
| |
+ Version: 0.8.4
|
| |
+ Release: 30%{?dist}
|
| |
Summary: Python package for CHM files handling
|
| |
|
| |
License: GPLv2+
|
| |
URL: https://github.com/dottedmag/%{srcname}/
|
| |
Source0: https://files.pythonhosted.org/packages/source/%(c=%{srcname}; echo ${c:0:1})/{%srcname}/%{srcname}-%{version}.tar.gz
|
| |
+ Patch1: python-chm-0.8.4-python3.patch
|
| |
|
| |
- BuildRequires: python2-devel
|
| |
+ BuildRequires: python3-devel
|
| |
BuildRequires: chmlib-devel
|
| |
|
| |
%global _description\
|
| |
@@ -22,33 +23,38 @@
|
| |
|
| |
%description %_description
|
| |
|
| |
- %package -n python2-chm
|
| |
+ %package -n python3-chm
|
| |
Summary: %summary
|
| |
- %{?python_provide:%python_provide python2-chm}
|
| |
+ %{?python_provide:%python_provide python3-chm}
|
| |
|
| |
- %description -n python2-chm %_description
|
| |
+ %description -n python3-chm %_description
|
| |
|
| |
%prep
|
| |
%setup -q -n %{srcname}-%{version}
|
| |
+ %patch1 -p1
|
| |
|
| |
|
| |
%build
|
| |
- %py2_build
|
| |
+ %py3_build
|
| |
|
| |
|
| |
%install
|
| |
rm -rf $RPM_BUILD_ROOT
|
| |
- %py2_install
|
| |
+ %py3_install
|
| |
|
| |
|
| |
|
| |
- %files -n python2-chm
|
| |
+ %files -n python3-chm
|
| |
%doc COPYING NEWS README
|
| |
- %{python2_sitearch}/chm/
|
| |
- %{python2_sitearch}/%{srcname}-*egg-info
|
| |
+ %{python3_sitearch}/chm/
|
| |
+ %{python3_sitearch}/%{srcname}-*egg-info
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Sat Aug 17 2019 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 0.8.4-30
|
| |
+ - apply a patch to make this package build for Python3.
|
| |
+ - based on PR#5 on the upstream github project, with modifications.
|
| |
+
|
| |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4.1-29
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |
apply a patch to make this package build for Python3.
based on PR#5 (https://github.com/dottedmag/pychm/pull/5) on the upstream github project, with modifications.