From df2471a1fa1c27379565717a2d5cb28e43429ac61886a2dda59dad083503a164 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 29 Nov 2021 21:19:34 +0000 Subject: [PATCH] Run spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=92 --- python39.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/python39.spec b/python39.spec index 533b853..a68a611 100644 --- a/python39.spec +++ b/python39.spec @@ -124,13 +124,13 @@ Source100: PACKAGING-NOTES # to /usr/local if executable is /usr/bin/python* and RPM build # is not detected to make pip and distutils install into separate location Patch02: F00251-change-user-install-location.patch -# PATCH-FEATURE-UPSTREAM distutils-reproducible-compile.patch gh#python/cpython#8057 mcepl@suse.com -# Improve reproduceability -Patch06: distutils-reproducible-compile.patch # PATCH-FEATURE-UPSTREAM decimal.patch bsc#1189356 mcepl@suse.com # fix building with mpdecimal # https://www.bytereef.org/contrib/decimal.diff Patch05: decimal.patch +# PATCH-FEATURE-UPSTREAM distutils-reproducible-compile.patch gh#python/cpython#8057 mcepl@suse.com +# Improve reproduceability +Patch06: distutils-reproducible-compile.patch # support finding packages in /usr/local, install to /usr/local by default Patch07: python-3.3.0b1-localpath.patch # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible builds @@ -159,10 +159,6 @@ BuildRequires: lzma-devel BuildRequires: netcfg BuildRequires: openssl-devel BuildRequires: pkgconfig -%if 0%{?suse_version} >= 1550 -# The provider for python(abi) is in rpm-build-python -BuildRequires: rpm-build-python -%endif BuildRequires: xz BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(expat) @@ -170,6 +166,10 @@ BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(zlib) #!BuildIgnore: gdk-pixbuf-loader-rsvg +%if 0%{?suse_version} >= 1550 +# The provider for python(abi) is in rpm-build-python +BuildRequires: rpm-build-python +%endif %if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(libnsl) BuildRequires: pkgconfig(libtirpc)