diff --git a/python-simpy.spec b/python-simpy.spec index e8d3bb20e7bf94fcd12a0ae1ec7e7c358244ca23..5e68a70c09c345b7410ab13a08f4eef90ae3ca47 100644 --- a/python-simpy.spec +++ b/python-simpy.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-simpy -Version: 4.0.1 -Release: 2 +Version: 4.1.1 +Release: 1 Summary: Event discrete, process based simulation for Python. License: MIT URL: https://gitlab.com/team-simpy/simpy -Source0: https://files.pythonhosted.org/packages/73/3f/ad9e5cea2115baf12ea7a65f667fcc274f6f897f61bd663b13da5bf3c10e/simpy-4.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/a8/66/860505ec021a16f9d8cf4b8c4d60ee07bb427649b643312303698c93b551/simpy-4.1.1.tar.gz BuildArch: noarch @@ -18,9 +18,10 @@ limited capacity congestion points (like servers, checkout counters and tunnels) %package -n python3-simpy Summary: Event discrete, process based simulation for Python. -Provides: python-simpy +Provides: python-simpy = %{version}-%{release} BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel BuildRequires: python3-setuptools_scm %description -n python3-simpy SimPy is a process-based discrete-event simulation framework based on standard @@ -40,46 +41,28 @@ agents. SimPy also provides various types of shared resources to model limited capacity congestion points (like servers, checkout counters and tunnels). %prep -%autosetup -n simpy-4.0.1 +%autosetup -n simpy-%{version} %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-simpy -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-simpy +%{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog +* Tue Mar 19 2024 jiangxinyu - 4.1.1-1 +- Update package to version 4.1.1 + * Tue Aug 02 2022 liukuo - 4.0.1-2 - License compliance rectification diff --git a/simpy-4.0.1.tar.gz b/simpy-4.0.1.tar.gz deleted file mode 100644 index 0a25b3ab555685cdac20dd536cf90155a2867c9a..0000000000000000000000000000000000000000 Binary files a/simpy-4.0.1.tar.gz and /dev/null differ diff --git a/simpy-4.1.1.tar.gz b/simpy-4.1.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..11157691f95f7742e59af2993dfa6e400f3d2878 Binary files /dev/null and b/simpy-4.1.1.tar.gz differ