- Update to 3.6.0:
* Install attached plugin zip file, or use Calibre's 'Get plugins' feature. - Use dos2unix for file conversions - Add missing runtime dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fanficfare?expand=0&rev=13
This commit is contained in:
parent
1e24543b23
commit
d5c5c21393
BIN
FanFicFare-3.5.0.tar.gz
(Stored with Git LFS)
BIN
FanFicFare-3.5.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
FanFicFare-3.6.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
FanFicFare-3.6.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 19 15:20:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.6.0:
|
||||||
|
* Install attached plugin zip file, or use Calibre's 'Get plugins' feature.
|
||||||
|
- Use dos2unix for file conversions
|
||||||
|
- Add missing runtime dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 7 07:39:41 UTC 2019 - Matěj Cepl <mcepl@suse.com>
|
Thu Mar 7 07:39:41 UTC 2019 - Matěj Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
%define modnamedown fanficfare
|
%define modnamedown fanficfare
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-fanficfare
|
Name: python-fanficfare
|
||||||
Version: 3.5.0
|
Version: 3.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tool for making eBooks from stories on fanfiction and other web sites
|
Summary: Tool for making eBooks from stories on fanfiction and other web sites
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
@ -32,8 +32,13 @@ BuildRequires: %{python_module chardet}
|
|||||||
BuildRequires: %{python_module html2text}
|
BuildRequires: %{python_module html2text}
|
||||||
BuildRequires: %{python_module html5lib}
|
BuildRequires: %{python_module html5lib}
|
||||||
BuildRequires: %{python_module setuptools >= 17.1}
|
BuildRequires: %{python_module setuptools >= 17.1}
|
||||||
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-beautifulsoup4
|
||||||
|
Requires: python-chardet
|
||||||
|
Requires: python-html2text
|
||||||
|
Requires: python-html5lib
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -53,11 +58,7 @@ Main Features of FanFicFare:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
sed -i -e '/^#!\/usr\/bin\/python/d' fanficfare/mobi{,html}.py
|
sed -i -e '/^#!\/usr\/bin\/python/d' fanficfare/mobi{,html}.py
|
||||||
for f in DESCRIPTION.rst README.md ; do
|
dos2unix DESCRIPTION.rst README.md
|
||||||
tr -d '\r' < $f > $f.new
|
|
||||||
touch --reference=$f $f.new
|
|
||||||
mv -f $f.new $f
|
|
||||||
done
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user