Cleanup spec
This commit is contained in:
parent
cc51bb77fc
commit
ce4765255c
|
@ -28,7 +28,6 @@ BuildRequires: python3-Cython
|
||||||
%endif
|
%endif
|
||||||
Requires: hdf5 = %{_hdf5_version}
|
Requires: hdf5 = %{_hdf5_version}
|
||||||
Requires: numpy >= 1.0.3
|
Requires: numpy >= 1.0.3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The h5py package provides both a high- and low-level interface to the
|
The h5py package provides both a high- and low-level interface to the
|
||||||
|
@ -82,7 +81,6 @@ popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||||
chmod 0755 %{buildroot}%{python_sitearch}/%{name}/*.so
|
chmod 0755 %{buildroot}%{python_sitearch}/%{name}/*.so
|
||||||
|
|
||||||
|
@ -100,9 +98,6 @@ pushd %{py3dir}
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc licenses/*.txt ANN.rst README.rst examples
|
%doc licenses/*.txt ANN.rst README.rst examples
|
||||||
%{python_sitearch}/%{name}/
|
%{python_sitearch}/%{name}/
|
||||||
|
|
Loading…
Reference in New Issue