diff --git a/FanFicFare-3.5.0.tar.gz b/FanFicFare-3.5.0.tar.gz deleted file mode 100644 index 4f4864f..0000000 --- a/FanFicFare-3.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5eb273c9a9cfbee06645cd966baa890c26f0ddcba93148aaa90c41f45da53c2c -size 1071162 diff --git a/FanFicFare-3.6.0.tar.gz b/FanFicFare-3.6.0.tar.gz new file mode 100644 index 0000000..769988d --- /dev/null +++ b/FanFicFare-3.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f293900000920dbcc158a0b9cb7adb1b3c668141a231110c9e73809c01fc16b5 +size 1071915 diff --git a/python-fanficfare.changes b/python-fanficfare.changes index 5f9134c..1e1f4f1 100644 --- a/python-fanficfare.changes +++ b/python-fanficfare.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 19 15:20:41 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-fanficfare.spec b/python-fanficfare.spec index 1b7dfde..6fb589b 100644 --- a/python-fanficfare.spec +++ b/python-fanficfare.spec @@ -20,7 +20,7 @@ %define modnamedown fanficfare %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-fanficfare -Version: 3.5.0 +Version: 3.6.0 Release: 0 Summary: Tool for making eBooks from stories on fanfiction and other web sites License: GPL-3.0-only @@ -32,8 +32,13 @@ BuildRequires: %{python_module chardet} BuildRequires: %{python_module html2text} BuildRequires: %{python_module html5lib} BuildRequires: %{python_module setuptools >= 17.1} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-beautifulsoup4 +Requires: python-chardet +Requires: python-html2text +Requires: python-html5lib Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch @@ -53,11 +58,7 @@ Main Features of FanFicFare: %prep %setup -q -n %{modname}-%{version} sed -i -e '/^#!\/usr\/bin\/python/d' fanficfare/mobi{,html}.py -for f in DESCRIPTION.rst README.md ; do - tr -d '\r' < $f > $f.new - touch --reference=$f $f.new - mv -f $f.new $f -done +dos2unix DESCRIPTION.rst README.md %build %python_build