]> 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 49be525dc15aa83fa3a1c0de1d03fa5affcda630..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 
@@ -52,16 +51,16 @@ fi
 cd src
 /usr/sbin/apxs -I%{python_includedir} $LDFLAGS -o mod_%{mod_name}.so -c mod_%{mod_name}.c
 cd ..
-gzip -9nf README COPYRIGHT
+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)
+%doc doc/*
+%doc {README,COPYRIGHT,NEWS,CREDITS}.gz
 %attr(755,root,root) %{apache_moddir}/*
 %{python_sitedir}/mod_%{mod_name}
-%doc doc/*
-%doc {README,COPYRIGHT}.gz
This page took 0.026301 seconds and 4 git commands to generate.