Python 2 binary package renamed to python2-libpst
This commit is contained in:
parent
063034b9fc
commit
cf704894c6
16
libpst.spec
16
libpst.spec
@ -1,7 +1,7 @@
|
||||
Summary: Utilities to convert Outlook .pst files to other formats
|
||||
Name: libpst
|
||||
Version: 0.6.71
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2+
|
||||
Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
|
||||
URL: http://www.five-ten-sg.com/%{name}/
|
||||
@ -27,11 +27,15 @@ The libpst-libs package contains the shared library used by the pst
|
||||
utilities.
|
||||
|
||||
|
||||
%package python2
|
||||
%package -n python2-libpst
|
||||
%{?python_provide:%python_provide python2-libpst}
|
||||
# Remove before F30
|
||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < %{version}-%{release}
|
||||
Summary: Python bindings for libpst
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description python2
|
||||
%description -n python2-libpst
|
||||
The libpst-python package allows you to use the libpst shared object
|
||||
from python code.
|
||||
|
||||
@ -100,7 +104,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
||||
%doc COPYING
|
||||
|
||||
|
||||
%files python2
|
||||
%files -n python2-libpst
|
||||
%{python2_sitearch}/_*.so
|
||||
%exclude %{python2_sitearch}/*.a
|
||||
%exclude %{python2_sitearch}/*.la
|
||||
@ -127,6 +131,10 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.71-5
|
||||
- Python 2 binary package renamed to python2-libpst
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.71-4
|
||||
- Python 2 binary package renamed to python2-libpst
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
Loading…
Reference in New Issue
Block a user