-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On June 18, 2001 04:53 pm, Mark Hounschell wrote:
According the the LSB/LFS anything installed onto the machine that did not come with the distribution should be installed into /usr/local. This is supposed to guarantee that any subsequent updates do not overwrite any externally added software. Any update procedure is supposed to be sure that if the word local is in the path of a file then it is off limits. So any rpm you wanted to build that is not part of the distrubtion does not need to be suse specific. It should really be an rpm that could be installed on ANY linux box without having to worry about the distribution. This makes building an rpm much easier and you do not need Len's procedure to build an rpm that will work and be LSB compliant. In fact I beleive you are looking for trouble trying to make a so called "SuSE-compatable RPM" unless you are trying to help SuSE in some way. Your better off just building your basic rpm that installs into /usr/local. I do it just to try to maintain the rpm database. It's really not neccassary to be SuSE specific. What if you (god forbid) decided to change distributions? All that work you did may be for naught. Just my opinion..
I wish this were always possible. There are four main problems with this: 1) If an RPM was built with specific libraries, it may not work with the library versions on other distributions. Try installing your SuSE RPMs on RedHat 7.1 with a different Glibc... 2) 'Requires' are arbitrarily named. One distribution may say 'PyXML' while another may say 'python-xml.' If your RPM requires 'PyXML' and your distribution 'Provides' 'python-xml,' installation will fail unless --nodeps is passed. It is bad practice to use that option too much 3) Many packages have to go somewhere specific and will not work if installed under /usr/local. Some examples: KDE programs (the binary may work, but the help files will not), Python modules, Perl modules, various daemons, etc. 4) Startup scripts are handled differently in different distributions For these reasons, you'll see many projects offer different RPMs for different distributions. I wish it were different, but that's the way it is. Unfortunately, with the exception of the startup scripts, the LSB will not help... - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7LmhA+FOexA3koIgRArmuAJ9DcFj9PYEhFRkQi9iOPLxI1N5+hACgqY/q e9OS2RLSTHYrRuTvQDj/tMk= =xA0T -----END PGP SIGNATURE-----