summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
52a20df)
- don't run make install in install, as we do this by copying preinstalled files
%build
%{__aclocal}
%{__autoconf}
%build
%{__aclocal}
%{__autoconf}
%if %{with python2}
%configure \
--with-apxs=%{apxs} \
--with-python=%{__python}
%if %{with python2}
%configure \
--with-apxs=%{apxs} \
--with-python=%{__python}
%{__make} dso
install -d apache-mod_python{%{apachelibdir},%{apacheconfdir},%{_bindir}}
%{__make} install \
DESTDIR=`pwd`/apache-mod_python
%{__make} dso
install -d apache-mod_python{%{apachelibdir},%{apacheconfdir},%{_bindir}}
%{__make} install \
DESTDIR=`pwd`/apache-mod_python
%endif
%if %{with python3}
%configure \
--with-apxs=%{apxs} \
--with-python=%{__python3}
%endif
%if %{with python3}
%configure \
--with-apxs=%{apxs} \
--with-python=%{__python3}
%{__make} dso
install -d apache-mod_python3{%{apachelibdir},%{apacheconfdir},%{_bindir}}
%{__make} install \
%{__make} dso
install -d apache-mod_python3{%{apachelibdir},%{apacheconfdir},%{_bindir}}
%{__make} install \
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{apachelibdir},%{apacheconfdir},%{_bindir}}
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{apachelibdir},%{apacheconfdir},%{_bindir}}
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-
%if %{with python2}
cp -a apache-mod_python/* $RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/60_mod_python.conf
%if %{with python2}
cp -a apache-mod_python/* $RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/60_mod_python.conf