forked from pool/linux-glibc-devel
Compare commits
14 Commits
Author | SHA256 | Date | |
---|---|---|---|
71b9485a66 | |||
c18b3f476c | |||
2e2a117641 | |||
7a969666b4 | |||
a87ed2ee66 | |||
5d96d21703 | |||
71f95c639a | |||
1d00400812 | |||
4ebf700401 | |||
06e1ea77ff | |||
0792f9ce04 | |||
02bcc6b7f0 | |||
10e4f3042d | |||
07924590d0 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6801025148f74219235fd757ebe5c5a441a1d51cd30c3b5f62b3888b3cdd428e
|
|
||||||
size 1873408
|
|
3
linux-glibc-devel-6.16.tar.xz
Normal file
3
linux-glibc-devel-6.16.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:28a4a76691cd7eda3ced187e560f39a9b4ecc8d54ff59e6297e69655c612aacd
|
||||||
|
size 1944768
|
@@ -1,3 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Update to kernel headers 6.11
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 26 10:11:43 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
Fri Jul 26 10:11:43 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package linux-glibc-devel
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: linux-glibc-devel
|
Name: linux-glibc-devel
|
||||||
Version: 6.10
|
Version: 6.16
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Linux headers for userspace development
|
Summary: Linux headers for userspace development
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@@ -37,7 +37,7 @@ Obsoletes: linux-kernel-headers < %{version}
|
|||||||
|
|
||||||
%{lua:
|
%{lua:
|
||||||
function cross_archs()
|
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
|
end
|
||||||
|
|
||||||
function kernel_arch(arch)
|
function kernel_arch(arch)
|
||||||
@@ -49,6 +49,7 @@ function kernel_arch(arch)
|
|||||||
["i386"] = "x86",
|
["i386"] = "x86",
|
||||||
["i586"] = "x86",
|
["i586"] = "x86",
|
||||||
["i686"] = "x86",
|
["i686"] = "x86",
|
||||||
|
["loongarch64"] = "loongarch",
|
||||||
["ppc"] = "powerpc",
|
["ppc"] = "powerpc",
|
||||||
["ppc64"] = "powerpc",
|
["ppc64"] = "powerpc",
|
||||||
["ppc64le"] = "powerpc",
|
["ppc64le"] = "powerpc",
|
||||||
@@ -82,19 +83,19 @@ packages, instead.
|
|||||||
for i,arch in ipairs({cross_archs()}) do
|
for i,arch in ipairs({cross_archs()}) do
|
||||||
print(rpm.expand([[
|
print(rpm.expand([[
|
||||||
|
|
||||||
%package -n cross-]]..arch..[[-linux-glibc-devel
|
%package -n cross-]]..arch..[[-%{name}
|
||||||
Summary: Linux headers for ]]..arch..[[ userspace cross development
|
Summary: Linux headers for ]]..arch..[[ userspace cross development
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
BuildArch: noarch
|
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
|
This package provides Linux kernel headers for ]]..arch..[[, the kernel API description
|
||||||
required for compilation of almost all programs.
|
required for compilation of almost all programs.
|
||||||
]]))
|
]]))
|
||||||
end}
|
end}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n linux-glibc-devel-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for karch in *; do
|
for karch in *; do
|
||||||
@@ -161,10 +162,9 @@ cd ..
|
|||||||
]]))
|
]]))
|
||||||
end}
|
end}
|
||||||
|
|
||||||
%pre
|
%pre -p <lua>
|
||||||
if test -L %{_includedir}/asm; then
|
link = "%{_includedir}/asm"
|
||||||
rm -f %{_includedir}/asm
|
if posix.readlink(link) then os.remove(link) end
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
@@ -173,7 +173,7 @@ fi
|
|||||||
for i,arch in ipairs({cross_archs()}) do
|
for i,arch in ipairs({cross_archs()}) do
|
||||||
print(rpm.expand([[
|
print(rpm.expand([[
|
||||||
|
|
||||||
%files -n cross-]]..arch..[[-linux-glibc-devel
|
%files -n cross-]]..arch..[[-%{name}
|
||||||
%{_prefix}/]]..gcc_target(arch).."\n"))
|
%{_prefix}/]]..gcc_target(arch).."\n"))
|
||||||
end}
|
end}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user