ALT Linux repositórios
5.0: | 1.2.6-alt0.20050316.1.1 |
4.1: | 1.2.6-alt0.20050316.1.1 |
4.0: | 1.2.6-alt0.20050316.1 |
3.0: | 1.2.6-alt0.20050316.1 |
Group :: Desenvolvimento/Python
RPM: python-module-elementtree
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define rver 20050316
%define version 1.2.6
%define release alt0.%rver.1
%setup_python_module elementtree
Summary: ElementTree - a light-weight XML object model for Python.
Name: %packagename
Version: %version
Release: %release.1
URL: http://effbot.org/zone/element-index.htm
Source: %modulename-%version-%rver.tar.gz
Patch1: %modulename-TidyHTMLTreeBuilder-fix.patch
Copyright: Python (MIT style)
Group: Development/Python
BuildArch: noarch
%description
The Element type is a flexible container object, designed to store
hierarchical data structures in memory. Element structures can be
converted to and from XML.
%prep
%setup -q -n %modulename-%version-%rver
%patch1 -p1
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%clean
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc docs samples CHANGES README benchmark.py selftest.py
%changelog
…
Todas as alterações você pod ver aqui
%define version 1.2.6
%define release alt0.%rver.1
%setup_python_module elementtree
Summary: ElementTree - a light-weight XML object model for Python.
Name: %packagename
Version: %version
Release: %release.1
URL: http://effbot.org/zone/element-index.htm
Source: %modulename-%version-%rver.tar.gz
Patch1: %modulename-TidyHTMLTreeBuilder-fix.patch
Copyright: Python (MIT style)
Group: Development/Python
BuildArch: noarch
%description
The Element type is a flexible container object, designed to store
hierarchical data structures in memory. Element structures can be
converted to and from XML.
%prep
%setup -q -n %modulename-%version-%rver
%patch1 -p1
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%clean
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc docs samples CHANGES README benchmark.py selftest.py
%changelog
…
Todas as alterações você pod ver aqui