Python 2 binary package renamed to python2-libsvm

epel8
Zbigniew Jędrzejewski-Szmek 8 years ago
parent b3baabd179
commit 4add8ae170

@ -9,7 +9,7 @@
Name: libsvm Name: libsvm
Version: 3.21 Version: 3.21
Release: 5%{?dist} Release: 6%{?dist}
Summary: A Library for Support Vector Machines Summary: A Library for Support Vector Machines
Group: Development/Libraries 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. 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 Summary: Python tools and interfaces for libsvm
Group: Development/Libraries Group: Development/Libraries
BuildRequires: python-devel >= 2.4 gawk BuildRequires: python-devel >= 2.4 gawk
@ -75,7 +79,7 @@ BuildRequires: python-devel >= 2.4 gawk
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: gnuplot Requires: gnuplot
%description python %description -n python2-libsvm
Python tools and interfaces for libsvm. Python tools and interfaces for libsvm.
Install this package if you want to develop Install this package if you want to develop
programs with libsvm in Python. programs with libsvm in Python.
@ -257,7 +261,7 @@ rm -rf %{buildroot}
%{_includedir}/%{name}/ %{_includedir}/%{name}/
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%files python %files -n python2-libsvm
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc python/README-Python tools/README-Tools %doc python/README-Python tools/README-Tools
%{libsvm_python_dir} %{libsvm_python_dir}
@ -294,6 +298,10 @@ rm -rf %{buildroot}
%{_datadir}/applications/*%{name}-svm-toy-qt.desktop %{_datadir}/applications/*%{name}-svm-toy-qt.desktop
%changelog %changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.21-6
- Python 2 binary package renamed to python2-libsvm
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.21-5 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.21-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

Loading…
Cancel
Save