Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
Re: [opensuse-buildservice] apache_sysconfdir macro confusion
On Tue, May 22, 2012 at 5:27 PM, Isaac Hailperin
<i.hailperin@xxxxxxxxxxxxxxxxxxx> wrote:
On 05/16/2012 09:08 PM, Philipp Thomas wrote:

On May 16th 2012 16:31 Isaac Hailperin wrote:

/usr/lib/rpm/macros does not specify any apache specific macro, I am a
bit confused.

Can someone enlighten me on this?

Have a look at /etc/rpm its content is the other source for rpm macros.

Nothing there either.

Isaac


--
Isaac Hailperin
Heinlein Professional Linux Support GmbH
Linux: Akademie - Support - Hosting
http://www.heinlein-support.de

Tel: 030-405051-45
Fax: 030-405051-19

Zwangsangaben lt. §35a GmbHG:
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein  -- Sitz: Berlin

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx


Hi,

%define apxs /usr/sbin/apxs2
%define apache apache2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define apache_includedir %(%{apxs} -q INCLUDEDIR)
%define apache_serverroot %(%{apxs} -q PREFIX)
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x
$MMN && $MMN)

https://build.opensuse.org/package/view_file?file=apache2-mod_nss.spec&package=apache2-mod_nss&project=home%3Apeternixon%3A389-ds

maybe it's not in SuSE official macros yet but a php/apache2
packagers' deal.(I can't find it anywhere either)

marguerite
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups