SPECS: python-django.spec - new way

arekm arekm at pld-linux.org
Tue Dec 20 13:59:57 CET 2005


Author: arekm                        Date: Tue Dec 20 12:59:57 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new way

---- Files affected:
SPECS:
   python-django.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/python-django.spec
diff -u SPECS/python-django.spec:1.5 SPECS/python-django.spec:1.6
--- SPECS/python-django.spec:1.5	Thu Dec 15 22:47:00 2005
+++ SPECS/python-django.spec	Tue Dec 20 13:59:52 2005
@@ -38,6 +38,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 python ./setup.py install \
+	--single-version-externally-managed \
 	--optimize 2 \
 	--root=$RPM_BUILD_ROOT
 
@@ -49,8 +50,6 @@
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 # %%py_postclean
 
-echo 'Django-%{version}-py%{py_ver}.egg' > $RPM_BUILD_ROOT%{py_sitescriptdir}/Django.pth
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -59,6 +58,7 @@
 %doc docs/*.* README
 %attr(755,root,root) %{_bindir}/*
 %{py_sitescriptdir}/%{module}*
+%{py_sitescriptdir}/django
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -66,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/12/20 12:59:52  arekm
+- new way
+
 Revision 1.5  2005/12/15 21:47:00  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-django.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list