Hello,

for the whole night through I was trying to create an RPM package from
source. What I managed to do was I created a .spec file in
/usr/src/redhat/SPEC, I put the .tgz file in /usr/src/redhat/SOURCE and
I managed to get an .rpm file in /usr/src/redhat/RPM/i386.

Ok, I can install it, it works, but what if I need to uninstall it?
After the installation only 1 file will be created
(/usr/local/bin/myaddr). When I run a "rpm -e ..." the packages goes
away from RPM DB, so if I try to repeat the same action I get something
like "The package ... is not installed" but the binary file still exists
in /usr/local/bin. In what was should I correct the .spec file to make
rpm remove the binary file after deinstallation of my package?

-- 
Best regards,
        Alex Mamtchenkov
        Email: [EMAIL PROTECTED]
        URL  : http://mamont.pp.ru/



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to