[opensuse-buildservice] apache2-devel replacement for Fedora
Hello, I'm trying to build postfixadmin for Fedora (6, 7 and 8) and get expansion errors for all of them: nothing provides apache2-devel Does someone know which package I need to use instead as BuildRequires? The reason why I need apache2-devel is: %define serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || /usr/sbin/apxs2 -q PREFIX)/htdocs/ BTW: The package is postfixadmin-svn in home:cboltz Regards, Christian Boltz --
Du kennst das doch sicher, wenn Briefkoepfe mittels Leerzeichen (nein, nichtmal justierbare Tabs werden verwendet) per Hand ausgerichtet und zusammengeschustert werden -- wie auf der Schreibmaschine eben... "Sekretärinnentabulator" (TM) [> David Haller und Ratti in suse-linux]
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Christian Boltz escribió:
Does someone know which package I need to use instead as BuildRequires?
httpd-devel Cheers, -- "The only thing that interferes with my learning is my education." - Albert Einstein Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, on Montag, 3. Dezember 2007, Cristian Rodríguez wrote:
Christian Boltz escribió:
Does someone know which package I need to use instead as BuildRequires?
httpd-devel
Thanks, that is what I needed. Unfortunately httpd-devel is Apache 1.x, so a mapping wouldn't be really useful because I have to call apxs instead of apxs2. (Webpin for all distros in the buildservice would be quite useful...) I ended up with a %if section: %if %{defined fedora_version} BuildRequires: httpd-devel %define serverroot %(/usr/sbin/apxs -q datadir 2>/dev/null || /usr/sbin/apxs -q PREFIX)/htdocs/ %else BuildRequires: apache2-devel %define serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || /usr/sbin/apxs2 -q PREFIX)/htdocs/ Recommends: postfix Suggests: php-pgsql %endif Fedora's RPM also doesn't understand Recommends and Suggests :-( Is it possible that the buildservice strips these tags automatically? Regards, Christian Boltz -- He was the same guy formatting his linux two year ago because his soundcard didn't work. After a while of consolehacking, google-ing and investigating he setup windows again (it would be the better solution ... lmao). After windows was setup the soundcard didn't work again and he plugged in the cable. [Philippe Vogel in suse-security] --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday 04 December 2007 14:12:06 Christian Boltz wrote:
Hello,
on Montag, 3. Dezember 2007, Cristian Rodríguez wrote:
Christian Boltz escribió:
Does someone know which package I need to use instead as BuildRequires?
httpd-devel
Thanks, that is what I needed. Unfortunately httpd-devel is Apache 1.x, so a mapping wouldn't be really useful because I have to call apxs instead of apxs2.
Try httpd2-devel
(Webpin for all distros in the buildservice would be quite useful...)
I ended up with a %if section:
%if %{defined fedora_version} BuildRequires: httpd-devel %define serverroot %(/usr/sbin/apxs -q datadir 2>/dev/null || /usr/sbin/apxs -q PREFIX)/htdocs/ %else BuildRequires: apache2-devel %define serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || /usr/sbin/apxs2 -q PREFIX)/htdocs/ Recommends: postfix Suggests: php-pgsql %endif
Fedora's RPM also doesn't understand Recommends and Suggests :-( Is it possible that the buildservice strips these tags automatically?
Those need to be ifdef's in the spec file.
Regards,
Christian Boltz
HTH, Peter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Plinnell wrote:
On Tuesday 04 December 2007 14:12:06 Christian Boltz wrote:
Unfortunately httpd-devel is Apache 1.x,
This is not true, httpd is Apache 2 in Fedora.
so a mapping wouldn't be really useful because I have to call apxs instead of apxs2.
This is true.
Try httpd2-devel
There's no httpd2 in Fedora. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Christian Boltz
-
Cristian Rodríguez
-
Michal Marek
-
Plinnell