diff --git a/3.1.11.tar.gz b/3.1.11.tar.gz deleted file mode 100644 index 74d2397..0000000 Binary files a/3.1.11.tar.gz and /dev/null differ diff --git a/aenum-3.1.15.tar.gz b/aenum-3.1.15.tar.gz new file mode 100644 index 0000000..cf13b74 Binary files /dev/null and b/aenum-3.1.15.tar.gz differ diff --git a/python-aenum.spec b/python-aenum.spec index 17d0c9a..a21a3ca 100644 --- a/python-aenum.spec +++ b/python-aenum.spec @@ -1,15 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-aenum -Version: 3.1.11 +Version: 3.1.15 Release: 1 Summary: Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants License: BSD License URL: https://bitbucket.org/stoneleaf/aenum -Source0: https://github.com/ethanfurman/aenum/archive/refs/tags/3.1.11.tar.gz -Patch0: 0001-fix-syntax-error.patch +Source0: https://files.pythonhosted.org/packages/d0/f8/33e75863394f42e429bb553e05fda7c59763f0fd6848de847a25b3fbccf6/aenum-3.1.15.tar.gz +Patch0: 0001-fix-syntax-error.patch BuildArch: noarch - %description Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants @@ -17,7 +16,7 @@ aenum includes a Python stdlib Enum-compatible data type, as well as a metaclass %package -n python3-aenum Summary: Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants -Provides: python-aenum +Provides: python-aenum = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-aenum @@ -42,6 +41,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 @@ -70,6 +72,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Jul 04 2023 zhangchenglin - 3.1.15-1 +- Update package to version 3.1.15 + * Thu Apr 06 2023 Ge Wang - 3.1.11-1 - Update to version 3.1.11