SPECS: python-elementtree.spec - copy description from fedora - %{...
glen
glen at pld-linux.org
Sun Oct 23 00:01:15 CEST 2005
Author: glen Date: Sat Oct 22 22:01:15 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- copy description from fedora
- %{date} is an macro provided by rpm
- use %py_postclean
---- Files affected:
SPECS:
python-elementtree.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/python-elementtree.spec
diff -u SPECS/python-elementtree.spec:1.3 SPECS/python-elementtree.spec:1.4
--- SPECS/python-elementtree.spec:1.3 Sat May 14 14:59:07 2005
+++ SPECS/python-elementtree.spec Sun Oct 23 00:01:10 2005
@@ -1,30 +1,37 @@
# $Revision$, $Date$
+# TODO
+# - include the C implementation cElementTree-1.0.2-20050302? (for yum 2.4.0)
+#
%define module elementtree
-%define date 20050316
-
+%define _snap 20050316
+#
Summary: A fast and pythonic XML parser
Summary(pl): Szybki pythonowy parser XML
Name: python-%{module}
Version: 1.2.6
-Release: 0.%{date}.1
+Release: 0.%{_snap}.1
License: BSD
Group: Development/Languages/Python
-Source0: http://effbot.org/downloads/%{module}-%{version}-%{date}.zip
+Source0: http://effbot.org/downloads/%{module}-%{version}-%{_snap}.zip
# Source0-md5: 6751a9005efbd2c543ef32905d4a0acd
URL: http://effbot.org/zone/element-index.htm
BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.219
%pyrequires_eq python-modules
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-A fast and pythonic XML parser.
+The Element type is a simple but flexible container object, designed
+to store hierarchical data structures, such as simplified XML
+infosets, in memory. The element type can be described as a cross
+between a Python list and a Python dictionary.
%description -l pl
Szybki pythonowy parser XML.
%prep
-%setup -q -n %{module}-%{version}-%{date}
+%setup -q -n %{module}-%{version}-%{_snap}
%build
python setup.py build
@@ -37,7 +44,7 @@
--root=$RPM_BUILD_ROOT \
--optimize=2
-find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/ -name \*.py | xargs rm -f
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
@@ -53,6 +60,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2005/10/22 22:01:10 glen
+- copy description from fedora
+- %{date} is an macro provided by rpm
+- use %py_postclean
+
Revision 1.3 2005/05/14 12:59:07 charles
- updated to 1.2.6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-elementtree.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list