Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2017-10-07 17:51:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and      /work/SRC/openSUSE:Factory/.python-fudge.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fudge"

Sat Oct  7 17:51:18 2017 rev:7 rq:532230 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes        
2016-03-16 10:34:31.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-fudge.new/python-fudge.changes   
2017-10-07 17:51:19.345571381 +0200
@@ -1,0 +2,9 @@
+Fri Oct  6 13:20:22 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+- fix doc generation
+- fix test runner
+- update to 1.1.0
+  * no changelog provided
+
+-------------------------------------------------------------------
@@ -9,0 +19 @@
+

Old:
----
  fudge-1.0.3.tar.gz

New:
----
  fudge-1.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-fudge.spec ++++++
--- /var/tmp/diff_new_pack.Yviijx/_old  2017-10-07 17:51:20.005542368 +0200
+++ /var/tmp/diff_new_pack.Yviijx/_new  2017-10-07 17:51:20.009542192 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fudge
 #
-# 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,23 +16,22 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fudge
-Version:        1.0.3
+Version:        1.1.0
 Release:        0
 Summary:        Replace real objects with fakes (mocks, stubs, etc) while 
testing
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://farmdev.com/projects/fudge/
-Source:         
http://pypi.python.org/packages/source/f/fudge/fudge-%{version}.tar.gz
-BuildRequires:  python-Sphinx
-BuildRequires:  python-devel
-BuildRequires:  python-nose
+Source:         
https://files.pythonhosted.org/packages/source/f/fudge/fudge-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nose}
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-Sphinx
 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
+%python_subpackages
 
 %description
 Complete documentation is available at http://farmdev.com/projects/fudge/
@@ -61,23 +60,32 @@
 
 %prep
 %setup -q -n fudge-%{version}
-find . -type f -name "._*" | xargs rm # Remove junk
 # drop build date from doc to fix build-compare
 sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" ./docs/conf.py
 
 %build
-python setup.py build
+%python_build
 cd docs && make html && rm -r _build/html/.buildinfo # Build HTML documentation
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-nosetests
+mkdir testdir
+pushd testdir
+cp -r ../fudge/tests tests2
+export PYTHONPATH=%{buildroot}%{python2_sitelib}
+nosetests-%{python2_bin_suffix} -w tests2
+cp -r ../fudge/tests tests3
+2to3 -w tests3
+export PYTHONPATH=%{buildroot}%{python3_sitelib}
+nosetests-%{python3_bin_suffix} -w tests3
+popd
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc LICENSE.txt README.txt docs/_build/html
+%license LICENSE.txt
+%doc docs/_build/html
 %{python_sitelib}/*
 
 %changelog

++++++ fudge-1.0.3.tar.gz -> fudge-1.1.0.tar.gz ++++++
++++ 4222 lines of diff (skipped)


Reply via email to