]> git.pld-linux.org Git - packages/subversion.git/commitdiff
- more apache build system unify
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 13 Mar 2006 22:42:01 +0000 (22:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    subversion.spec -> 1.158

subversion.spec

index a4a85ad56222c717e3b50a96920dc8312a4355b6..a9a9599db5d3d9efb52efaa158e2dcbfba93c8c1 100644 (file)
@@ -10,6 +10,7 @@
 %bcond_without apache                          # build without apache support (webdav, etc)
 #
 %{!?with_net_client_only:%include      /usr/lib/rpm/macros.perl}
+%define        apxs    /usr/sbin/apxs
 Summary:       A Concurrent Versioning system similar to but better than CVS
 Summary(pl):   System kontroli wersji podobny, ale lepszy, ni¿ CVS
 Summary(pt_BR):        Sistema de versionamento concorrente
@@ -60,8 +61,8 @@ BuildRequires:        which
 Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _apachelibdir   /usr/%{_lib}/apache
-%define                _libexecdir     %{_libdir}/svn
+%define                _apachelibdir   %(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define                _libexecdir             %{_libdir}/svn
 
 %description
 The goal of the Subversion project is to build a version control
This page took 0.033933 seconds and 4 git commands to generate.