From 79c088e2a7fe9f9d1d5ee4e0808caf88104bf0d10869fd1b685c1ae3e79a9468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 14 Mar 2020 09:12:10 +0000 Subject: [PATCH] - Fix build without python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=47 --- python-pysnmp.changes | 5 +++++ python-pysnmp.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pysnmp.changes b/python-pysnmp.changes index 814ddc3..450b663 100644 --- a/python-pysnmp.changes +++ b/python-pysnmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 14 09:11:57 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Tue Sep 24 18:28:18 UTC 2019 - Martin Hauke diff --git a/python-pysnmp.spec b/python-pysnmp.spec index 376ca5f..727da8f 100644 --- a/python-pysnmp.spec +++ b/python-pysnmp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pysnmp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -78,7 +78,7 @@ chmod -x docs/net-snmptrapd.conf docs/net-snmpd.conf %license LICENSE.rst %doc CHANGES.txt README.md THANKS.txt TODO.txt docs examples %{python_sitelib}/pysnmp/ -%{python_sitelib}/pysnmp-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/pysnmp-%{version}-py%{python_version}.egg-info %files -n python-pysnmp-doc %license LICENSE.rst