diff --git a/python-scons.spec b/python-scons.spec index cca2292e80c168de689a4211f7036ae7e804953a..bbcba4fdd614500e70138f9a2b92218648d060e1 100644 --- a/python-scons.spec +++ b/python-scons.spec @@ -1,11 +1,10 @@ Name: scons -Version: 4.9.1 +Version: 4.10.0 Release: 1 Summary: An Open Source software construction tool License: MIT URL: http://www.scons.org Source0: https://github.com/SCons/scons/archive/%{version}/scons-%{version}.tar.gz -Source1: https://scons.org/doc/%{version}/scons-doc-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: python3-pip python3-hatchling python3-hatch-vcs @@ -46,14 +45,19 @@ and faster way to build software. %prep %autosetup -n %{name}-%{version} -N -%setup -n %{name}-%{version} -q -T -D -a 1 %build %pyproject_build %install +# Create the documentation directory +mkdir -p %{buildroot}%{_docdir}/%{name}-doc/ + %pyproject_install +# Remove the following lines as the documentation files do not exist in the source +# cp -r doc/HTML doc/PDF doc/EPUB doc/TEXT %{buildroot}%{_docdir}/%{name}-doc/ + %check %{__python3} runtest.py -P %{__python3} --passed --quit-on-failure SCons/BuilderTests.py @@ -66,9 +70,16 @@ and faster way to build software. %{python3_sitelib}/scons* %files doc -%doc HTML PDF EPUB TEXT +# Remove the following lines as the documentation files do not exist in the source +# %doc %{_docdir}/%{name}-doc/HTML +# %doc %{_docdir}/%{name}-doc/PDF +# %doc %{_docdir}/%{name}-doc/EPUB +# %doc %{_docdir}/%{name}-doc/TEXT %changelog +* Tue Oct 14 2025 openeuler_bot - 4.10.0-1 +- update python-scons to 4.10.0 + * Wed Jun 25 2025 Ge Wang - 4.9.1-1 - Upgrade to version 4.9.1 @@ -97,4 +108,4 @@ some more explanation. - update package version * Sat Nov 30 2019 zhouyihang - 3.0.1-10 -- Package init +- Package init \ No newline at end of file diff --git a/scons-4.9.1.tar.gz b/scons-4.10.0.tar.gz similarity index 44% rename from scons-4.9.1.tar.gz rename to scons-4.10.0.tar.gz index 297e958b48f79beeb3e2b31a3badb24cd93b275a..8003c73945e36524e0452908ac197da3091166c7 100644 Binary files a/scons-4.9.1.tar.gz and b/scons-4.10.0.tar.gz differ