diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-16 05:38:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-16 05:38:14 +0000 |
commit | b1ae0845e8d5161a410f9185ab78e159800e373d (patch) | |
tree | 3c0fa6793eb4b65afc29b396943788336be2597b | |
parent | 940e4210f37579a0b727a3235bef970d04164659 (diff) |
automatic import of ocapusopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ocapus.spec | 4 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -1 +1,2 @@ /opacus-1.4.1.tar.gz +/v1.4.1.tar.gz 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 @@ -1 +1 @@ -677990a14a3ec2db3b572f620e2f818b opacus-1.4.1.tar.gz +677990a14a3ec2db3b572f620e2f818b v1.4.1.tar.gz |