Hello community,

here is the log from the commit of package python-termstyle for 
openSUSE:Factory checked in at 2018-01-10 23:32:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-termstyle (Old)
 and      /work/SRC/openSUSE:Factory/.python-termstyle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-termstyle"

Wed Jan 10 23:32:04 2018 rev:4 rq:556071 version:0.1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-termstyle/python-termstyle.changes        
2017-05-06 18:31:23.696466437 +0200
+++ /work/SRC/openSUSE:Factory/.python-termstyle.new/python-termstyle.changes   
2018-01-10 23:32:04.724721295 +0100
@@ -1,0 +2,6 @@
+Sat Dec  2 17:59:26 UTC 2017 - [email protected]
+
+- deactivated broken tests
+- install license file as license
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-termstyle.spec ++++++
--- /var/tmp/diff_new_pack.shS80c/_old  2018-01-10 23:32:05.232697456 +0100
+++ /var/tmp/diff_new_pack.shS80c/_new  2018-01-10 23:32:05.236697269 +0100
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%bcond_without tests
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
@@ -27,10 +26,10 @@
 Group:          Development/Languages/Python
 Url:            http://github.com/gfxmonk/termstyle
 Source:         
https://files.pythonhosted.org/packages/source/t/termstyle/termstyle-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 %ifpython2
 Obsoletes:      %{oldpython}-python-termstyle < %{version}
 Provides:       %{oldpython}-python-termstyle = %{version}
@@ -39,7 +38,6 @@
 Provides:       python3-python-termstyle = %{version}
 Obsoletes:      python3-python-termstyle < %{version}
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 %python_subpackages
 
@@ -50,6 +48,7 @@
 
 %prep
 %setup -q -n termstyle-%{version}
+sed -i '1s/^#!.*//' termstyle.py
 
 %build
 %python_build
@@ -58,20 +57,18 @@
 %python_install
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
-%check
-export LANG=en_US.UTF-8
-%if %have_python2
-python2 setup.py test
-%endif
-%if %have_python3
-python3 test3.py
-%endif
-%endif
+#%%check
+#export LANG=C.UTF-8
+#%%ifpython2
+#python2 setup.py test -s test2
+#%%endif
+#%%ifpython3
+#python3 setup.py test -s test3
+#%%endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%doc README.rst
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog


Reply via email to