Carsten Gerlach
Am Sonntag 24. August 2008 14:28:43 schrieb Bernhard Walle:
* Carsten Gerlach
[2008-08-24 13:34]: What can I do to avoid this warning?
Don't install to /usr/local/bin but to %{_bindir} (which is /usr/bin).
Ok, but how do I have to write this to the spec file?
Does your package use Autotools (configure && make && make install)?
Yes.
Does it makes sense to post my spec file here, or is the link enough? https://build.opensuse.org/package/view_file?file=nted.spec&package=nted&project=home%3Adaswaldhorn
Yes, helped ;) You use: ./configure instead use ./configure --prefix=%{_prefix} (%{_prefix} expands to /usr) or even better use the macro %configure, Andreas -- Andreas Jaeger, Director Platform / openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126