14
0
forked from pool/python-pysmi

Accepting request 664289 from home:mnhauke

- Update to version 0.3.3
  * Exit code indication of the command-line tools aligned with
    sysexits.h to report more useful termination status
- Update to version 0.3.2
  * Fixed compiler crash when building comments at a platform
    which has broken users/groups databases

OBS-URL: https://build.opensuse.org/request/show/664289
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmi?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2019-01-10 09:39:20 +00:00
committed by Git OBS Bridge
parent e6f6687785
commit 188f7d3da5
4 changed files with 20 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pysmi
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pysmi
Version: 0.1.3
Version: 0.3.3
Release: 0
Summary: SNMP SMI/MIB Parser
License: BSD-2-Clause
@@ -49,7 +49,9 @@ Documentation: http://pysmi.sf.net
%install
%python_install
mv %{buildroot}%{_bindir}/mibdump.py %{buildroot}%{_bindir}/mibdump
mv %{buildroot}%{_bindir}/mibcopy.py %{buildroot}%{_bindir}/mibcopy
%python_clone -a %{buildroot}%{_bindir}/mibdump
%python_clone -a %{buildroot}%{_bindir}/mibcopy
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%post
@@ -66,5 +68,6 @@ mv %{buildroot}%{_bindir}/mibdump.py %{buildroot}%{_bindir}/mibdump
%doc README.md CHANGES.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/mibdump
%python_alternative %{_bindir}/mibcopy
%changelog