diff --git a/python-pygments.spec b/python-pygments.spec index 25ea2a6..a1f8c52 100644 --- a/python-pygments.spec +++ b/python-pygments.spec @@ -1,5 +1,5 @@ Name: python-pygments -Version: 2.5.2 +Version: 2.6.1 Release: 1mamba Summary: A syntax highlighting package written in Python Group: System/Libraries/Python @@ -57,6 +57,10 @@ CFLAGS="%{optflags}" %{__python} setup.py build --record=%{name}.filelist sed -i "\,egg-info$,d" %{name}.filelist +sed -i "\,lexer.py[co]$,d" %{name}.filelist +sed -i "\,style.py[co]$,d" %{name}.filelist +sed -i "\,cmdline.py[co]$,d" %{name}.filelist +sed -i "\,html.py[co]$,d" %{name}.filelist # install manual page install -D -m 0644 doc/pygmentize.1 \ @@ -69,6 +73,10 @@ install -D -m 0644 doc/pygmentize.1 \ %defattr(-,root,root) %dir %{python_sitearch}/pygments %dir %{python_sitearch}/*.egg-info +%if "%{?pyappend}" == "" +%{python_sitearch}/pygments/lexers/html.pyc +%{python_sitearch}/pygments/lexers/html.pyo +%endif %exclude %{_bindir}/pygmentize %exclude %{_mandir}/man1/pygmentize.1* %doc AUTHORS LICENSE @@ -80,6 +88,9 @@ install -D -m 0644 doc/pygmentize.1 \ %{_mandir}/man1/pygmentize.1* %changelog +* Sun Mar 29 2020 Automatic Build System 2.6.1-1mamba +- automatic version update by autodist + * Fri Nov 29 2019 Automatic Build System 2.5.2-1mamba - automatic version update by autodist