commit python-unicodecsv for openSUSE:Factory
Hello community, here is the log from the commit of package python-unicodecsv for openSUSE:Factory checked in at 2017-04-20 20:53:12 Comparing /work/SRC/openSUSE:Factory/python-unicodecsv (Old) and /work/SRC/openSUSE:Factory/.python-unicodecsv.new (New) Package is "python-unicodecsv" Thu Apr 20 20:53:12 2017 rev:3 rq:487701 version:0.14.1 Changes: --- /work/SRC/openSUSE:Factory/python-unicodecsv/python-unicodecsv.changes 2017-01-12 15:58:05.608361866 +0100 +++ /work/SRC/openSUSE:Factory/.python-unicodecsv.new/python-unicodecsv.changes 2017-04-20 20:53:13.320688244 +0200 @@ -1,0 +2,5 @@ +Mon Apr 10 08:17:44 UTC 2017 - alarr...@suse.com + +- Use singlespec macros + +--- Other differences: -- ++ python-unicodecsv.spec ++ --- /var/tmp/diff_new_pack.MZ4XnM/_old 2017-04-20 20:53:14.556513490 +0200 +++ /var/tmp/diff_new_pack.MZ4XnM/_new 2017-04-20 20:53:14.560512924 +0200 @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-unicodecsv Version:0.14.1 Release:0 @@ -24,8 +25,9 @@ Group: Development/Languages/Python Url:https://github.com/jdunck/python-unicodecsv Source: https://pypi.io/packages/source/u/unicodecsv/unicodecsv-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -33,6 +35,8 @@ BuildArch: noarch %endif +%python_subpackages + %description Python 2's csv module doesn't easily deal with unicode strings, leading to the dreaded "'ascii' codec can't encode characters @@ -45,12 +49,12 @@ %setup -q -n unicodecsv-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst %{python_sitelib}/*
commit python-unicodecsv for openSUSE:Factory
Hello community, here is the log from the commit of package python-unicodecsv for openSUSE:Factory checked in at 2015-09-02 00:36:17 Comparing /work/SRC/openSUSE:Factory/python-unicodecsv (Old) and /work/SRC/openSUSE:Factory/.python-unicodecsv.new (New) Package is "python-unicodecsv" Changes: New Changes file: --- /dev/null 2015-08-24 19:43:32.284261900 +0200 +++ /work/SRC/openSUSE:Factory/.python-unicodecsv.new/python-unicodecsv.changes 2015-09-02 00:36:18.0 +0200 @@ -0,0 +1,5 @@ +--- +Thu Oct 2 16:20:47 UTC 2014 - toddrme2...@gmail.com + +- Initial version + New: python-unicodecsv.changes python-unicodecsv.spec unicodecsv-0.9.4.tar.gz Other differences: -- ++ python-unicodecsv.spec ++ # # spec file for package python-unicodecsv # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # 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/ # Name: python-unicodecsv Version:0.9.4 Release:0 Summary:Drop-in replacment for python's csv module with unicode support License:BSD-2-Clause Group: Development/Languages/Python Url:https://github.com/jdunck/python-unicodecsv Source: https://pypi.python.org/packages/source/u/unicodecsv/unicodecsv-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description Python 2's csv module doesn't easily deal with unicode strings, leading to the dreaded "'ascii' codec can't encode characters in position ..." exception. The unicodecsv is a drop-in replacement for Python 2's csv module which supports unicode strings without a hassle. %prep %setup -q -n unicodecsv-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc README.rst %{python_sitelib}/* %changelog