Re: [opensuse] building RPMs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Monday 2007-04-30 at 09:20 +0200, Pascal Bleser wrote:

Carlos E. R. wrote:

No, I mean it: use /usr, not /usr/local

So, you make a package "foo" yourself, e.g. with checkinstall.
You prefix it to /usr/local because you don't redistribute it, because
it's a "local package" (whatever that means: a package is either in the
RPM database or not, there is no "local RPM database").

I know there is no local rpm database. So what?

For one thing, I always update the system, so the database remains. I
still keep packages I installed five years ago, listed in the rpm list.

And even if I don't, I will still have my programs; orphaned from the
database, but still there. If they sit in /usr, I loose them, which is
worse.



and hence, the files of your package in /usr/local won't be in the RPM
database (which is the same as having installed it with "make install"
in the first place).

Ie, SuSE does not use "/usr/local" because it is reserved for *you*. ;-)

No, I stick with what I said: /usr/local is for what you install with
"make install", not for RPMs (including RPMs built with checkinstall).

And I stick with my opinion of using /usr/local - we agree to disagree :-)


If you worry about conflicts, then leave the local paths last. The non
local version will be used.



One more detail: you will see that users may have the /usr/local/bin first
in their path, but often root does not even have it included - on purpose
so as to execute "official" programs only.

Define "official". Packages redistributed in the openSUSE Build Service,
Packman, Guru, suser-*, etc... are all prefixed to /usr and not /usr/local.

Well, let's say packagers that provide official or semioficial packages.
Whatever. Notice the "quotes", meaning the meaning of "official" is not
strict.

- --
Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGNcAjtTMYHG2NR9URAswJAJ4nQyRFqPHB35sljxd9qYMAae8ImwCcCMZR
lTHxA5x90KPONrBFc195Sxg=
=NXK4
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [SLE] deCSS
    ... >> Anyone know of a reasonably easy decss program to copy DVDs to my hard ... This let's you compile from source but converts it to an rpm ... Then instead of make install you type checkinstall. ... package to meet the dependencies it may not be recognized by the other ...
    (SuSE)
  • Re: RH 9.0, Putting Samba on Linux with RPM?
    ... I need to install Samba with RPM. ... downloading the various manuals in the package forms. ...
    (linux.redhat.misc)
  • Re: Back Again
    ... Start with package dependencies and then think about just what ... the presence of a foreign RPM cause such a nervous breakdown? ... database, and imports all of the dependencies into my internal package ... provides those resources, then install the dummy package, so my internal ...
    (Fedora)
  • Re: dpkg package "stuck"
    ... >> My dpkg database seems to be slightly corrupted with respect to the ... 55245 Package: imgsizer ... 55246 Status: install ok installed ... 55262 The package needs either the imagemagick package or both the ...
    (Debian-User)
  • [PATCH 1/2] kbuil: add deb-pkg target
    ... # To prepare kbuild for more kernel packaging formats move all packaging ... # In top-level Makefile introduce generic support for all package ... Included the old rpm target for backward ... # and builddeb scripts. ...
    (Linux-Kernel)