Thorsten Hohmeier 21 лет назад
Родитель
Сommit
80614d9bb0
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      tomcat4-adapter/tomcat4-adapter.spec

+ 5 - 1
tomcat4-adapter/tomcat4-adapter.spec

@@ -36,7 +36,7 @@ Class:        EVAL
 Group:        Web
 License:      Apache Software License 1.1
 Version:      4.1.30
-Release:      20040908
+Release:      20040909
 
 #   package options
 %option       with_mod_webapp yes
@@ -112,6 +112,10 @@ AutoReqProv:  no
           --disable-java \
           --without-ant \
           --with-apr=$tempdir%{l_prefix}
+      %{l_shtool} subst \
+          -e "s;\\(-I%{prefix}/include/apr\\);-I$tempdir%{l_prefix}/include/apr \\1;g" \
+          -e "s;\\(-I%{prefix}/lib\\);-L$tempdir%{l_prefix}/lib \\1;g" \
+          Makedefs
       %{l_make} %{l_mflags}
     ) || exit $?
 %endif