Hi
I am having a doubt about the user defined macros in RPMS.
I believe we can create our own macros in the .rpmmacros file. So i did create a macro called %_user_switch xxxx in the .rpmmacros file. Now i am using this macro in the spec file's
%pre section as
su %{_user_switch}
Now before firing rpm -Uvh, i am redefining this macro at the command line as rpm --define '_user_switch yyyy'
Now if i try to install my rpm, it is installing the files as xxxx itself ....
Is there any other way i can redefine a macro for rpm install ?
Thanks & Regards
Lis Thomas
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list