-
I am learning rpm/rpmbuild and I see strange behavior difference in RPM v4.4.2.3 and RPM v4.14.
and rpmmacros has below contents
When I execute
Also tried My question is why this difference and why for RPM v4.14.3 its not reading the rcfile. I tried same with RPM v4.11(openSUSE) and its behaviour is same as RPM v4.14.3. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Support for |
Beta Was this translation helpful? Give feedback.
-
The problem was solved by copying rpmmacros file in home directory as .rpmmacros. Modified makefiles and add below command cp -f <PATH_TO>/rpmmacros ~/.rpmmacros |
Beta Was this translation helpful? Give feedback.
Support for
macrofiles:
directive in rpmrc was dropped in rpm 4.6.0, 13 years ago. Rpm v4.4 is old and long obsolete, the only thing you'll learn from it is bad habits.