-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 26 March 2003 11:29 pm, Alex Mamtchenkov wrote: > 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?
What do you have in the %files section of the spec file? Even better, can you post your spec file? - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+goFan/07WoAb/SsRAoFVAKCF76rhjm5Wce60k8wwqTgwDy1dmQCghlSp 7ZWiAl6VEpcypoJYkyB/wNU= =rj9f -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list