diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..d87f5613ec4234f82f8eaeebc563711f587fdf88 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.xz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..a8a12cdf73a824f5e555931ea5e8a134c3bd3968 --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/rust \ No newline at end of file diff --git a/rust-1.82.0-aarch64-unknown-linux-gnu.tar.xz b/rust-1.82.0-aarch64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..5e0f13e21f96c61760f231e94a90bdfb625a8cfc --- /dev/null +++ b/rust-1.82.0-aarch64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99acf175be33bd96ac82d644125d0e2acc6962d61ee64851edc7d8ba3bd23ca4 +size 236675048 diff --git a/rust-1.82.0-riscv64gc-unknown-linux-gnu.tar.xz b/rust-1.82.0-riscv64gc-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..3c3cd4f2bf50138272fd00027b72f311ac901a65 --- /dev/null +++ b/rust-1.82.0-riscv64gc-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:532190c3cdbdee9249bcde648b1c61b092bdd8885266ba9edd6df6824a454958 +size 217304308 diff --git a/rust-1.82.0-x86_64-unknown-linux-gnu.tar.xz b/rust-1.82.0-x86_64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..e92b3a3207c271cd5705a29645f79596ec1b77fd --- /dev/null +++ b/rust-1.82.0-x86_64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a6bf24ca1fee2bd861590431c7954674191a0c0dfa0af4169731bc1459cf58a +size 178075016 diff --git a/rust.spec b/rust.spec index f93e5c7f6ca1e4ea6e7cbc5e4d4433ce332243ec..c7593e8c7433c0d2402e2571a7c8c06c855e69b0 100644 --- a/rust.spec +++ b/rust.spec @@ -18,7 +18,7 @@ Name: rust Version: 1.82.0 -Release: 3 +Release: 4 Summary: The Rust Programming Language License: Apache-2.0 OR MIT URL: https://www.rust-lang.org @@ -254,12 +254,12 @@ Man pages and other related help documents for rust. %prep # download source0 and gpg check -wget -qO %{SOURCE0} https://user-repo.openeuler.openatom.cn/lfs-tar/rust/rustc-%{version}-src.tar.xz +#wget -qO %{SOURCE0} https://user-repo.openeuler.openatom.cn/lfs-tar/rust/rustc-%{version}-src.tar.xz gpg --import %{SOURCE2} gpg --verify %{SOURCE1} %{SOURCE0} %ifarch %{bootstrap_arches} -wget -qO %{_sourcedir}/%{bootstrap_root}.tar.xz https://user-repo.openeuler.openatom.cn/lfs-tar/rust/%{bootstrap_root}.tar.xz +#wget -qO %{_sourcedir}/%{bootstrap_root}.tar.xz https://user-repo.openeuler.openatom.cn/lfs-tar/rust/%{bootstrap_root}.tar.xz %setup -q -n %{bootstrap_root} -T -b %{bootstrap_source} ./install.sh --components=cargo,rustc,rust-std-%{rust_triple} \ --prefix=%{local_rust_root} --disable-ldconfig @@ -545,6 +545,9 @@ export %{rust_env} %{_mandir}/man1/cargo*.1* %changelog +* Fri Nov 22 2024 Wenl4ng - 1.82.0-4 +- use lfs-server + * Fri Nov 22 2024 Wenlong Zhang - 1.82.0-3 - fix build error for loongarch64 diff --git a/rustc-1.82.0-src.tar.xz b/rustc-1.82.0-src.tar.xz index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c83dcc00264eb4cb3ca9eb26421300f348823b0f 100644 --- a/rustc-1.82.0-src.tar.xz +++ b/rustc-1.82.0-src.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1276a0bb8fa12288ba6fa96597d28b40e74c44257c051d3bc02c2b049bb38210 +size 219769328