Accepting request 655855 from devel:languages:python
- Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/request/show/655855 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munkres?expand=0&rev=2
This commit is contained in:
commit
e3cfca4120
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:50:37 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 10 08:13:03 UTC 2017 - alarrosa@suse.com
|
||||
|
||||
|
@ -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 @@ Release: 0
|
||||
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 @@ http://csclab.murraystate.edu/~bob.pilgrim/445/munkres.html.
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user