SPECS: python-threaded_multihost.spec - no subdirs in build dir - version i...
glen
glen at pld-linux.org
Fri Oct 17 00:25:24 CEST 2008
Author: glen Date: Thu Oct 16 22:25:24 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- no subdirs in build dir
- version independant egg-info
---- Files affected:
SPECS:
python-threaded_multihost.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/python-threaded_multihost.spec
diff -u SPECS/python-threaded_multihost.spec:1.2 SPECS/python-threaded_multihost.spec:1.3
--- SPECS/python-threaded_multihost.spec:1.2 Fri Aug 8 13:53:51 2008
+++ SPECS/python-threaded_multihost.spec Fri Oct 17 00:25:19 2008
@@ -1,9 +1,9 @@
# $Revision$, $Date$
%define module threaded_multihost
-Summary: Helper utilities which enable Django installations to be multi-site aware.
+Summary: Helper utilities which enable Django installations to be multi-site aware
Name: python-threaded_multihost
Version: 1.0
-Release: 0.1
+Release: 0.2
License: BSD
Group: Development/Languages/Python
Source0: http://gosatchmo.com/static/files/%{module}-%{version}_release.tar.gz
@@ -17,15 +17,15 @@
%description
%prep
-%setup -q -n sw/lib/python2.5/site-packages/%{module}
-
-%build
+%setup -q -c
+mv sw/lib/python2.5/site-packages/%{module}* .
+mv %{module}-*.egg-info %{module}-py%{py_ver}.egg-info
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_sitedir}/%{module}
-install * $RPM_BUILD_ROOT%{py_sitedir}/%{module}
-install ../%{module}-%{version}_release-py2.5.egg-info $RPM_BUILD_ROOT%{py_sitedir}
+cp -a %{module}/* $RPM_BUILD_ROOT%{py_sitedir}/%{module}
+install %{module}-*.egg-info $RPM_BUILD_ROOT%{py_sitedir}
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
@@ -37,9 +37,7 @@
%files
%defattr(644,root,root,755)
%{py_sitedir}/%{module}
-%if "%{py_ver}" > "2.4"
-%{py_sitedir}/%{module}-%{version}_release-py2.5.egg-info
-%endif
+%{py_sitedir}/%{module}-*.egg-info
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -47,9 +45,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008/10/16 22:25:19 glen
+- no subdirs in build dir
+- version independant egg-info
+
Revision 1.2 2008/08/08 11:53:51 emes
- corrected license: BSD, not GPL
Revision 1.1 2008/08/08 11:49:51 emes
- initial release
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-threaded_multihost.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list