packages: python-paramiko/python-paramiko.spec - revert r1.14 - do package ...

glen glen at pld-linux.org
Mon Oct 25 07:06:57 CEST 2010


Author: glen                         Date: Mon Oct 25 05:06:57 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- revert r1.14 - do package egg-info in %files, not in %doc

---- Files affected:
packages/python-paramiko:
   python-paramiko.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/python-paramiko/python-paramiko.spec
diff -u packages/python-paramiko/python-paramiko.spec:1.18 packages/python-paramiko/python-paramiko.spec:1.19
--- packages/python-paramiko/python-paramiko.spec:1.18	Mon Oct 25 07:03:30 2010
+++ packages/python-paramiko/python-paramiko.spec	Mon Oct 25 07:06:52 2010
@@ -51,25 +51,25 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
 %py_postclean
+
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a demos/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-# we don't need those
-rm -fr $RPM_BUILD_ROOT%{py_sitescriptdir}/paramiko-%{version}-*.egg-info
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc PKG-INFO README
+%doc README
 %{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-*.egg-info
+%endif
 %{_examplesdir}/%{name}-%{version}
 
 %if %{with apidocs}
@@ -84,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2010/10/25 05:06:52  glen
+- revert r1.14 - do package egg-info in %files, not in %doc
+
 Revision 1.18  2010/10/25 05:03:30  glen
 - apidocs subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-paramiko/python-paramiko.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list