From 1b86838b62a11b8ca5caa73423919a2e9dca3c31 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Tue, 7 Dec 2021 16:00:29 +0800 Subject: [PATCH] %bcond_without python2 to fix rpmbuild error (cherry picked from commit 0120d950b034d4540380239b9cef7f29b29d9c5e) --- python-pyasn1-modules.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-pyasn1-modules.spec b/python-pyasn1-modules.spec index c76e821..b21d92c 100644 --- a/python-pyasn1-modules.spec +++ b/python-pyasn1-modules.spec @@ -1,7 +1,8 @@ %global _empty_manifest_terminate_build 0 +%bcond_without python2 Name: python-pyasn1-modules Version: 0.2.8 -Release: 2 +Release: 3 Summary: A collection of ASN.1-based protocols modules. License: BSD-2-Clause URL: https://github.com/etingof/pyasn1-modules @@ -93,6 +94,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Dec 7 yaoxin - 0.2.8-3 +- %bcond_without python2 to fix rpmbuild error + * Thu Aug 26 2021 shixuantong - 0.2.8-2 - add python2-pyasn1-modules for openstack -- Gitee