diff --git a/libpst.spec b/libpst.spec index bd9d174..f9ee1da 100644 --- a/libpst.spec +++ b/libpst.spec @@ -42,11 +42,7 @@ utilities. %package python2 Requires: python2 %else -%package -n python2-libpst -%{?python_provide:%python_provide python2-libpst} -# Remove before F30 -Provides: %{name}-python%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} +%package python Requires: python %endif Summary: Python bindings for libpst @@ -66,7 +62,7 @@ Requires: %{name}-libs = %{version}-%{release} %if 0%{?fedora} > 25 %description python2 %else -%description -n python2-libpst +%description python %endif The libpst-python package allows you to use the libpst shared object from python code. @@ -154,7 +150,7 @@ rm -rf $RPM_BUILD_ROOT %exclude %{python2_sitearch}/*.a %exclude %{python2_sitearch}/*.la %else -%files -n python2-libpst +%files python %defattr(-,root,root,-) %{python_sitearch}/_*.so %exclude %{python_sitearch}/*.a