Hello community,

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

Package is "python-mando"

Tue Nov  7 10:05:16 2017 rev:2 rq:539364 version:0.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mando/python-mando.changes        
2017-11-03 16:25:34.418630859 +0100
+++ /work/SRC/openSUSE:Factory/.python-mando.new/python-mando.changes   
2017-11-07 10:05:36.305743330 +0100
@@ -1,0 +2,6 @@
+Mon Nov  6 17:16:46 UTC 2017 - toddrme2...@gmail.com
+
+- Spec file cleanups
+- rpmlint fixes
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-mando.spec ++++++
--- /var/tmp/diff_new_pack.lQtOr7/_old  2017-11-07 10:05:37.097714596 +0100
+++ /var/tmp/diff_new_pack.lQtOr7/_new  2017-11-07 10:05:37.101714451 +0100
@@ -13,49 +13,54 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without  test
 Name:           python-mando
 Version:        0.6.4
 Release:        0
-Summary:        Create Python CLI apps with little to no effort at all
 License:        MIT
+Summary:        Create Python CLI apps with little to no effort at all!
+Url:            https://mando.readthedocs.org/
 Group:          Development/Languages/Python
-URL:            https://mando.readthedocs.org/
 Source:         
https://files.pythonhosted.org/packages/source/m/mando/mando-%{version}.tar.gz
+BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-BuildRequires:  python3-Sphinx
+%if %{with test}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module six}
+%endif
 Requires:       python-six
-Recommends:     python-rst2ansi
+Suggests:       python-rst2ansi
 BuildArch:      noarch
+
 %python_subpackages
 
 %description
-Mando is a wrapper around `argparse`, and allows you to
-write complete CLI applications in seconds while
-maintaining all the flexibility.
+Mando is a wrapper around argparse, and allows you to write complete CLI
+applications in seconds while maintaining all the flexibility.
 
 %prep
 %setup -q -n mando-%{version}
-sed -i '1d' mando/tests/capture.py mando/tests/run.py
+sed -i -e '/^#!\//, 1d' mando/tests/*.py
 
 %build
 %python_build
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with test}
 %check
 %python_exec setup.py test
+%endif
 
 %files %{python_files}
+%defattr(-,root,root,-)
 %doc LICENSE README.rst
 %{python_sitelib}/*
 


Reply via email to