Don't pack __pycache__ for Python 2.7 on RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-08-07 14:29:59 +03:00
parent df43cf76cb
commit 87207e3641
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@
Name: numpy
Version: 1.15.0
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Epoch: 1
Summary: A fast multidimensional array facility for Python
@ -277,7 +277,7 @@ popd &> /dev/null
%exclude %{python2_sitearch}/%{name}/LICENSE.txt
%{_bindir}/conv-template
%{_bindir}/from-template
%ifnarch s390x
%ifnarch s390x riscv64
%{python2_sitearch}/numpy/__pycache__/*
%endif
@ -326,6 +326,9 @@ popd &> /dev/null
%changelog
* Tue Aug 07 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1:1.15.0-1.0.riscv64
- Don't pack __pycache__ for Python 2.7 on RISC-V (riscv64)
* Tue Jul 24 2018 Gwyn Ciesla <limburgher@gmail.com> - 1:1.15.0-1
- 1.15.0