summaryrefslogtreecommitdiff
path: root/ocapus.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 05:38:14 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 05:38:14 +0000
commitb1ae0845e8d5161a410f9185ab78e159800e373d (patch)
tree3c0fa6793eb4b65afc29b396943788336be2597b /ocapus.spec
parent940e4210f37579a0b727a3235bef970d04164659 (diff)
automatic import of ocapusopeneuler23.09
Diffstat (limited to 'ocapus.spec')
-rw-r--r--ocapus.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/ocapus.spec b/ocapus.spec
index c11605f..bc49f58 100644
--- a/ocapus.spec
+++ b/ocapus.spec
@@ -16,7 +16,7 @@ License: %{open_license}
# the url and source0 url here
URL: https://opacus.ai/
-Source0: https://github.com/pytorch/opacus/archive/refs/tags/v%{version}.tar.gz#/opacus-%{version}.tar.gz
+Source0: https://github.com/pytorch/opacus/archive/refs/tags/v%{version}.tar.gz#/v%{version}.tar.gz
# build requires
BuildRequires: python3-devel
@@ -47,7 +47,7 @@ Summary: %{pkg_summary}
# the name here should match the name of the dir of the source code zip
# which got from the .tar.gz unzipped
%prep
-%autosetup -p1 -n v%{version}
+%autosetup -p1 -n %{pkg_name}-%{version}
# using python poject build, supplied by setup.py or pyproject.toml
%build