SPECS: python-elementtree.spec - workaround for egg software
arekm
arekm at pld-linux.org
Tue Dec 20 21:00:56 CET 2005
Author: arekm Date: Tue Dec 20 20:00:56 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- workaround for egg software
---- Files affected:
SPECS:
python-elementtree.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/python-elementtree.spec
diff -u SPECS/python-elementtree.spec:1.6 SPECS/python-elementtree.spec:1.7
--- SPECS/python-elementtree.spec:1.6 Thu Nov 10 19:33:50 2005
+++ SPECS/python-elementtree.spec Tue Dec 20 21:00:49 2005
@@ -1,6 +1,4 @@
# $Revision$, $Date$
-# TODO
-# - include the C implementation cElementTree-1.0.2-20050302? (for yum 2.4.0)
#
%define module elementtree
%define _snap 20050316
@@ -44,6 +42,7 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/ElementTree-%{version}-py%{py_ver}.egg-info
python setup.py install \
--root=$RPM_BUILD_ROOT \
@@ -51,6 +50,13 @@
%py_postclean
+echo 'Metadata-Version: 1.0
+Name: ElementTree
+Version: %{version}
+Summary: %{summary}
+Home-page: %{url}
+License: %{license}' > $RPM_BUILD_ROOT%{py_sitescriptdir}/ElementTree-%{version}-py%{py_ver}.egg-info/PKG-INFO
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,6 +64,7 @@
%defattr(644,root,root,755)
%doc CHANGES README docs/
%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/ElementTree*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -65,6 +72,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2005/12/20 20:00:49 arekm
+- workaround for egg software
+
Revision 1.6 2005/11/10 18:33:50 paszczus
- added BR: unzip
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-elementtree.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list