]> git.pld-linux.org Git - packages/apache-mod_python.git/blobdiff - apache-mod_python.spec
- cosmetics.
[packages/apache-mod_python.git] / apache-mod_python.spec
index 67d37ba5ccc50b31c1a31c80d6cbe4dced58492e..2975b0a702e9d66f91a9bf2f159ed6294560972f 100644 (file)
@@ -1,7 +1,7 @@
 %define                mod_name        python
 Summary:       A Python for the Apache Web server
 Name:          apache-mod_%{mod_name}
-Version:       2.4
+Version:       2.4.1
 Release:       1
 License:       distributable
 Group:         Networking/Daemons
@@ -22,7 +22,6 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define python_includedir  %{python_prefix}/include/python%{python_version}
 %define python_sitedir     %{python_libdir}/site-packages
 
-
 %description
 mod_python allows embedding Python within the Apache Web server 
 for a considerable boost in performance and added flexibility 
@@ -56,12 +55,12 @@ gzip -9nf README COPYRIGHT NEWS CREDITS
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{apache_moddir},%{python_sitedir}/mod_%{mod_name}}
 
-install -d $RPM_BUILD_ROOT%{apache_moddir}
 install src/mod_%{mod_name}.so $RPM_BUILD_ROOT%{apache_moddir}
+
 strip --strip-unneeded $RPM_BUILD_ROOT%{apache_moddir}/* 
 
-install -d $RPM_BUILD_ROOT%{python_sitedir}/mod_%{mod_name}
 install lib/python/mod_python/* $RPM_BUILD_ROOT%{python_sitedir}/mod_%{mod_name}
 
 %post
@@ -83,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{apache_moddir}/*
-%{python_sitedir}/mod_%{mod_name}
 %doc doc/*
 %doc {README,COPYRIGHT,NEWS,CREDITS}.gz
+%attr(755,root,root) %{apache_moddir}/*
+%{python_sitedir}/mod_%{mod_name}
This page took 0.025199 seconds and 4 git commands to generate.