[opensuse-buildservice] apache_sysconfdir macro confusion
Hi, I have a spec file that defines apache_sysconfdir like %define apache_sysconfdir /etc/apache2 Later on I try to use that macro, but it appears that it does not get expanded. Just changing the name of the macro solved the problem. Which leads me to the conclusion that this special name is reserved and defined somewhere else. So if I just don't define it but still use it later on, its not expanded either. /usr/lib/rpm/macros does not specify any apache specific macro, I am a bit confused. Can someone enlighten me on this? 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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. Philipp -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, May 22, 2012 at 5:27 PM, Isaac Hailperin <i.hailperin@heinlein-support.de> 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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)
maybe it's not in SuSE official macros yet but a php/apache2 packagers' deal.(I can't find it anywhere either)
marguerite I see. Thank you!
Isaac -- Isaac Hailperin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Isaac Hailperin
-
Marguerite Su
-
Philipp Thomas