Python 2 binary package renamed to python2-libiptcdata

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:35 -04:00
parent 21599b0122
commit 9c46e6de5d

View File

@ -4,7 +4,7 @@
Name: libiptcdata
Version: 1.0.4
Release: 18%{?dist}
Release: 19%{?dist}
Summary: IPTC tag library
Group: Development/Libraries
@ -33,13 +33,17 @@ Requires: pkgconfig
The libiptcdata-devel package contains the libraries and include files
that you can use to develop libiptcdata applications.
%package python
%package -n python2-libiptcdata
%{?python_provide:%python_provide python2-libiptcdata}
# Remove before F30
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for libiptcdata
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: python-devel
%description python
%description -n python2-libiptcdata
The libiptcdata-python package contains a Python module that allows Python
applications to use the libiptcdata API for reading and writing IPTC
metadata in images.
@ -78,13 +82,17 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/libiptcdata
%{_datadir}/gtk-doc/html/libiptcdata
%files python
%files -n python2-libiptcdata
%defattr(-,root,root)
%doc python/README
%doc python/examples/*
%{python_sitearch}/*.so
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-19
- Python 2 binary package renamed to python2-libiptcdata
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild