From 83ed57119c0594f7e1a8c1ec13d2c74d577c8305 Mon Sep 17 00:00:00 2001 From: Wenl4ng <15861868579@163.com> Date: Wed, 20 Nov 2024 10:24:42 +0800 Subject: [PATCH] use lfs server --- .gitattributes | 1 + .lfsconfig | 2 ++ libreoffice-24.2.3.2.tar.xz | 3 +++ libreoffice-help-24.2.3.2.tar.xz | 3 +++ libreoffice-translations-24.2.3.2.tar.xz | 3 +++ libreoffice.spec | 11 +++++++---- 6 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .gitattributes create mode 100644 .lfsconfig diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d87f561 --- /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 0000000..f763bcb --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artifacts.openeuler.openatom.cn/src-openEuler/libreoffice \ No newline at end of file diff --git a/libreoffice-24.2.3.2.tar.xz b/libreoffice-24.2.3.2.tar.xz index e69de29..d44e66e 100644 --- a/libreoffice-24.2.3.2.tar.xz +++ b/libreoffice-24.2.3.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6e2059cd85d07793e8d95828b2412906bdba8bf61a5f76b8c51907898481e64 +size 280246948 diff --git a/libreoffice-help-24.2.3.2.tar.xz b/libreoffice-help-24.2.3.2.tar.xz index e69de29..66c553d 100644 --- a/libreoffice-help-24.2.3.2.tar.xz +++ b/libreoffice-help-24.2.3.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e8acf4c09e2a43e8a86a19418bade97f67b837917bd0c2c6af9c8a8b261bb6b +size 167014344 diff --git a/libreoffice-translations-24.2.3.2.tar.xz b/libreoffice-translations-24.2.3.2.tar.xz index e69de29..eebf74f 100644 --- a/libreoffice-translations-24.2.3.2.tar.xz +++ b/libreoffice-translations-24.2.3.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e71053a3b51f79079ef745663e68432c2bf20e49557083ab4de1a40c9fae2b4a +size 219887020 diff --git a/libreoffice.spec b/libreoffice.spec index 23057c4..389d835 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -46,7 +46,7 @@ Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 Version: %{libo_version}.2 -Release: 1 +Release: 2 # default new files are: MPLv2 # older files are typically: MPLv2 incorporating work under ASLv2 # nlpsolver is: LGPLv3 @@ -1012,9 +1012,9 @@ done \ %prep cd %{_sourcedir} rm -f %{SOURCE0} %{SOURCE2} %{SOURCE4} -wget -q https://user-repo.openeuler.openatom.cn/lfs-tar/libreoffice/libreoffice-24.2.3.2.tar.xz -wget -q https://user-repo.openeuler.openatom.cn/lfs-tar/libreoffice/libreoffice-help-24.2.3.2.tar.xz -wget -q https://user-repo.openeuler.openatom.cn/lfs-tar/libreoffice/libreoffice-translations-24.2.3.2.tar.xz +#wget -q https://user-repo.openeuler.openatom.cn/lfs-tar/libreoffice/libreoffice-24.2.3.2.tar.xz +#wget -q https://user-repo.openeuler.openatom.cn/lfs-tar/libreoffice/libreoffice-help-24.2.3.2.tar.xz +#wget -q https://user-repo.openeuler.openatom.cn/lfs-tar/libreoffice/libreoffice-translations-24.2.3.2.tar.xz cd - # verify tarballs gpg2 --dearmor < %{SOURCE6} > keyring.gpg @@ -2143,5 +2143,8 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/LibreOfficeKit %changelog +* Wed Nov 20 2024 Wenl4ng <15861868579@163.com> - 24.2.2.1-2 +- Use LFS services to host large files + * Sun Apr 07 2024 misaka00251 - 24.2.2.1-1 - Init package for openEuler -- Gitee