Clean SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=6
This commit is contained in:
@@ -24,7 +24,7 @@ Release: 0
|
||||
Summary: Python interface to the Hierarchical Data Format library
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/h5py/h5py
|
||||
URL: https://github.com/h5py/h5py
|
||||
Source: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
|
||||
#PATCH-FIX-OPENSUSE no_include_opt.patch -- Don't include /opt/ directory.
|
||||
Patch0: no_include_opt.patch
|
||||
@@ -45,7 +45,6 @@ BuildRequires: python-rpm-macros
|
||||
Requires: hdf5
|
||||
Requires: python-numpy >= 1.7
|
||||
Requires: python-six
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -73,15 +72,12 @@ export CFLAGS="%{optflags}"
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc ANN.rst README.rst lzf/LICENSE.txt lzf/README.txt examples licenses/*
|
||||
%license lzf/LICENSE.txt
|
||||
%doc ANN.rst README.rst lzf/README.txt examples licenses/*
|
||||
%{python_sitearch}/h5py/
|
||||
%{python_sitearch}/h5py-%{version}-py*.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user