aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2022-04-10 17:57:17 +0300
committerJani Välimaa <wally@mageia.org>2022-04-10 17:57:17 +0300
commit1cb39e7fc337e37f3fbf8ab1803e62aede8d9efd (patch)
treeed3bf4b6ccf15f25f53269fcfba2d5b3a052e683
parentc89b99e4ad91ff227db39f94bf4dc8b6eb31d1f5 (diff)
downloadrpm-setup-1cb39e7fc337e37f3fbf8ab1803e62aede8d9efd.tar
rpm-setup-1cb39e7fc337e37f3fbf8ab1803e62aede8d9efd.tar.gz
rpm-setup-1cb39e7fc337e37f3fbf8ab1803e62aede8d9efd.tar.bz2
rpm-setup-1cb39e7fc337e37f3fbf8ab1803e62aede8d9efd.tar.xz
rpm-setup-1cb39e7fc337e37f3fbf8ab1803e62aede8d9efd.zip
build.macros: use %__os_install_post_python in %__os_install_post
-rw-r--r--NEWS2
-rw-r--r--build.macros.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0e3d8ed..067c7f8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- build.macros: use %__os_install_post_python in %__os_install_post
+
Version 2.63 - 10 April 2022, by Jani Välimaa
- build.macros: remove %__brp_python_bytecompile as it lives now in python-rpm-macros
diff --git a/build.macros.in b/build.macros.in
index 066c60c..e1c0f5a 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -435,10 +435,10 @@ fi
%{?__brp_strip_comment_note} \
%{?__brp_strip_static_archive} \
} \
- %{?py_auto_byte_compile:%{?__brp_python_bytecompile}} \
%{?__brp_check_rpaths} \
%{?__brp_remove_la_files} \
%{?__brp_mangle_shebangs} \
+ %{__os_install_post_python} \
%{nil}
%__spec_install_post\