From f09ccd21f57eb962cbb3fcee33190c0dfdbc6f8f Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Aug 26 2019 15:33:41 +0000 Subject: Drop --strip-file-prefix option from %pyX_install_wheel macros, it is not needed A custom pip patch was needed for this option, but the RECORD files are relative, so no stripping is needed. We will eventually drop the patch. --- diff --git a/macros.python2 b/macros.python2 index 38c6eb9..4ff5f41 100644 --- a/macros.python2 +++ b/macros.python2 @@ -41,5 +41,5 @@ } %py2_install_wheel() %{expand:\\\ - pip%{python2_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps + pip%{python2_version} install -I dist/%{1} --root %{buildroot} --no-deps } diff --git a/macros.python3 b/macros.python3 index a170c4b..20d6700 100644 --- a/macros.python3 +++ b/macros.python3 @@ -35,5 +35,5 @@ } %py3_install_wheel() %{expand:\\\ - pip%{python3_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps + pip%{python3_version} install -I dist/%{1} --root %{buildroot} --no-deps } diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index b1eb6d0..1355a69 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -1,6 +1,6 @@ Name: python-rpm-macros Version: 3 -Release: 47%{?dist} +Release: 48%{?dist} Summary: The unversioned Python RPM macros # macros: MIT, compileall2.py: PSFv2 @@ -78,6 +78,9 @@ install -m 644 %{SOURCE5} \ %changelog +* Mon Aug 26 2019 Miro Hrončok - 3-48 +- Drop --strip-file-prefix option from %%pyX_install_wheel macros, it is not needed + * Fri Jul 26 2019 Fedora Release Engineering - 3-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild