7
0

Factory #1

Merged
dgarcia merged 214 commits from factory into main 2025-10-08 12:56:44 +02:00
6 changed files with 49 additions and 20 deletions

BIN
linux-glibc-devel-6.10.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0802cbaa8f277e86426f4b492bc70c24a7116058634f5e10d03c69ba75d4d8a
size 1892520

BIN
linux-glibc-devel-6.16.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
linux-glibc-devel-6.9.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Mon Jul 28 17:36:24 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Update to kernel headers 6.16
-------------------------------------------------------------------
Wed Jun 4 11:55:43 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Rewrite preinstall scriptlet in lua
-------------------------------------------------------------------
Mon May 26 07:37:31 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Update to kernel headers 6.15
-------------------------------------------------------------------
Tue Mar 25 11:36:47 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Update to kernel headers 6.14
-------------------------------------------------------------------
Tue Jan 21 08:31:24 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Update to kernel headers 6.13
-------------------------------------------------------------------
Mon Nov 18 18:20:00 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add loongarch64 as new target
-------------------------------------------------------------------
Mon Nov 18 15:57:13 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Update to kernel headers 6.12
-------------------------------------------------------------------
Sun Sep 15 18:03:24 UTC 2024 - Andreas Schwab <schwab@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package linux-glibc-devel
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: linux-glibc-devel
Version: 6.11
Version: 6.16
Release: 0
Summary: Linux headers for userspace development
License: GPL-2.0-only
@@ -37,7 +37,7 @@ Obsoletes: linux-kernel-headers < %{version}
%{lua:
function cross_archs()
return "aarch64", "arm", "hppa", "i386", "m68k", "mips", "ppc64", "ppc64le", "riscv64", "s390x", "sparc", "sparc64", "x86_64"
return "aarch64", "arm", "hppa", "i386", "loongarch64", "m68k", "mips", "ppc64", "ppc64le", "riscv64", "s390x", "sparc", "sparc64", "x86_64"
end
function kernel_arch(arch)
@@ -49,6 +49,7 @@ function kernel_arch(arch)
["i386"] = "x86",
["i586"] = "x86",
["i686"] = "x86",
["loongarch64"] = "loongarch",
["ppc"] = "powerpc",
["ppc64"] = "powerpc",
["ppc64le"] = "powerpc",
@@ -82,19 +83,19 @@ packages, instead.
for i,arch in ipairs({cross_archs()}) do
print(rpm.expand([[
%package -n cross-]]..arch..[[-linux-glibc-devel
%package -n cross-]]..arch..[[-%{name}
Summary: Linux headers for ]]..arch..[[ userspace cross development
Group: Development/Libraries/C and C++
BuildArch: noarch
%description -n cross-]]..arch..[[-linux-glibc-devel
%description -n cross-]]..arch..[[-%{name}
This package provides Linux kernel headers for ]]..arch..[[, the kernel API description
required for compilation of almost all programs.
]]))
end}
%prep
%setup -q -n linux-glibc-devel-%{version}
%setup -q -n %{name}-%{version}
%build
for karch in *; do
@@ -161,10 +162,9 @@ cd ..
]]))
end}
%pre
if test -L %{_includedir}/asm; then
rm -f %{_includedir}/asm
fi
%pre -p <lua>
link = "%{_includedir}/asm"
if posix.readlink(link) then os.remove(link) end
%files
%{_includedir}/*
@@ -173,7 +173,7 @@ fi
for i,arch in ipairs({cross_archs()}) do
print(rpm.expand([[
%files -n cross-]]..arch..[[-linux-glibc-devel
%files -n cross-]]..arch..[[-%{name}
%{_prefix}/]]..gcc_target(arch).."\n"))
end}