Hello community, here is the log from the commit of package cram for openSUSE:Factory checked in at 2016-02-23 16:57:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cram (Old) and /work/SRC/openSUSE:Factory/.cram.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cram" Changes: -------- --- /work/SRC/openSUSE:Factory/cram/cram.changes 2015-09-30 05:52:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes 2016-02-23 16:59:16.000000000 +0100 @@ -1,0 +2,6 @@ +Sat Feb 20 14:08:50 UTC 2016 - mplus...@suse.com + +- Switch to python3 +- Minor spec file cleanups + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cram.spec ++++++ --- /var/tmp/diff_new_pack.35tqjR/_old 2016-02-23 16:59:16.000000000 +0100 +++ /var/tmp/diff_new_pack.35tqjR/_new 2016-02-23 16:59:16.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cram # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -24,16 +24,12 @@ Group: Development/Languages/Python Url: https://bitheap.org/cram/ Source: https://pypi.python.org/packages/source/c/cram/cram-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-nose -Requires: python +BuildRequires: python3-devel +BuildRequires: python3-nose +BuildRequires: python3-setuptools +Requires: python3 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif %description Cram is a functional testing framework for command line applications @@ -47,18 +43,20 @@ %setup -q %build -python setup.py build +python3 setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -python setup.py -q test +python3 setup.py -q test %files %defattr(-,root,root,-) %doc COPYING.txt README.txt %{_bindir}/cram -%{python_sitelib}/* +%{python3_sitelib}/%{name}.py +%{python3_sitelib}/__pycache__/%{name}.cpython-*.pyc +%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info %changelog