Bug ID 1179923
Summary Package apache-rpm-macros is broken!
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware All
OS openSUSE Tumbleweed
Status NEW
Severity Major
Priority P5 - None
Component Apache
Assignee bnc-team-apache@forge.provo.novell.com
Reporter werner@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Currently the build of info2hrml does break with the message:

  [   45s] info2html-2.0-0.noarch.rpm: directories not owned by a package:
  [   45s]  - /usr/cgi-bin
  [   45s]  - /usr/htdocs

now as the build of info2hrml uses the macro %{apache_serverroot} defined in

  /usr/lib/rpm/macros.d/macros.apache

of package apache-rpm-macros this points out that this can not be correct as
in the spec file of apache-rpm-macros there is the line

  %define ap_serverroot            %(%{ap_apxs} -q PREFIX)

and if I run

  apxs -q PREFIX

it reports

  /usr

but the package apache2.spec shows

  %define datadir         /srv/www

  cat > config.layout <<-EOF
  # SUSE Layout
  <Layout SUSE>
      prefix:        %{datadir}
      exec_prefix:   %{_prefix}
      bindir:        %{_bindir}
      sbindir:       %{_sbindir}
      libdir:        %{_libdir}
      libexecdir:    %{libexecdir}
      mandir:        %{_mandir}
      sysconfdir:    %{sysconfdir}
      datadir:       %{datadir}
      installbuilddir: %{installbuilddir}
      errordir:      %{errordir}
      iconsdir:      %{iconsdir}
      htdocsdir:     %{htdocsdir}
      manualdir:     %{manualdir}
      cgidir:        %{cgidir}
      includedir:    %{includedir}
      localstatedir: %{localstatedir}
      runtimedir:    %{runtimedir}
      logfiledir:    %{logfiledir}
      proxycachedir: %{proxycachedir}
  </Layout>

Please correct this or define a macro for directory for cgi binaries as well as
a directory for htdocs files as well


You are receiving this mail because: