Remove python2 subpackage

This commit is contained in:
yixiangzhike 2020-10-29 14:25:05 +08:00
parent 465457885b
commit 47e4e38ed0

View File

@ -1,6 +1,6 @@
Name: gpgme
Version: 1.14.0
Release: 1
Release: 2
Summary: GnuPG Made Easy
License: GPLv2+ and LGPLv2+
URL: https://gnupg.org/related_software/gpgme/
@ -16,7 +16,7 @@ Patch6002: 0001-fix-stupid-ax_python_devel.patch
BuildRequires: autoconf automake gcc gcc-c++ gawk gnupg2 >= 2.1.18
BuildRequires: libgpg-error-devel >= 1.24 libassuan-devel >= 2.4.2
BuildRequires: swig chrpath cmake qt5-qtbase-devel python2-devel python3-devel
BuildRequires: swig chrpath cmake qt5-qtbase-devel python3-devel
BuildRequires: gdb
Requires: gnupg2 >= 2.1.18
Provides: %{name}%{?_isa} <= %{version}-%{release}
@ -50,16 +50,6 @@ Provides: q%{name}
%description -n qt-%{name}
%{summary}.
%package -n python2-%{name}
Summary: %{name} bindings for Python2
%{?python_provide:%python_provide python2-gpg}
Requires: %{name} = %{version}-%{release}
Obsoletes: python2-gpg
Provides: python2-gpg
%description -n python2-%{name}
%{summary}.
%package -n python3-%{name}
Summary: %{name} bindings for Python3
%{?python_provide:%python_provide python3-gpg}
@ -137,11 +127,6 @@ fi
%doc lang/qt/README
%{_libdir}/libq%{name}.so.*
%files -n python2-%{name}
%doc lang/python/README
%{python2_sitearch}/gpg-*.egg-info
%{python2_sitearch}/gpg/
%files -n python3-%{name}
%doc lang/python/README
%{python3_sitearch}/gpg-*.egg-info
@ -160,6 +145,12 @@ fi
%changelog
* Thu Oct 29 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1.14.0-2
- Type:requirement
- CVE:NA
- SUG:NA
- DESC:remove python2 subpackage
* Mon Jul 27 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1.14.0-1
- Type:update
- ID:NA