diff --git portmidi/portmidi.spec portmidi/portmidi.spec.tmp index 4676b7ca85..0e6ccac623 100644 --- portmidi/portmidi.spec +++ portmidi/portmidi.spec.tmp @@ -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 +* Thu Aug 10 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