diff --git a/0001-Fix-missing-version-of-python3.10dist-statsmodels.patch b/0001-Fix-missing-version-of-python3.10dist-statsmodels.patch new file mode 100644 index 0000000..7893993 --- /dev/null +++ b/0001-Fix-missing-version-of-python3.10dist-statsmodels.patch @@ -0,0 +1,32 @@ +From 05fe988b4334620b37cff9e4e0f81fcc1157c54a Mon Sep 17 00:00:00 2001 +From: jxy_git +Date: Tue, 22 Nov 2022 10:55:47 +0800 +Subject: [PATCH] Fix missing version of python3.10dist(statsmodels) + +--- + setup.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/setup.py b/setup.py +index 8100d10..a8537b3 100644 +--- a/setup.py ++++ b/setup.py +@@ -79,6 +79,7 @@ EXTRAS_REQUIRE = { + # Values that rarely change + ############################################################################### + DISTNAME = "statsmodels" ++VERSION = "0.13.5" + DESCRIPTION = "Statistical computations and models for Python" + README = SETUP_DIR.joinpath("README.rst").read_text() + LONG_DESCRIPTION = README +@@ -387,6 +388,7 @@ class BinaryDistribution(Distribution): + + setup( + name=DISTNAME, ++ version=VERSION, + maintainer=MAINTAINER, + ext_modules=extensions, + maintainer_email=MAINTAINER_EMAIL, +-- +2.38.1 + diff --git a/python-statsmodels.spec b/python-statsmodels.spec index 34e7c3f..b3ff8cd 100644 --- a/python-statsmodels.spec +++ b/python-statsmodels.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-statsmodels -Version: 0.13.2 +Version: 0.13.5 Release: 1 Summary: Statistical computations and models for Python -License: BSD License -URL: https://www.statsmodels.org/ -Source0: https://files.pythonhosted.org/packages/e1/4a/0eb4efa49cc352e2721e2aebfe8573264db2add195545ec3979c98040c3b/statsmodels-0.13.2.tar.gz - +License: BSD-3-Clause +URL: https://github.com/statsmodels/statsmodels +Source0: https://files.pythonhosted.org/packages/a4/7d/a919dbad04ec31741eee6a7f7df4a9a9e57e3b863900e48b079a6b832aab/statsmodels-0.13.5.tar.gz +Patch0: 0001-Fix-missing-version-of-python3.10dist-statsmodels.patch %description Statsmodels is a Python package that provides a complement to scipy for @@ -15,7 +15,7 @@ and inference for statistical models. %package -n python3-statsmodels Summary: Statistical computations and models for Python -Provides: python-statsmodels +Provides: python-statsmodels = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-cffi @@ -34,7 +34,7 @@ Provides: python3-statsmodels-doc Development documents and examples for statsmodels. %prep -%autosetup -n statsmodels-0.13.2 +%autosetup -p1 -n statsmodels-%{version} %build %py3_build @@ -74,5 +74,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Nov 18 2022 jiangxinyu - 0.13.5-1 +- Update package to version 0.13.5 + * Fri Jul 08 2022 Xu Jin - 0.13.2-1 - Package Spec generated diff --git a/statsmodels-0.13.2.tar.gz b/statsmodels-0.13.5.tar.gz similarity index 66% rename from statsmodels-0.13.2.tar.gz rename to statsmodels-0.13.5.tar.gz index fda7fd0..ee1cb58 100644 Binary files a/statsmodels-0.13.2.tar.gz and b/statsmodels-0.13.5.tar.gz differ