SHA256
3
0
forked from pool/rpm

- enable config.guess/sub update also for loongarch64 architecture

- update config.guess/sub files to current state from autoconf-2.72

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=685
This commit is contained in:
Michael Schröder 2025-01-30 11:02:10 +00:00 committed by Git OBS Bridge
parent 1eda1f7aa8
commit d23997fd8c
5 changed files with 15 additions and 8 deletions

View File

@ -1,6 +1,6 @@
--- build/parseSimpleScript.c.orig 2024-12-16 09:59:01.199053527 +0000 --- build/parseSimpleScript.c.orig 2024-12-16 09:59:01.199053527 +0000
+++ build/parseSimpleScript.c 2024-12-16 10:08:22.389914963 +0000 +++ build/parseSimpleScript.c 2024-12-16 10:08:22.389914963 +0000
@@ -59,6 +59,27 @@ int parseSimpleScript(rpmSpec spec, cons @@ -59,6 +59,28 @@ int parseSimpleScript(rpmSpec spec, cons
target = &buf; target = &buf;
} }
@ -13,6 +13,7 @@
+ " aarch64) mints=20120610;;\n" + " aarch64) mints=20120610;;\n"
+ " ppc64le) mints=20130610;;\n" + " ppc64le) mints=20130610;;\n"
+ " riscv64) mints=20160911;;\n" + " riscv64) mints=20160911;;\n"
+ " loongarch64) mints=20201222;;\n"
+ "esac\n" + "esac\n"
+ "for s in guess sub; do\n" + "for s in guess sub; do\n"
+ " for c in $(find -maxdepth 8 -name \"config.$s\"); do\n" + " for c in $(find -maxdepth 8 -name \"config.$s\"); do\n"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:69ead89491a66ae6c1a960977b7cc567e56f74d535a022fc193334d78be838f1 oid sha256:85df6005b9b78efe6bbe3341b3d260915aab3b5660d33886aa7e4b2c540f68e9
size 21222 size 24182

View File

@ -41,7 +41,7 @@ Fri Dec 2 15:09:55 CET 2022 - mls@suse.de
- update to rpm-4.18.0 - update to rpm-4.18.0
------------------------------------------------------------------ -------------------------------------------------------------------
Thu Jul 21 16:11:22 CEST 2022 - mls@suse.de Thu Jul 21 16:11:22 CEST 2022 - mls@suse.de
- update to rpm-4.17.1 - update to rpm-4.17.1

View File

@ -48,6 +48,12 @@ Mon Dec 16 11:55:23 CET 2024 - mls@suse.de
- backport unshare fix from upstream and extend it a bit - backport unshare fix from upstream and extend it a bit
* new patch: unshare.diff * new patch: unshare.diff
-------------------------------------------------------------------
Fri Nov 29 10:18:48 UTC 2024 - Adrian Schröter <adrian@suse.de>
- enable config.guess/sub update also for loongarch64 architecture
- update config.guess/sub files to current state from autoconf-2.72
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 11 08:43:56 UTC 2024 - Michal Suchanek <msuchanek@suse.de> Mon Nov 11 08:43:56 UTC 2024 - Michal Suchanek <msuchanek@suse.de>

View File

@ -211,7 +211,7 @@ and requires some packages that are usually required.
%prep %prep
%setup -q -n rpm-%{version} %setup -q -n rpm-%{version}
%ifarch aarch64 ppc64le riscv64 %ifarch aarch64 ppc64le riscv64 loongarch64
tar xf %{SOURCE14} tar xf %{SOURCE14}
%endif %endif
pushd rpmio pushd rpmio
@ -240,7 +240,7 @@ rm -rf sqlite
%patch -P 141 -P 142 %patch -P 141 -P 142
%patch -P 150 -P 151 -P 152 -P 153 -P 154 %patch -P 150 -P 151 -P 152 -P 153 -P 154
%ifarch aarch64 ppc64le riscv64 %ifarch aarch64 ppc64le riscv64 loongarch64
%patch -P 6464 %patch -P 6464
%endif %endif
@ -354,7 +354,7 @@ for i in /usr/share/automake-*/*; do
fi fi
done done
popd popd
%ifarch aarch64 ppc64le riscv64 %ifarch aarch64 ppc64le riscv64 loongarch64
install -m 755 build-aux/config.guess %{buildroot}/usr/lib/rpm install -m 755 build-aux/config.guess %{buildroot}/usr/lib/rpm
install -m 755 build-aux/config.sub %{buildroot}/usr/lib/rpm install -m 755 build-aux/config.sub %{buildroot}/usr/lib/rpm
%endif %endif
@ -481,7 +481,7 @@ fi
/usr/lib/rpm/fileattrs/ /usr/lib/rpm/fileattrs/
/usr/lib/rpm/*.prov /usr/lib/rpm/*.prov
/usr/lib/rpm/*.req /usr/lib/rpm/*.req
%ifarch aarch64 ppc64le riscv64 %ifarch aarch64 ppc64le riscv64 loongarch64
/usr/lib/rpm/config.guess /usr/lib/rpm/config.guess
/usr/lib/rpm/config.sub /usr/lib/rpm/config.sub
%endif %endif