dcavalca / rpms / rpm

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