From a79f74f347f7aa1c6a9712eb6818afa8c04de309494874f5ad39435822ca1712 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com>
Date: Thu, 6 Dec 2018 13:19:23 +0000
Subject: [PATCH] - Fix fdupes call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=58
---
 python-pip.changes | 5 +++++
 python-pip.spec    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/python-pip.changes b/python-pip.changes
index 8804b3a..07806b3 100644
--- a/python-pip.changes
+++ b/python-pip.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Dec  6 13:19:11 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
+
+- Fix fdupes call
+
 -------------------------------------------------------------------
 Sat Oct 20 15:36:00 UTC 2018 - Arun Persaud <arun@gmx.de>
 
diff --git a/python-pip.spec b/python-pip.spec
index 908f1d9..74f7091 100644
--- a/python-pip.spec
+++ b/python-pip.spec
@@ -71,7 +71,7 @@ rm src/pip/_vendor/certifi/cacert.pem
 %install
 %python_install
 %prepare_alternative pip
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %if %{with test}
 %check