Avoid hardcoding /usr prefix
This commit is contained in:
parent
82375e7ab4
commit
ac9f123ddb
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: numpy
|
Name: numpy
|
||||||
Version: 1.16.4
|
Version: 1.16.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: A fast multidimensional array facility for Python
|
Summary: A fast multidimensional array facility for Python
|
||||||
|
|
||||||
@ -225,8 +225,8 @@ popd &> /dev/null
|
|||||||
#install -D -p -m 0644 docs/f2py/f2py.1 %{buildroot}%{_mandir}/man1/f2py.1
|
#install -D -p -m 0644 docs/f2py/f2py.1 %{buildroot}%{_mandir}/man1/f2py.1
|
||||||
|
|
||||||
#symlink for includes, BZ 185079
|
#symlink for includes, BZ 185079
|
||||||
mkdir -p %{buildroot}/usr/include
|
mkdir -p %{buildroot}%{_includedir}
|
||||||
ln -s %{python2_sitearch}/%{name}/core/include/numpy/ %{buildroot}/usr/include/numpy
|
ln -s %{python2_sitearch}/%{name}/core/include/numpy/ %{buildroot}%{_includedir}/numpy
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -316,6 +316,9 @@ popd &> /dev/null
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 20 2019 Kalev Lember <klember@redhat.com> - 1:1.16.4-2
|
||||||
|
- Avoid hardcoding /usr prefix
|
||||||
|
|
||||||
* Tue May 28 2019 Gwyn Ciesla <gwync@protonmail.com> - 1:1.16.4-1
|
* Tue May 28 2019 Gwyn Ciesla <gwync@protonmail.com> - 1:1.16.4-1
|
||||||
- 1.16.4
|
- 1.16.4
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user