Rename python2 and python3 subpackages are per latest guidelines
This commit is contained in:
parent
d834cf45b9
commit
cff56015bb
@ -11,15 +11,15 @@ Patch0: %{name}-pkgconf.patch
|
|||||||
BuildRequires: exiv2-devel
|
BuildRequires: exiv2-devel
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: python-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: pygobject3-base
|
BuildRequires: python-gobject-base
|
||||||
|
|
||||||
# For tests
|
# For tests
|
||||||
BuildRequires: vala vala-tools
|
BuildRequires: vala vala-tools
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-gobject
|
BuildRequires: python3-gobject-base
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -36,21 +36,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%package python2
|
%package -n python2-gexiv2
|
||||||
Summary: Python2 bindings for %{name}
|
Summary: Python2 bindings for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pygobject3-base%{?_isa}
|
Requires: python-gobject-base%{?_isa}
|
||||||
|
# For upgrade path from F24
|
||||||
|
Obsoletes: libgexiv2-python2 < 0.10.4
|
||||||
|
|
||||||
%description python2
|
%description -n python2-gexiv2
|
||||||
This package contains the python2 bindings for %{name}
|
This package contains the python2 bindings for %{name}
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
%package python3
|
%package -n python3-gexiv2
|
||||||
Summary: Python3 bindings for %{name}
|
Summary: Python3 bindings for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: python3-gobject%{?_isa}
|
Requires: python3-gobject-base%{?_isa}
|
||||||
|
# For upgrade path from F24
|
||||||
|
Obsoletes: libgexiv2-python3 < 0.10.4
|
||||||
|
|
||||||
%description python3
|
%description -n python3-gexiv2
|
||||||
This package contains the python3 bindings for %{name}
|
This package contains the python3 bindings for %{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -97,11 +101,11 @@ mv $RPM_BUILD_ROOT%{_datadir}/gir-1.0/GExiv2-0.10.typelib \
|
|||||||
%dir %{_datadir}/vala/vapi
|
%dir %{_datadir}/vala/vapi
|
||||||
%{_datadir}/vala/vapi/gexiv2.vapi
|
%{_datadir}/vala/vapi/gexiv2.vapi
|
||||||
|
|
||||||
%files python2
|
%files -n python2-gexiv2
|
||||||
%{python_sitearch}/gi/overrides/GExiv2.py*
|
%{python2_sitearch}/gi/overrides/GExiv2.py*
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
%files python3
|
%files -n python3-gexiv2
|
||||||
%{python3_sitearch}/gi/overrides/GExiv2.py
|
%{python3_sitearch}/gi/overrides/GExiv2.py
|
||||||
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
|
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
|
||||||
%endif
|
%endif
|
||||||
@ -110,6 +114,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/gir-1.0/GExiv2-0.10.typelib \
|
|||||||
* Mon Aug 15 2016 Kalev Lember <klember@redhat.com> - 0.10.4-1
|
* Mon Aug 15 2016 Kalev Lember <klember@redhat.com> - 0.10.4-1
|
||||||
- Update to 0.10.4
|
- Update to 0.10.4
|
||||||
- Use license macro for COPYING
|
- Use license macro for COPYING
|
||||||
|
- Rename python2 and python3 subpackages are per latest guidelines
|
||||||
|
|
||||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-7
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-7
|
||||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
Loading…
Reference in New Issue
Block a user