Hello community,

here is the log from the commit of package python-munkres for openSUSE:Factory 
checked in at 2018-12-07 14:38:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-munkres (Old)
 and      /work/SRC/openSUSE:Factory/.python-munkres.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-munkres"

Fri Dec  7 14:38:09 2018 rev:2 rq:655855 version:1.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-munkres/python-munkres.changes    
2017-05-06 18:27:26.449943117 +0200
+++ /work/SRC/openSUSE:Factory/.python-munkres.new.19453/python-munkres.changes 
2018-12-07 14:38:13.610861000 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:50:37 UTC 2018 - Matej Cepl <mc...@suse.com>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-munkres.spec ++++++
--- /var/tmp/diff_new_pack.8g659o/_old  2018-12-07 14:38:14.878859430 +0100
+++ /var/tmp/diff_new_pack.8g659o/_new  2018-12-07 14:38:14.878859430 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-munkres
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,12 +23,11 @@
 Summary:        Munkres implementation for Python
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            http://software.clapper.org/munkres/
+URL:            http://software.clapper.org/munkres/
 Source:         
https://github.com/bmc/munkres/archive/release-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -51,10 +50,16 @@
 
 %install
 %python_install
+%{python_expand \
+sed -i -e '/^#\/usr\/bin\/env/d' %{buildroot}%{$python_sitelib}/munkres.py
+$python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/munkres.py
+$python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/munkres.py
+chmod -x %{buildroot}%{$python_sitelib}/munkres.py
+}
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGELOG.md LICENSE README.md
+%license LICENSE
+%doc CHANGELOG.md README.md
 %{python_sitelib}/*
 
 %changelog


Reply via email to