diff --git a/Pygments-2.8.1.tar.gz b/Pygments-2.10.0.tar.gz similarity index 36% rename from Pygments-2.8.1.tar.gz rename to Pygments-2.10.0.tar.gz index 320a33bb4f0a469f4f68f43cdcd501f5da9402e3..c4fd31f19a63e10b689f6983011954ceb839fb10 100644 Binary files a/Pygments-2.8.1.tar.gz and b/Pygments-2.10.0.tar.gz differ diff --git a/python-pygments.spec b/python-pygments.spec index f7da62b11790164e208548035f7c1dfadf4616be..e8ccb56813af0700401c75390d49ae08dd797c81 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