From aa530379dd62bbb6f3e4d474844edb08189cfabc Mon Sep 17 00:00:00 2001 From: Wu Zixuan Date: Tue, 20 Dec 2022 17:07:28 +0800 Subject: [PATCH] Add sw64 architecture Signed-off-by: Wu Zixuan --- libostree-2021.6-sw.patch | 12 ++++++++++++ ostree.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 libostree-2021.6-sw.patch diff --git a/libostree-2021.6-sw.patch b/libostree-2021.6-sw.patch new file mode 100755 index 0000000..cd66245 --- /dev/null +++ b/libostree-2021.6-sw.patch @@ -0,0 +1,12 @@ +diff -Naur libostree-2021.6.org/libglnx/glnx-missing.h libostree-2021.6.sw/libglnx/glnx-missing.h +--- libostree-2021.6.org/libglnx/glnx-missing.h 2022-06-06 10:27:04.090000000 +0000 ++++ libostree-2021.6.sw/libglnx/glnx-missing.h 2022-06-06 10:27:33.390000000 +0000 +@@ -46,7 +46,7 @@ + */ + + #ifndef __O_TMPFILE +-#if defined(__alpha__) ++#if defined(__alpha__) || defined(__sw_64__) + #define __O_TMPFILE 0100000000 + #elif defined(__parisc__) || defined(__hppa__) + #define __O_TMPFILE 0400000000 diff --git a/ostree.spec b/ostree.spec index 53df885..a75bfd2 100644 --- a/ostree.spec +++ b/ostree.spec @@ -1,6 +1,6 @@ Name: ostree Version: 2021.6 -Release: 2 +Release: 3 Summary: A tool like git for operating system binaries License: LGPLv2+ URL: https://ostree.readthedocs.io/en/latest/ @@ -8,6 +8,7 @@ Source0: https://github.com/ostreedev/%{name}/releases/download/v%{versio Patch9000: Do-not-run-testcase-test-libarvhive-import-because-selinux-is-off.patch Patch9001: skip-updating-the-preference.patch +Patch9002: libostree-2021.6-sw.patch BuildRequires: bison autoconf automake libtool gobject-introspection-devel pkgconfig(liblzma) docbook-xsl BuildRequires: pkgconfig(e2p) pkgconfig(zlib) pkgconfig(libcurl) pkgconfig(libsoup-2.4) gpgme-devel @@ -92,6 +93,12 @@ make check %{_mandir}/man*/{ostree,rofiles}*.gz %changelog +* Tue Dec 20 2022 wuzx - 2021.6-3 +- Type:feature +- CVE:NA +- SUG:NA +- DESC:Add sw64 architecture + * Mon Oct 17 2022 yangmingtai - 2021.6-2 - Type:bugfix - ID:NA -- Gitee