summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 04:18:41 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 04:18:41 +0000
commita525fc703f65713b586fc7f2e14cbb0a0a4ab07e (patch)
tree17fd71b3ca8615e63a8df74270fe6cce32bdb0d5
parentdd32c6b1e43ef9fc85946bb45b2a57d58c4f8025 (diff)
automatic import of botorch
-rw-r--r--.gitignore1
-rw-r--r--sources2
-rw-r--r--torchbotorch.spec6
3 files changed, 5 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 05db5f5..0e4861a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/v0.10.0.tar.gz
+/botorch-0.10.0.tar.gz
diff --git a/sources b/sources
index 4cc854c..f2babfa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7c3634363b6519755b24dd051874caaa v0.10.0.tar.gz
+7c3634363b6519755b24dd051874caaa botorch-0.10.0.tar.gz
diff --git a/torchbotorch.spec b/torchbotorch.spec
index 941eaef..ce5b9c2 100644
--- a/torchbotorch.spec
+++ b/torchbotorch.spec
@@ -2,9 +2,9 @@
%global _unpackaged_files_terminate_build 0
# using global macro to speed up the spec editing
-%global pkg_name torchbotorch
+%global pkg_name botorch
%global version 0.10.0
-%global pkg_summary %{pkg_name} is a reinforcement learning library for pytorch
+%global pkg_summary %{pkg_name} is a library for Bayesian Optimization built on PyTorch.
%global pkg_desc %{expand:%{pkg_summary}}
%global open_license MIT
@@ -16,7 +16,7 @@ License: %{open_license}
# the url and source0 url here
URL: https://botorch.org/
-Source0: https://github.com/pytorch/botorch/archive/refs/tags/v%{version}.tar.gz
+Source0: https://github.com/pytorch/botorch/archive/refs/tags/v%{version}.tar.gz#/botorch-%{version}.tar.gz
# build requires
BuildRequires: python3-devel