diff --git a/txt2tags.spec b/txt2tags.spec index 97c236c..88093d6 100644 --- a/txt2tags.spec +++ b/txt2tags.spec @@ -1,12 +1,12 @@ Name: txt2tags Summary: Summary: Converts text files to HTML, XHTML, LaTeX, and other formats -Version: 2.6 -Release: 2%{?dist} +Version: 3.3 +Release: 1%{?dist} License: GPLv2 URL: http://txt2tags.sourceforge.net/ -Source0: https://github.com/txt2tags/txt2tags/archive/%{version}.tar.gz -Source1: https://raw.githubusercontent.com/jendrikseipp/rednotebook/master/rednotebook/external/txt2tags.py +# https://github.com/txt2tags/txt2tags/issues/207#issuecomment-544905237 +Source0: https://github.com/jendrikseipp/txt2tags/archive/%{version}.tar.gz BuildArch: noarch @@ -33,24 +33,25 @@ Txt2tags is a document generator. It reads a text file with minimal markup as %prep %setup -q -cp %{S:1} txt2tags %build -#NONE +%{py3_build} %install -#Install the executable -install -Dp -m0755 txt2tags %{buildroot}%{_bindir}/txt2tags -sed -i '1s/python/&3/' %{buildroot}%{_bindir}/txt2tags -install -Dp -m0644 doc/English/manpage.man %{buildroot}%{_mandir}/man1/txt2tags.1 +%{py3_install} %files -%doc ChangeLog README +%doc CHANGELOG.md README.md %license COPYING %{_bindir}/txt2tags -%{_mandir}/man1/txt2tags.1.* +%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/%{name}.py +%{python3_sitelib}/__pycache__/%{name}* %changelog +* Fri Dec 06 2019 Christoph Junghans - 3.3-1 +- Version bump to 3.3 + * Mon Sep 23 2019 Christoph Junghans - 2.6-2 - Add more python3.8 fixes by Jendrik Seipp