Fedora Account System
Red Hat Associate
Red Hat Customer
I'd like to update marisa.spec in f28 to switch the python2 build. E.g. --- a/marisa.spec +++ b/marisa.spec @@ -1,6 +1,12 @@ +%if 0%{?rhel} > 7 +%global with_python2 0 +%else +%global with_python2 1 +%endif + @ -9,10 +15,14 @@ URL: https://code.google.com/p/marisa-trie # https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.c om/marisa-trie/%%{name}-%%{version}.tar.gz Source0: https://marisa-trie.googlecode.com/files/%{name}-%{version}.tar.gz +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: swig BuildRequires: perl-devel BuildRequires: perl-generators +%if %with_python2 BuildRequires: python2-devel +%endif BuildRequires: python3-devel BuildRequires: ruby-devel
https://src.fedoraproject.org/rpms/marisa/pull-request/2 Given the fix is a source-only, I am closing this.