diff --git a/jython.spec b/jython.spec index 5dde271ae916cbc6e39324f359d69245d3700879..1d3a450ae2ce8b2aedf61aacf83e7fbd81df1fa7 100644 --- a/jython.spec +++ b/jython.spec @@ -2,7 +2,7 @@ %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') Name: jython Version: 2.7.1 -Release: 2 +Release: 3 Summary: A Java implementation of the Python language License: ASL 1.1 and BSD URL: http://www.jython.org/ @@ -63,18 +63,18 @@ Demonstrations and samples for %{name}. %prep %setup -q -n jython-%{version} -%patch2 -R -p1 -%patch0 -%patch1 -%patch3 -%patch4 -p1 -%patch5 +%patch -P 2 -R -p1 +%patch -P 0 +%patch -P 1 +%patch -P 3 +%patch -P 4 -p1 +%patch -P 5 find . -type f -a -name *.jar -delete find . -type f -a -name *.exe -delete find . -type f -a -name *.dll -delete %if %{with rpmwheels} -%patch189 -p1 +%patch -P 189 -p1 rm Lib/ensurepip/_bundled/*.whl rmdir Lib/ensurepip/_bundled %endif @@ -140,6 +140,9 @@ ln -s %{_datadir}/%{name}/bin/jython $RPM_BUILD_ROOT%{_bindir} %{_datadir}/%{name}/Demo %changelog +* Tue Dec 17 2024 litian - 2.7.1-3 +- fix %patchN is deprecated warning + * Mon Nov 13 2023 wangkai <13474090681@163.com> - 2.7.1-2 - Fix build failure caused by guava upgrade