Re: [opensuse] building RPMs
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 12:08:31 +0200 (CEST)
-----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
- References:
- Re: [opensuse] building RPMs - was: uninstall source
- From: lists Guillot
- Re: [opensuse] building RPMs
- From: Thomas Hertweck
- Re: [opensuse] building RPMs
- From: lists Guillot
- Re: [opensuse] building RPMs
- From: Johannes Nohl
- Re: [opensuse] building RPMs
- From: Carlos E. R.
- Re: [opensuse] building RPMs
- From: Pascal Bleser
- Re: [opensuse] building RPMs - was: uninstall source
- Prev by Date: Re: [opensuse] building RPMs
- Next by Date: Re: [opensuse] Another back-up question - Over & over again
- Previous by thread: Re: [opensuse] building RPMs
- Next by thread: [opensuse] Rebuilding wlan-kmp
- Index(es):
Relevant Pages
|