remove python2
This commit is contained in:
parent
302ad4b870
commit
08df8a72bd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user