Hello community,

here is the log from the commit of package python-pyshould for openSUSE:Factory 
checked in at 2018-06-02 12:11:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyshould (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyshould.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyshould"

Sat Jun  2 12:11:10 2018 rev:2 rq:613123 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyshould/python-pyshould.changes  
2018-05-29 10:28:28.864911462 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyshould.new/python-pyshould.changes     
2018-06-02 12:11:52.696584060 +0200
@@ -1,0 +2,5 @@
+Wed May 30 20:33:58 UTC 2018 - mc...@suse.com
+
+- Do not package tests/ directory
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyshould.spec ++++++
--- /var/tmp/diff_new_pack.SaBBVa/_old  2018-06-02 12:11:53.264563228 +0200
+++ /var/tmp/diff_new_pack.SaBBVa/_new  2018-06-02 12:11:53.268563081 +0200
@@ -13,28 +13,29 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
+%define modname pyshould
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-pyshould
+Name:           python-%{modname}
 Version:        0.7.1
 Release:        0
-License:        MIT
 Summary:        Should style asserts
-Url:            https://github.com/drslump/pyshould
+License:        MIT
 Group:          Development/Languages/Python
-Source:         
https://files.pythonhosted.org/packages/source/p/pyshould/pyshould-%{version}.tar.gz
+URL:            https://github.com/drslump/%{modname}
+Source:         
https://files.pythonhosted.org/packages/source/p/pyshould/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-hamcrest
+BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module hamcrest}
 BuildRequires:  %{python_module nose}
 # /SECTION
-Requires:       python-hamcrest
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -52,21 +53,24 @@
 the standard AssertionError.
 
 %prep
-%setup -q -n pyshould-%{version}
+%setup -q -n %{modname}-%{version}
 
 %build
 %python_build
 
 %install
 %python_install
+# We shouldn't install tests
+%python_expand rm -rvf %{buildroot}%{$python_sitelib}/tests
+
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%python_exec setup.py test -v
 
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/%{modname}*
 
 %changelog


Reply via email to