diff --git libsvm/libsvm.spec libsvm/libsvm.spec.tmp index 1974f31423..61a79d085f 100644 --- libsvm/libsvm.spec +++ libsvm/libsvm.spec.tmp @@ -9,7 +9,7 @@ Name: libsvm Version: 3.21 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A Library for Support Vector Machines Group: Development/Libraries @@ -67,7 +67,11 @@ Header file, object file of libsvm in C, C++ and Java. Install this package if you want to develop programs with libsvm. -%package python +%package -n python2-libsvm +%{?python_provide:%python_provide python2-libsvm} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python tools and interfaces for libsvm Group: Development/Libraries BuildRequires: python-devel >= 2.4 gawk @@ -75,7 +79,7 @@ BuildRequires: python-devel >= 2.4 gawk Requires: %{name} = %{version}-%{release} Requires: gnuplot -%description python +%description -n python2-libsvm Python tools and interfaces for libsvm. Install this package if you want to develop programs with libsvm in Python. @@ -257,7 +261,7 @@ rm -rf %{buildroot} %{_includedir}/%{name}/ %{_libdir}/%{name}.so -%files python +%files -n python2-libsvm %defattr(-,root,root,-) %doc python/README-Python tools/README-Tools %{libsvm_python_dir} @@ -294,6 +298,10 @@ rm -rf %{buildroot} %{_datadir}/applications/*%{name}-svm-toy-qt.desktop %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 3.21-6 +- Python 2 binary package renamed to python2-libsvm + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild