summaryrefslogtreecommitdiff
path: root/torchbotorch.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 00:37:31 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 00:37:31 +0000
commitdd32c6b1e43ef9fc85946bb45b2a57d58c4f8025 (patch)
tree488ad0137020db8a5863c72d768bd0c6862dc920 /torchbotorch.spec
parente12a1f38996bae181d6bd9658d9172a8f2953934 (diff)
automatic import of botorch
Diffstat (limited to 'torchbotorch.spec')
-rw-r--r--torchbotorch.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/torchbotorch.spec b/torchbotorch.spec
index 60655b9..941eaef 100644
--- a/torchbotorch.spec
+++ b/torchbotorch.spec
@@ -2,7 +2,7 @@
%global _unpackaged_files_terminate_build 0
# using global macro to speed up the spec editing
-%global pkg_name botorch
+%global pkg_name torchbotorch
%global version 0.10.0
%global pkg_summary %{pkg_name} is a reinforcement learning library for pytorch
%global pkg_desc %{expand:%{pkg_summary}}
@@ -16,7 +16,7 @@ License: %{open_license}
# the url and source0 url here
URL: https://botorch.org/
-Source0: https://github.com/pytorch/%{pkg_name}/archive/refs/tags/v%{version}.tar.gz
+Source0: https://github.com/pytorch/botorch/archive/refs/tags/v%{version}.tar.gz
# build requires
BuildRequires: python3-devel
@@ -63,7 +63,7 @@ Summary: %{pkg_summary}
%files -n python3-%{pkg_name}
%doc *.md
%license LICENSE*
-%{python3_sitelib}/python_%{pkg_name}/*
+%{python3_sitelib}/%{pkg_name}/*
%changelog