add requires_exclude python dist

This commit is contained in:
lkx690 2019-12-16 14:35:05 +08:00
parent 356d0744e4
commit 4fd29adf99

View File

@ -1,9 +1,11 @@
%global py2_build_dir %{_builddir}/%{name}-%{version}-%{release}-python2
%bcond_with python2
%global __requires_exclude ^.*python2.7dist\\(.*\\).*$
%global __requires_exclude ^.*python3.7dist\\(.*\\).*$
Name: pywbem
Version: 0.12.4
Release: 2
Release: 3
Summary: WBEM client and WBEM indication listener
License: LGPLv2
URL: https://github.com/pywbem/pywbem
@ -112,5 +114,8 @@ env PYTHONPATH=%{buildroot}/%{python3_sitelib} PBR_VERSION="%{version}" \
%changelog
* Mon Dec 16 2019 likexin<likexin4@huawei.com> - 0.12.4-3
- add requires_exclude python dist
* Thu Nov 28 2019 likexin<likexin4@huawei.com> - 0.12.4-2
- Package init