SHA256
1
0
forked from pool/python-pysmi

Accepting request 659603 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysmi?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-12-24 10:42:21 +00:00 committed by Git OBS Bridge
commit bd24cac60e
2 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:52:52 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Aug 11 16:35:14 UTC 2017 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pysmi
#
# 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,18 +23,15 @@ Release: 0
Summary: SNMP SMI/MIB Parser
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://pysmi.sourceforge.net/
URL: http://pysmi.sourceforge.net/
Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module ply}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ply
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
@ -65,8 +62,8 @@ mv %{buildroot}%{_bindir}/mibdump.py %{buildroot}%{_bindir}/mibdump
#nosetests # cannot be run without pysmnp which needs this package
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md LICENSE.rst CHANGES.rst
%license LICENSE.rst
%doc README.md CHANGES.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/mibdump