From 073709f53736a58f0365b286d35d16e23a733844 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Mon, 19 Nov 2018 16:30:56 +0000 Subject: [PATCH] Fix file list --- python-pygiftiio.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-pygiftiio.spec b/python-pygiftiio.spec index 1b8d658..41b17bc 100644 --- a/python-pygiftiio.spec +++ b/python-pygiftiio.spec @@ -16,7 +16,7 @@ Initiative (NIfTI).} Name: python-%{srcname} Version: 1.0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Gifti License: GPLv2 @@ -82,10 +82,13 @@ install -D -m 0644 %{srcname}.py -t %{buildroot}/%{python2_sitelib}/ %license LICENSE.GPL %doc gifti_write_example.py gifti_read_example.py %{python3_sitelib}/%{srcname}.py -%{python3_sitelib}/__pycache__/%{srcname}.cpython-37.opt-1.pyc -%{python3_sitelib}/__pycache__/%{srcname}.cpython-37.pyc +%{python3_sitelib}/__pycache__/%{srcname}.cpython-3*.opt-1.pyc +%{python3_sitelib}/__pycache__/%{srcname}.cpython-3*.pyc %changelog +* Mon Nov 19 2018 Ankur Sinha - 1.0.4-2 +- Fix file list to cater to different py3 versions + * Sun Nov 18 2018 Ankur Sinha - 1.0.4-1 - Only install py2 files conditionally - Initial build