diff --git a/python-regex.spec b/python-regex.spec index 9530a59382c78a86c6b3bfafae881a21a9116de9..9d1c55fa550a6f83de04ccc47bb89f53b94f0a20 100644 --- a/python-regex.spec +++ b/python-regex.spec @@ -5,15 +5,14 @@ Release: 1 Summary: Alternative regular expression module, to replace re. License: Apache-2.0 URL: https://bitbucket.org/mrabarnett/mrab-regex -Source0: https://files.pythonhosted.org/packages/18/df/401fd39ffd50062ff1e0344f95f8e2c141de4fd1eca1677d2f29609e5389/regex-2023.6.3.tar.gz - +Source0: https://files.pythonhosted.org/packages/18/df/401fd39ffd50062ff1e0344f95f8e2c141de4fd1eca1677d2f29609e5389/regex-2023.6.3.tar.gz %description This regex implementation is backwards-compatible with the standard 're' module, but offers additional functionality. %package -n python3-regex Summary: Alternative regular expression module, to replace re. -Provides: python-regex +Provides: python-regex = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-cffi @@ -40,6 +39,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -68,6 +70,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Sat Jul 01 2023 wangjunqi - 2023.6.3-1 +- Update package to version 2023.6.3 + * Mon Jun 26 2023 chendexi - 2023.6.3-1 - Upgrade package to v2023.6.3