delete strip-file-prefix

This commit is contained in:
zhanliwen 2020-08-06 17:15:57 +08:00
parent 305dbb0a94
commit 8199d415d8
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: %{vendor}-rpm-config Name: %{vendor}-rpm-config
Version: 30 Version: 30
Release: 12 Release: 13
License: GPL+ License: GPL+
Summary: specific rpm configuration files Summary: specific rpm configuration files
URL: https://gitee.com/src-openeuler/openEuler-rpm-config URL: https://gitee.com/src-openeuler/openEuler-rpm-config
@ -117,6 +117,9 @@ mkdir -p %{buildroot}%{_fileattrsdir}
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Thu Aug 6 2020 tianwei <tianwei12@huawei.com> - 30-12
- delete strip-file-prefix
* Mon Aug 3 2020 Anakin Zhang <benjamin93@163.com> - 30-12 * Mon Aug 3 2020 Anakin Zhang <benjamin93@163.com> - 30-12
- add brp-digest-list - add brp-digest-list

View File

@ -177,7 +177,7 @@ find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $pyth
} }
%py3_install_wheel() %{expand:\\\ %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
} }
# python3_pkgversion specifies the version of Python 3 in the distro. It can be # python3_pkgversion specifies the version of Python 3 in the distro. It can be
# a specific version (e.g. 34 in Fedora EPEL7) # a specific version (e.g. 34 in Fedora EPEL7)