LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpm problem (https://www.linuxquestions.org/questions/linux-software-2/rpm-problem-788761/)

longp 02-12-2010 03:36 PM

rpm problem
 
I'm building an rpm package using rpmbuild -ba myfile.spec and at the end it tries to run /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot

I don't know where this line is coming from? since I don't have check-rpaths and check-buildroot in /usr/lib/rpm folder

Anyone has an idea?

Regards

Long

unSpawn 02-12-2010 05:24 PM

Since both scripts provide basic quality checks (absence of hardcoded rpaths or buildroot) you shouldn't want to muck with those. See if 'rpm --eval %{__arch_install_post}' yields something recognizable. If it does then you could %define __arch_install_post in your .spec file or ~/.rpmmacros (you don't build RPMs as root do you?) with the contents you want.


All times are GMT -5. The time now is 06:26 AM.