[packages/linux-libc-headers] Rel 2. dropped %pretrans for the 2004 include symlinks
arekm
arekm at pld-linux.org
Tue Oct 13 00:57:28 CEST 2026
commit 6185f7b10813feada513775e43313c065914eac7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 13 00:54:58 2026 +0200
Rel 2. dropped %pretrans for the 2004 include symlinks
A sh %pretrans needs /bin/sh in the rpmdb already, so installing into
an empty root failed.
linux-libc-headers.spec | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/linux-libc-headers.spec b/linux-libc-headers.spec
index 8e57ec7..eee9c10 100644
--- a/linux-libc-headers.spec
+++ b/linux-libc-headers.spec
@@ -4,7 +4,7 @@ Summary: Linux kernel headers for use with C libraries
Summary(pl.UTF-8): Nagłówki jądra Linuksa do użytku z bibliotekami C
Name: linux-libc-headers
Version: %{basever}.%{postver}
-Release: 1
+Release: 2
Epoch: 7
License: GPL v2
Group: Development
@@ -28,7 +28,6 @@ BuildRequires: rpmbuild(macros) >= 1.568
BuildRequires: rsync
BuildRequires: tar >= 1:1.22
BuildRequires: xz
-Requires(pretrans): coreutils
Obsoletes: alsa-driver-devel < 1.1
Obsoletes: glibc-kernel-headers < 7:2.6.2
Obsoletes: glibc-kernheaders < 2.6
@@ -97,11 +96,6 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
-%pretrans
-[ ! -L /usr/include/linux ] || rm -f /usr/include/linux
-[ ! -L /usr/include/asm ] || rm -f /usr/include/asm
-[ ! -L /usr/include/sound ] || rm -f /usr/include/sound
-
%files
%defattr(644,root,root,755)
%{_includedir}/asm
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/linux-libc-headers.git/commitdiff/6185f7b10813feada513775e43313c065914eac7
More information about the pld-cvs-commit
mailing list