Hello community, here is the log from the commit of package python-SQLAlchemy for openSUSE:Factory checked in at 2017-04-28 10:41:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-SQLAlchemy (Old) and /work/SRC/openSUSE:Factory/.python-SQLAlchemy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-SQLAlchemy" Fri Apr 28 10:41:09 2017 rev:37 rq:489145 version:1.1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-SQLAlchemy/python-SQLAlchemy.changes 2016-10-10 16:19:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-SQLAlchemy.new/python-SQLAlchemy.changes 2017-04-28 10:41:16.025025794 +0200 @@ -1,0 +2,31 @@ +Tue Apr 18 16:07:16 UTC 2017 - [email protected] + +- Update to 1.1.9: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.9 +- Update to 1.1.8: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.8 +- Update to 1.1.7: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.7 +- Update to 1.1.6: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.6 +- Update to 1.1.5: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.5 +- Update to 1.1.4: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.4 +- Update to 1.1.3: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.3 +- Update to 1.1.2: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.2 +- Update to 1.1.1: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.1 +- Update to 1.1.0: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.0 +- Update to 1.0.18: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html#change-1.0.18 +- Update to 1.0.17: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html#change-1.0.17 +- Update to 1.0.16: + * See http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html#change-1.0.16 +- Implement single-spec version. + +------------------------------------------------------------------- Old: ---- SQLAlchemy-1.0.15.tar.gz New: ---- SQLAlchemy-1.1.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-SQLAlchemy.spec ++++++ --- /var/tmp/diff_new_pack.2Bho6n/_old 2017-04-28 10:41:17.888762360 +0200 +++ /var/tmp/diff_new_pack.2Bho6n/_new 2017-04-28 10:41:17.892761794 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-SQLAlchemy # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,11 @@ # +%bcond_without tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-SQLAlchemy -Version: 1.0.15 +Version: 1.1.9 Release: 0 Url: http://www.sqlalchemy.org Summary: Database Abstraction Library @@ -25,18 +28,18 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} # Test requirements: +BuildRequires: %{python_module nose >= 0.11} +BuildRequires: %{python_module pytest} BuildRequires: python-mock -BuildRequires: python-nose >= 0.11 -BuildRequires: python-pytest #BuildRequires: python-pysqlite Provides: python-sqlalchemy = %{version} Obsoletes: python-sqlalchemy < %{version} -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +%python_subpackages %description SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible, @@ -47,15 +50,15 @@ define the join conditions explicitly, to bridge the gap between database and domain. -%package doc +%package -n %{name}-doc Summary: Documentation for python-SQLAlchemy Group: Documentation/Other -Requires: %{name} = %{version} -%if 0%{?suse_version} && 0%{?suse_version} > 1110 +Provides: python-SQLAlchemy-doc = %{version} +Provides: python2-SQLAlchemy-doc = %{version} +Provides: python3-SQLAlchemy-doc = %{version} BuildArch: noarch -%endif -%description doc +%description -n %{name}-doc This package contains HTML documentation, including tutorials and API reference for python-SQLAlchemy. @@ -65,22 +68,27 @@ sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py %build -CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} +%if %{with tests} %check -py.test +%python_expand py.test-%{$python_bin_suffix} +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc CHANGES LICENSE README.rst README.dialects.rst README.unittests.rst %{python_sitearch}/sqlalchemy/ %{python_sitearch}/SQLAlchemy-%{version}-py%{py_ver}.egg-info -%files doc +%files -n %{name}-doc %defattr(-,root,root) -%doc doc examples +%doc doc/ +%doc examples/ %changelog ++++++ SQLAlchemy-1.0.15.tar.gz -> SQLAlchemy-1.1.9.tar.gz ++++++ ++++ 180009 lines of diff (skipped)
