diff --git a/APScheduler-3.10.4.tar.gz b/APScheduler-3.10.4.tar.gz
deleted file mode 100644
index 1c66ac55635007efe78a2ea32f14a247c3bb50d1..0000000000000000000000000000000000000000
Binary files a/APScheduler-3.10.4.tar.gz and /dev/null differ
diff --git a/apscheduler-3.11.0.tar.gz b/apscheduler-3.11.0.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..563614baea97277c808624c20fac23909c829106
Binary files /dev/null and b/apscheduler-3.11.0.tar.gz differ
diff --git a/python-apscheduler.spec b/python-APScheduler.spec
similarity index 45%
rename from python-apscheduler.spec
rename to python-APScheduler.spec
index c06cf489e2f5eb891b1fded058e11b7d0915df4a..6bd683ffa2ef6f86e7e2eb1952abdccfb6a1186e 100644
--- a/python-apscheduler.spec
+++ b/python-APScheduler.spec
@@ -1,38 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-APScheduler
-Version: 3.10.4
+Version: 3.11.0
Release: 1
Summary: In-process task scheduler with Cron-like capabilities
License: MIT
URL: https://github.com/agronholm/apscheduler
-Source0: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
+Source0: %{pypi_source apscheduler}
BuildArch: noarch
-BuildRequires: python-setuptools_scm python3-pip python3-setuptools python3-six python3-pytz
-BuildRequires: python3-funcsigs python3-gevent python3-pymongo python3-redis
-BuildRequires: python3-sqlalchemy python3-mock python3-tornado
-Requires: python3-setuptools
-Requires: python3-six
-Requires: python3-pytz
-Requires: python3-tzlocal
-Requires: python3-futures
-Requires: python3-funcsigs
-Requires: python3-trollius
-Requires: python3-sphinx
-Requires: python3-sphinx-rtd-theme
-Requires: python3-gevent
-Requires: python3-pymongo
-Requires: python3-redis
-Requires: python3-rethinkdb
-Requires: python3-sqlalchemy
-Requires: python3-pytest
-Requires: python3-pytest-cov
-Requires: python3-pytest-tornado5
-Requires: python3-mock
-Requires: python3-pytest-asyncio
-Requires: python3-tornado
-Requires: python3-twisted
-Requires: python3-kazoo
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-setuptools_scm
%description
Documentation can be found `here `_.
@@ -52,47 +30,29 @@ Provides: python3-APScheduler-doc
Documentation can be found `here `_.
%prep
-%autosetup -n APScheduler-%{version} -p1
-awk '{gsub(/'\''tzlocal >= 2.0, != 3\..*'\''/, "'\''tzlocal >= 3.0'\''")}1' setup.py > setup.py.tmp && mv setup.py.tmp setup.py
+%autosetup -n apscheduler-%{version} -p1
%build
-%py3_build
+%pyproject_build
%install
-%py3_install
+%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
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
-pushd %{buildroot}
-if [ -d usr/lib ]; then
- find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
-fi
-if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
-fi
-if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
-fi
-if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
-fi
-touch doclist.lst
-if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
-fi
-popd
-mv %{buildroot}/filelist.lst .
-mv %{buildroot}/doclist.lst .
-%files -n python3-APScheduler -f filelist.lst
-%dir %{python3_sitelib}/*
+%files -n python3-APScheduler
+%{python3_sitelib}/*
-%files help -f doclist.lst
+%files help
%{_docdir}/*
%changelog
+* Mon Aug 11 2025 wangkai <13474090681@163.com> - 3.11.0-1
+- Update package to version 3.11.0
+
* Wed Nov 01 2023 jiangxinyu - 3.10.4-1
- Update package to version 3.10.4
diff --git a/python-APScheduler.yaml b/python-APScheduler.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..3dfe902a5b83c62bd484d689a17b040cac3609be
--- /dev/null
+++ b/python-APScheduler.yaml
@@ -0,0 +1,4 @@
+version_control: github
+src_repo: agronholm/apscheduler
+tag_prefix:
+separator: .