[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
.spec uninstall section
- From: Alex Mamtchenkov <alex leonid maks net>
- To: redhat-list redhat com
- Subject: .spec uninstall section
- Date: Wed Mar 26 23:30:01 2003
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: alex leonid maks net
URL : http://mamont.pp.ru/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]