diff --git a/Pygments-2.10.0.tar.gz b/Pygments-2.10.0.tar.gz new file mode 100644 index 0000000..c4fd31f Binary files /dev/null and b/Pygments-2.10.0.tar.gz differ diff --git a/Pygments-2.8.1.tar.gz b/Pygments-2.8.1.tar.gz deleted file mode 100644 index 320a33b..0000000 Binary files a/Pygments-2.8.1.tar.gz and /dev/null differ diff --git a/python-pygments.spec b/python-pygments.spec index f7da62b..e8ccb56 100644 --- a/python-pygments.spec +++ b/python-pygments.spec @@ -12,10 +12,11 @@ need to prettify source code. Highlights are: \ RTF, LaTeX and ANSI sequences \ * it is usable as a command-line tool and as a library \ * … and it highlights even Perl 6! - +%bcond_without docs +%bcond_without tests Name: python-pygments Summary: Syntax highlighting engine written in Python -Version: 2.8.1 +Version: 2.10.0 Release: 1 License: BSD URL: http://pygments.org/ @@ -32,7 +33,7 @@ BuildRequires: python3-devel, python3-setuptools BuildRequires: python3-pytest %endif %if %{with docs} -BuildRequires: python3-sphinx +BuildRequires: python3-sphinx python3-pip %endif Summary: Syntax highlighting engine written in Python %{?python_provide:%python_provide python3-pygments} @@ -60,7 +61,7 @@ chmod -x %{buildroot}%{_mandir}/man1/*.1 cp -r doc/docs doc/reST %if %{with tests} %check -make test PYTHON=%{python3} +make test %endif @@ -77,6 +78,9 @@ make test PYTHON=%{python3} %endif %changelog +* Mon Dec 20 2021 renhongxun - 2.10.0-1 +- Upgrade version to 2.10.0 + * Fri Aug 06 2021 OpenStack_SIG - 2.8.1-1 - Update version to 2.8.1