forked from pool/python-lxml
		
	This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							0d7ff158ce
						
					
				
				
					commit
					bef308a393
				
			
							
								
								
									
										3
									
								
								lxml-2.2.1.tar.bz2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								lxml-2.2.1.tar.bz2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:a5142ba4e44844deb08a26fd3ef05cb9980b159443f78db3d841c659339edaf0 | ||||||
|  | size 2033284 | ||||||
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:5261f5f30679615b6babcc645ad3c6b38476bc5a300c37e53f840327e5d6fcd0 |  | ||||||
| size 2020417 |  | ||||||
							
								
								
									
										3
									
								
								lxmldoc-2.2.1.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								lxmldoc-2.2.1.pdf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:8ceec4476f640c46727c6bd124b2b857d450ac5954fe6744ac9bf17f2c18c6f1 | ||||||
|  | size 1755028 | ||||||
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:5eeadb645a9a45f68f6c2d13aeccd9e7b14e0c5ce289f921147c3b55a701237c |  | ||||||
| size 1867462 |  | ||||||
| @@ -1,6 +1,3 @@ | |||||||
| # | # | ||||||
| addFilter("files-duplicate .*/html/pubkey.asc") | addFilter("files-duplicate .*/toc-lxml.html.usedoctest-module.html") | ||||||
| addFilter("files-duplicate .*/api/frames.html") | addFilter("files-duplicate .*/html/api/frames.html") | ||||||
| addFilter("files-duplicate .*/api/toc-lxml.html.usedoctest-module.html") |  | ||||||
| addFilter("description-shorter-than-summary") |  | ||||||
| addFilter("spurious-executable-perm .*/rest2html.py") |  | ||||||
| @@ -1,3 +1,21 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Wed Jun 03 10:47:00 CEST 2009 - toms@suse.de | ||||||
|  |  | ||||||
|  | - Updated to 2.2.1: | ||||||
|  |   Features added: | ||||||
|  |     * Injecting default attributes into a document during XML Schema | ||||||
|  |       validation (also at parse time). | ||||||
|  |     * Pass huge_tree parser option to disable parser security restrictions | ||||||
|  |       imposed by libxml2 2.7. | ||||||
|  |  | ||||||
|  |   Bugs fixed | ||||||
|  |     * The script for statically building libxml2 and libxslt didn't work in Py3. | ||||||
|  |     * XMLSchema() also passes invalid schema documents on to libxml2 for | ||||||
|  |       parsing (which could lead to a crash before release 2.6.24). | ||||||
|  |  | ||||||
|  | Full list: http://codespeak.net/lxml/changes-2.2.1.html | ||||||
|  |  | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Fri Apr 03 08:41:00 CEST 2009 - toms@suse.de | Fri Apr 03 08:41:00 CEST 2009 - toms@suse.de | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| # | # | ||||||
| # spec file for package python-lxml (Version 2.2) | # spec file for package python-lxml (Version 2.2.1) | ||||||
| # | # | ||||||
| # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. | # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. | ||||||
| # | # | ||||||
| @@ -16,22 +16,22 @@ | |||||||
| # | # | ||||||
|  |  | ||||||
|  |  | ||||||
|  | %define modname lxml | ||||||
|  |  | ||||||
| Name:           python-lxml | Name:           python-lxml | ||||||
| %define modname lxml |  | ||||||
| %define docpdf  %{modname}doc-2.2.pdf |  | ||||||
| Url:            http://codespeak.net/lxml | Url:            http://codespeak.net/lxml | ||||||
| Summary:        A Pythonic Binding for the libxml2 and libxslt Libraries | Summary:        A Pythonic Binding for the libxml2 and libxslt Libraries | ||||||
| Version:        2.2 | Version:        2.2.1 | ||||||
| Release:        1 | Release:        1 | ||||||
| License:        BSD 3-Clause | License:        BSD 3-Clause | ||||||
| Group:          Development/Libraries/Python | Group:          Development/Libraries/Python | ||||||
| Source:         %{modname}-%{version}.tar.bz2 | Source:         %{modname}-%{version}.tar.bz2 | ||||||
| Source1:        %{docpdf} | Source1:        %{modname}doc-%{version}.pdf | ||||||
| Source2:        %{name}-rpmlintrc | Source2:        %{name}-rpmlintrc | ||||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||||
| %{py_requires} | %{py_requires} | ||||||
| Requires:       pyxml | Requires:       pyxml | ||||||
|  | # Requires:    libxml2 libxslt | ||||||
| BuildRequires:  libxslt-devel pyrex python-devel pyxml | BuildRequires:  libxslt-devel pyrex python-devel pyxml | ||||||
|  |  | ||||||
| %description | %description | ||||||
| @@ -68,40 +68,48 @@ Authors: | |||||||
| % --------------------------------- | % --------------------------------- | ||||||
| %prep | %prep | ||||||
| %setup -q -n %{modname}-%{version} | %setup -q -n %{modname}-%{version} | ||||||
| %{__cp} %{S:1} . |  | ||||||
|  |  | ||||||
| %build | %build | ||||||
| export CFLAGS="$RPM_OPT_FLAGS" | export CFLAGS="$RPM_OPT_FLAGS" | ||||||
| python setup.py build | %{__python} setup.py build | ||||||
|  | %{__cp} %{S:1} . | ||||||
|  |  | ||||||
| %install | %install | ||||||
| #%{__install} -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} \ | %{__python} setup.py install \ | ||||||
| #                       $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples |     --prefix=%{_prefix} \ | ||||||
| python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES |     --root=$RPM_BUILD_ROOT \ | ||||||
| #cat INSTALLED_FILES.tmp | sed s#%{_defaultdocdir}/%{name}##g > INSTALLED_FILES |     --record-rpm=INSTALLED_FILES.txt | ||||||
| #%{__cp} -a doc/html  $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} | # Avoid warnings from rpmlint: | ||||||
| #%{__cp} -a doc/*.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} | [ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/ | ||||||
| #%{__cp} -a doc/*.py  $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples | # Remove any duplicate files: | ||||||
| #%{__cp} -a benchmark $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples | for i in doc/html/pubkey.asc  ; do | ||||||
| echo "*** $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py" |  [ -e "$i" ] && %{__rm} "$i" | ||||||
| [ -e $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py ] && \ | done | ||||||
|   %{__chmod} -x $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py |  | ||||||
|  |  | ||||||
| %clean | %clean | ||||||
| rm -rf %{buildroot} | %{__rm} -rf %{buildroot} | ||||||
|  |  | ||||||
| %files -f INSTALLED_FILES | %files -f INSTALLED_FILES.txt | ||||||
| %defattr(-,root,root) | %defattr(-,root,root) | ||||||
| %doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt | %doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt | ||||||
| %{py_sitedir}/lxml |  | ||||||
|  |  | ||||||
| %files doc | %files doc | ||||||
| %defattr(-,root,root) | %defattr(-,root,root) | ||||||
| %doc doc/html doc/*.* benchmark | %doc doc/html doc/examples doc/*.* benchmark %{modname}doc-%{version}.pdf | ||||||
| %doc %{docpdf} |  | ||||||
| %{_defaultdocdir}/%{name} |  | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|  | * Wed Jun 03 2009 toms@suse.de | ||||||
|  | - Updated to 2.2.1: | ||||||
|  |   Features added: | ||||||
|  |   * Injecting default attributes into a document during XML Schema | ||||||
|  |   validation (also at parse time). | ||||||
|  |   * Pass huge_tree parser option to disable parser security restrictions | ||||||
|  |   imposed by libxml2 2.7. | ||||||
|  |   Bugs fixed | ||||||
|  |   * The script for statically building libxml2 and libxslt didn't work in Py3. | ||||||
|  |   * XMLSchema() also passes invalid schema documents on to libxml2 for | ||||||
|  |   parsing (which could lead to a crash before release 2.6.24). | ||||||
|  |   Full list: http://codespeak.net/lxml/changes-2.2.1.html | ||||||
| * Fri Apr 03 2009 toms@suse.de | * Fri Apr 03 2009 toms@suse.de | ||||||
| - Merged changes file with old entries | - Merged changes file with old entries | ||||||
| * Thu Apr 02 2009 toms@suse.de | * Thu Apr 02 2009 toms@suse.de | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user