alexk / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
83a7c7
diff -up rpm-4.14.2/macros.in.pyerror rpm-4.14.2/macros.in
83a7c7
--- rpm-4.14.2/macros.in.pyerror	2019-06-04 13:33:48.450727270 +0300
83a7c7
+++ rpm-4.14.2/macros.in	2019-06-04 13:34:09.717695822 +0300
83a7c7
@@ -50,7 +50,7 @@
83a7c7
 %__mv			@__MV@
83a7c7
 %__patch		@__PATCH@
83a7c7
 %__perl			@__PERL@
83a7c7
-%__python		@__PYTHON@
83a7c7
+%__python		%{error:attempt to use unversioned python, define %%__python to %{_bindir}/python2 or %{_bindir}/python3 explicitly}
83a7c7
 %__restorecon		@__RESTORECON@
83a7c7
 %__rm			@__RM@
83a7c7
 %__rsh			@__RSH@