!2 remove python2

From: @wcc_140409
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2020-10-30 17:52:02 +08:00 committed by Gitee
commit 7bffe83aa0

View File

@ -1,6 +1,6 @@
Name: libgexiv2
Version: 0.10.8
Release: 5
Release: 6
Summary: Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
License: GPLv2
URL: https://wiki.gnome.org/Projects/gexiv2
@ -8,7 +8,7 @@ Source0: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}
#Dependency
BuildRequires: gcc-c++ exiv2-devel gobject-introspection-devel
BuildRequires: libtool python2-devel python2-gobject-base
BuildRequires: libtool
BuildRequires: vala python3-devel python3-gobject-base
%description
@ -25,14 +25,6 @@ Files for %{name} development
%package_help
%package -n python2-gexiv2
Summary: Python2 support
Requires: %{name} = %{version}-%{release}
Requires: python2-gobject-base
%description -n python2-gexiv2
This package contains support for python2
%package -n python3-gexiv2
Summary: Python3 support
Requires: %{name} = %{version}-%{release}
@ -78,13 +70,16 @@ make %{?_smp_mflags} check
%{_datadir}/gtk-doc/html/gexiv2/
%{_datadir}/vala/vapi/gexiv2.vapi
%files -n python2-gexiv2
%{python2_sitearch}/gi/overrides/GExiv2.py*
%files -n python3-gexiv2
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
%{python3_sitearch}/gi/overrides/GExiv2.py
%changelog
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 0.10.8-6
- Type:bufix
- CVE:NA
- SUG:NA
- DESC:remove python2
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.10.8-5
- Package init