forked from pool/python-onnx
Accepting request 787522 from science:machinelearning
- Do also provide/obsolete for the devel to support migration - provide also python-onnx-devel for backcompat - created just one package, as other packages require the source file within the package OBS-URL: https://build.opensuse.org/request/show/787522 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx?expand=0&rev=5
This commit is contained in:
@@ -1,9 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 15:08:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Do also provide/obsolete for the devel to support migration
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 18 09:45:36 UTC 2020 - Christian Goll <cgoll@suse.com>
|
||||
|
||||
- provide also python-onnx-devel for backcompat
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 15 08:55:22 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add patch to fix build with new protobuf:
|
||||
* protobuf.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 4 09:44:15 UTC 2020 - Christian Goll <cgoll@suse.com>
|
||||
|
||||
- created just one package, as other packages require the
|
||||
source file within the package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 25 13:57:48 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -45,17 +45,15 @@ Requires: python-numpy
|
||||
Requires: python-protobuf
|
||||
Requires: python-six
|
||||
Requires: python-typing_extensions >= 3.6.2.1
|
||||
Provides: python-onnx-devel = %{version}-%{release}
|
||||
Obsoletes: python-onnx-devel < %{version}-%{release}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Open format to represent deep learning models. With ONNX, AI developers can more easily move models between state-of-the-art tools and choose the combination that is best for them. ONNX is developed and supported by a community of partners.
|
||||
|
||||
%package devel
|
||||
Summary: C/C++ - header files which are used for development
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
The headers and other files needed for the development.
|
||||
Open format to represent deep learning models. With ONNX, AI developers can
|
||||
more easily move models between state-of-the-art tools and choose the
|
||||
combination that is best for them. ONNX is developed and supported by a
|
||||
community of partners.
|
||||
|
||||
%prep
|
||||
%setup -q -n onnx-%{version}
|
||||
@@ -108,18 +106,6 @@ cp %{__builddir}/*cpp2py* ./onnx/
|
||||
%python3_only %{_bindir}/check-model
|
||||
%python3_only %{_bindir}/check-node
|
||||
%python3_only %{_bindir}/backend-test-tools
|
||||
%{python_sitearch}/*
|
||||
%exclude %{python_sitearch}/onnx/*.[hc]
|
||||
%exclude %{python_sitearch}/onnx/common
|
||||
%exclude %{python_sitearch}/onnx/optimizer
|
||||
%exclude %{python_sitearch}/onnx/version_converter
|
||||
%exclude %{python_sitearch}/onnx/shape_inference
|
||||
|
||||
%files %{python_files devel}
|
||||
%{python_sitearch}/onnx/*.[hc]
|
||||
%{python_sitearch}/onnx/common
|
||||
%{python_sitearch}/onnx/optimizer
|
||||
%{python_sitearch}/onnx/version_converter
|
||||
%{python_sitearch}/onnx/shape_inference
|
||||
%{python_sitearch}/onnx*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user