From 02728f0dcd8d9ef9d6bc9835e10b6a05601b4130eb3c515993e6f2e9901a223d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 1 Feb 2016 18:56:08 +0000 Subject: [PATCH] Accepting request 356672 from devel:languages:python 1 OBS-URL: https://build.opensuse.org/request/show/356672 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testpath?expand=0&rev=2 --- python-testpath.changes | 6 ++++++ python-testpath.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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,-)