From 67dca49cc2c697d3909fffc6312cb2a11d048b76 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 31 Jan 2017 11:03:35 +0100 Subject: [PATCH] Use python install wheel macro --- python-flit.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-flit.spec b/python-flit.spec index 284c600..8e97800 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -2,13 +2,14 @@ %global with_loop 0 %global with_test 0 +%global python3_wheelname %{srcname}-%{version}-py3-none-any.whl %global srcname flit %global sum Simplified packaging of Python modules Name: python-%{srcname} Version: 0.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{sum} # ./flit/logo.py under ASL 2.0 license @@ -93,8 +94,7 @@ XDG_CACHE_HOME=$PWD/.cache %{__python3} -m flit wheel %install -pip3 install --root %{buildroot} --no-deps \ - dist/%{srcname}-%{version}-py3-none-any.whl +%py3_install_wheel %{python3_wheelname} # Fedora doesn't use this yet. rm -r %{buildroot}%{python3_sitelib}/%{srcname}-%{version}.dist-info/ @@ -114,6 +114,9 @@ py.test-3 %changelog +* Mon Jan 23 2017 Michal Cyprian - 0.9-5 +- Use python install wheel macro + * Mon Dec 19 2016 Miro HronĨok - 0.9-4 - Rebuild for Python 3.6