summaryrefslogtreecommitdiff
path: root/ocapus.spec
diff options
context:
space:
mode:
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