--- backports/4/ipython/current/SPECS/ipython.spec 2014/06/22 22:05:14 638763 +++ backports/4/ipython/current/SPECS/ipython.spec 2014/06/22 22:15:26 638764 @@ -104,6 +104,10 @@ # Get rid of library shebangs find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} \; +%build +%{__python} setup.py build + +%install %{__python} setup.py install -O1 --skip-build --root %{buildroot} chmod 644 %{buildroot}%{_mandir}/man1/*.1*