On Wed, Aug 14, 2019 at 12:20 PM Miro Hrončok <mhron...@redhat.com> wrote:
>
> On 14. 08. 19 20:03, Christoph Junghans wrote:
> > Hi,
> >
> > txt2tags was recently retired due to FTBFS
> > (https://bugzilla.redhat.com/show_bug.cgi?id=1676168) as it requires
> > python2.
>
> Just a note: We haven't retired any package just because it requires python2
> (not yet anyway).
You are correct, I see it now.

The FTBFS fix is actually trivial:
diff --git a/txt2tags.spec b/txt2tags.spec
index ebb78e3..38ea2e4 100644
--- a/txt2tags.spec
+++ b/txt2tags.spec
@@ -54,6 +54,7 @@ rm -rf %{buildroot}

 #Install the executable
 install -Dp -m0755 txt2tags %{buildroot}%{_bindir}/txt2tags
+sed -i '1s/python/&2/' %{buildroot}%{_bindir}/txt2tags

 #Install manpages
 install -Dp -m0644 doc/manpage.man %{buildroot}%{_mandir}/man1/txt2tags.1

Do I need a review to unretire this package?

Christoph
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org



-- 
Christoph Junghans
Web: http://www.compphys.de
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to