SHA256
1
0
forked from pool/python312

Accepting request 1148455 from devel:languages:python:Factory

- Switch to %%autopatch. Let’s try it as an experiment, and if we
  need conditional patch, we should put condition inside of it.
- Remove double definition of /usr/bin/idle%%{version} in
  %%files.

OBS-URL: https://build.opensuse.org/request/show/1148455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python312?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2024-02-22 19:55:26 +00:00 committed by Git OBS Bridge
commit 6fb45ea97f
2 changed files with 9 additions and 15 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Feb 20 18:12:05 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Switch to %%autopatch. Lets try it as an experiment, and if we
need conditional patch, we should put condition inside of it.
- Remove double definition of /usr/bin/idle%%{version} in
%%files.
-------------------------------------------------------------------
Thu Feb 15 10:29:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -418,20 +418,7 @@ other applications.
%prep
%setup -q -n %{tarname}
%patch -P 07 -p1
%patch -P 08 -p1
%patch -P 09 -p1
%patch -P 15 -p1
%patch -P 29 -p1
# %%if 0%%{?suse_version} <= 1500
%patch -P 33 -p1
# %%endif
# %%if 0%%{?sle_version} && 0%%{?sle_version} <= 150300
%patch -P 34 -p1
# %%endif
%patch -P 35 -p1
%patch -P 36 -p1
%patch -P 37 -p1
%autopatch -p1
# drop Autoconf version requirement
sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac
@ -820,7 +807,6 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/48x48
%dir %{_datadir}/icons/hicolor/*/apps
%attr(755, root, root) %{_bindir}/idle%{python_version}
# endif for if general
%endif