diff --git a/python-testpath.changes b/python-testpath.changes index 0e5f15f..7515e0b 100644 --- a/python-testpath.changes +++ b/python-testpath.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 29 12:21:52 UTC 2016 - toddrme2178@gmail.com + +- Don't use flit (which doesn't work reliably), + just copy the sources to the right place. + ------------------------------------------------------------------- Wed Oct 14 19:44:22 UTC 2015 - toddrme2178@gmail.com diff --git a/python-testpath.spec b/python-testpath.spec index b7b588d..c4b9ba6 100644 --- a/python-testpath.spec +++ b/python-testpath.spec @@ -26,7 +26,6 @@ Url: https://github.com/jupyter/testpath Source0: https://github.com/jupyter/testpath/archive/%{version}.tar.gz Source1: https://raw.githubusercontent.com/jupyter/testpath/master/LICENSE BuildRequires: python -BuildRequires: python3-flit BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -42,11 +41,12 @@ for mocking system commands and recording calls to those. cp %{SOURCE1} ./ %build -flit install +# We don't do anything here %install mkdir -p %{buildroot}%{python_sitelib} -cp -r /home/abuild/.local/lib/*/site-packages/* %{buildroot}%{python_sitelib} +cp -r testpath %{buildroot}%{python_sitelib} +%py_compile %{buildroot}%{python_sitelib} %files %defattr(-,root,root,-)