Inside of an RPM I have
%{__install} %{SOURCE2} %{buildroot}
I believe that %{__install} is a macro. Where do I find where it is defined? What is the definition? Was it provided by the system or distro, or is it a core rpm thing?
Inside of an RPM I have
%{__install} %{SOURCE2} %{buildroot}
I believe that %{__install} is a macro. Where do I find where it is defined? What is the definition? Was it provided by the system or distro, or is it a core rpm thing?
Using __install as an example you can see where it's defined with
rpm --showrc | grep __install
Or you can see the definition with
rpm --eval "%{__install}"