Hello community, here is the log from the commit of package python-reportlab for openSUSE:Factory checked in at Mon Sep 26 10:17:29 CEST 2011.
-------- --- python-reportlab/python-reportlab.changes 2011-05-30 17:18:10.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-reportlab/python-reportlab.changes 2011-09-20 16:46:16.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Sep 20 13:57:44 UTC 2011 - [email protected] + +- Fix non-executable bit rpmlint warning + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-reportlab.spec ++++++ --- /var/tmp/diff_new_pack.wYfQu0/_old 2011-09-26 10:17:26.000000000 +0200 +++ /var/tmp/diff_new_pack.wYfQu0/_new 2011-09-26 10:17:26.000000000 +0200 @@ -11,24 +11,18 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. - +# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -%define mod_name reportlab - -Name: python-%{mod_name} +Name: python-reportlab Version: 2.5 -Release: 3 +Release: 0 Url: http://www.reportlab.com/ Summary: The Reportlab Toolkit License: BSD Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.bz2 +Source: reportlab-%{version}.tar.bz2 Patch0: reportlab-missing-includes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: freetype2-devel @@ -36,23 +30,24 @@ BuildRequires: python-imaging BuildRequires: python-xml Requires: python-imaging -Provides: python-ReportLab = %{version}-%{release} +Provides: python-ReportLab = %{version} Obsoletes: python-ReportLab < %{version} %if 0%{?suse_version} %py_requires %endif +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n reportlab-%{version} %patch0 +sed -i "1d" src/reportlab/lib/{formatters,fonts,set_ops,corp,units,pagesizes,__init__,randomtext,logger,normalDate}.py +sed -i "1d" src/reportlab/graphics/{widgets/table,barcode/test,testdrawings,testshapes}.py # Fix non-executable bits %build -export CFLAGS="%{optflags}" -python setup.py tests-preinstall -python setup.py build +CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -60,16 +55,9 @@ %check python setup.py tests -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root,-) %doc CHANGES.txt README.txt -%python_sitearch/%{mod_name}* -%python_sitearch/_rl_accel.so -%python_sitearch/pyHnj.so -%python_sitearch/sgmlop.so -%python_sitearch/_renderPM.so +%{python_sitearch}/* %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
