diff --git a/portmidi.spec b/portmidi.spec index 4676b7c..c423a98 100644 --- a/portmidi.spec +++ b/portmidi.spec @@ -1,7 +1,7 @@ Summary: Real-time Midi I/O Library Name: portmidi Version: 217 -Release: 20%{?dist} +Release: 21%{?dist} License: MIT Group: System Environment/Libraries URL: http://portmedia.sourceforge.net/ @@ -39,12 +39,13 @@ implementations for music and other media. PortMidi sub-project provides a real-time MIDI input/output library. This package contains the header files and the documentation of PortMidi libraries. -%package -n python-%{name} +%package -n python2-%{name} +%{?python_provide:%python_provide python2-%{name}} Summary: Python wrapper for %{name} Group: System Environment/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -%description -n python-%{name} +%description -n python2-%{name} PortMedia is a set of simple clean APIs and cross-platform library implementations for music and other media. PortMidi sub-project provides a real-time MIDI input/output library. This package contains the python @@ -203,7 +204,7 @@ rm -f %{buildroot}%{_libdir}/libportmidi_s.so %{_datadir}/icons/hicolor/128x128/apps/pmdefaults-icon.png %{_datadir}/applications/pmdefaults.desktop -%files -n python-%{name} +%files -n python2-%{name} %doc pm_python/README_PYTHON.txt %{python2_sitearch}/pyportmidi/ @@ -218,6 +219,10 @@ rm -f %{buildroot}%{_libdir}/libportmidi_s.so %{_libdir}/lib*.so %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 217-21 +- Python 2 binary package renamed to python2-portmidi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 217-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild