diff --git a/sys.tar.gz b/sys.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fe90e0ae360efeceb0edd58d0e1a05abfca2d861 Binary files /dev/null and b/sys.tar.gz differ diff --git a/umoci.spec b/umoci.spec index e2447e04ef3ce04492a9554a6afba5bc4df59c2a..44859afe621ff4648c154fa81b7b0c8523ca6b3d 100644 --- a/umoci.spec +++ b/umoci.spec @@ -4,12 +4,13 @@ Name: umoci Version: 0.4.7 -Release: 2 +Release: 3 Summary: Open Container Image manipulation tool License: ISC and MIT and Apache-2.0 URL: https://github.com/opencontainers/umoci Source0: https://github.com/opencontainers/umoci/archive/v0.4.7.tar.gz Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz +Source2: sys.tar.gz Patch0000: fix-bad-build-flags.patch BuildRequires: fdupes go >= 1.6 @@ -23,6 +24,10 @@ the OCI. %prep %autosetup -n %{name}-%{version} -p1 tar -xf %SOURCE1 +%ifarch loongarch64 +rm -rf vendor/golang.org/x/sys +tar -xf %{SOURCE2} -C vendor/golang.org/x +%endif %build cd go-md2man-* @@ -55,6 +60,9 @@ done %{_mandir}/man1/umoci* %changelog +* Fri Mar 3 2023 doupengda - 0.4.7-3 +- Add support for loongarch64 + * Tue Feb 15 2022 caodongxia - 0.4.7-2 - fix bad build flags