diff --git a/generic-rpm-config.spec b/generic-rpm-config.spec index f6e3801..958401a 100644 --- a/generic-rpm-config.spec +++ b/generic-rpm-config.spec @@ -2,7 +2,7 @@ Name: %{vendor}-rpm-config Version: 30 -Release: 12 +Release: 13 License: GPL+ Summary: specific rpm configuration files URL: https://gitee.com/src-openeuler/openEuler-rpm-config @@ -117,6 +117,9 @@ mkdir -p %{buildroot}%{_fileattrsdir} %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Thu Aug 6 2020 tianwei - 30-12 +- delete strip-file-prefix + * Mon Aug 3 2020 Anakin Zhang - 30-12 - add brp-digest-list diff --git a/macros.python b/macros.python index cadd31b..34795b5 100644 --- a/macros.python +++ b/macros.python @@ -177,7 +177,7 @@ find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $pyth } %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 # a specific version (e.g. 34 in Fedora EPEL7)