forked from pool/linux-glibc-devel
Accepting request 74807 from home:a_jaeger:branches:openSUSE:Factory
Update to 2.6.39 OBS-URL: https://build.opensuse.org/request/show/74807 OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-glibc-devel?expand=0&rev=29
This commit is contained in:
parent
512e55845f
commit
cf72d6ced8
@ -27,6 +27,8 @@ fi
|
|||||||
tar -xf $1
|
tar -xf $1
|
||||||
pushd linux-${kernel_dir}
|
pushd linux-${kernel_dir}
|
||||||
cp Makefile $header_dir
|
cp Makefile $header_dir
|
||||||
|
# header export for unicore32 in 2.6.39 is broken, disable it
|
||||||
|
sed -i -e 's/cris/cris\|unicore32/' scripts/headers.sh
|
||||||
/usr/bin/make O="$header_dir" headers_install_all
|
/usr/bin/make O="$header_dir" headers_install_all
|
||||||
# kvm.h and aout.h are only installed if SRCARCH is an architecture
|
# kvm.h and aout.h are only installed if SRCARCH is an architecture
|
||||||
# that has support for them. As the package is noarch we need to make
|
# that has support for them. As the package is noarch we need to make
|
||||||
@ -50,6 +52,7 @@ for asm in \
|
|||||||
sh64 \
|
sh64 \
|
||||||
v850 \
|
v850 \
|
||||||
xtensa \
|
xtensa \
|
||||||
|
unicore32 \
|
||||||
; do
|
; do
|
||||||
rm -rf usr/include/asm-$asm
|
rm -rf usr/include/asm-$asm
|
||||||
done
|
done
|
||||||
@ -78,4 +81,5 @@ done
|
|||||||
popd
|
popd
|
||||||
du -sh "$header_dir/usr"
|
du -sh "$header_dir/usr"
|
||||||
tar -cjf "$header_dir.tar.bz2" "${header_dir##*/}"
|
tar -cjf "$header_dir.tar.bz2" "${header_dir##*/}"
|
||||||
rm -rf $header_dir
|
rm -rf $header_dir linux-${kernel_dir}
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a8eb0c2f7f8656ca6877458818c366ecfd3becb5315dcdf9f09586ef7612aa71
|
|
||||||
size 724035
|
|
3
linux-glibc-devel-2.6.39.tar.bz2
Normal file
3
linux-glibc-devel-2.6.39.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:44724bab7e24317ecb08905f02d6abd246fe21af85eedd3843c67d20549dcb7e
|
||||||
|
size 742507
|
@ -1,94 +0,0 @@
|
|||||||
---
|
|
||||||
usr/include/asm-arm/ioctls.h | 1 +
|
|
||||||
usr/include/asm-generic/ioctls.h | 1 +
|
|
||||||
usr/include/asm-ia64/ioctls.h | 1 +
|
|
||||||
usr/include/asm-parisc/ioctls.h | 1 +
|
|
||||||
usr/include/asm-powerpc/ioctls.h | 1 +
|
|
||||||
usr/include/asm-s390/ioctls.h | 1 +
|
|
||||||
usr/include/asm-sparc/ioctls.h | 1 +
|
|
||||||
7 files changed, 7 insertions(+)
|
|
||||||
|
|
||||||
Index: usr/include/asm-arm/ioctls.h
|
|
||||||
===================================================================
|
|
||||||
--- usr/include/asm-arm/ioctls.h.orig 2010-11-16 16:46:06.000000000 +0100
|
|
||||||
+++ usr/include/asm-arm/ioctls.h 2010-11-16 17:24:29.381717929 +0100
|
|
||||||
@@ -52,6 +52,7 @@
|
|
||||||
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
|
|
||||||
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
|
||||||
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
|
|
||||||
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
|
|
||||||
#define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */
|
|
||||||
|
|
||||||
#define TIOCGRS485 0x542E
|
|
||||||
Index: usr/include/asm-generic/ioctls.h
|
|
||||||
===================================================================
|
|
||||||
--- usr/include/asm-generic/ioctls.h.orig 2010-11-16 16:56:17.000000000 +0100
|
|
||||||
+++ usr/include/asm-generic/ioctls.h 2010-11-16 17:23:50.110717582 +0100
|
|
||||||
@@ -65,6 +65,7 @@
|
|
||||||
#define TIOCSRS485 0x542F
|
|
||||||
#define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
|
||||||
#define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */
|
|
||||||
+#define TIOCGDEV _IOR('T', 0x32, unsigned int) /* Get real dev no below /dev/console */
|
|
||||||
#define TCGETX 0x5432 /* SYS5 TCGETX compatibility */
|
|
||||||
#define TCSETX 0x5433
|
|
||||||
#define TCSETXF 0x5434
|
|
||||||
Index: usr/include/asm-ia64/ioctls.h
|
|
||||||
===================================================================
|
|
||||||
--- usr/include/asm-ia64/ioctls.h.orig 2010-11-16 16:48:56.000000000 +0100
|
|
||||||
+++ usr/include/asm-ia64/ioctls.h 2010-11-16 17:24:51.373842894 +0100
|
|
||||||
@@ -59,6 +59,7 @@
|
|
||||||
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
|
|
||||||
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
|
||||||
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
|
|
||||||
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
|
|
||||||
#define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */
|
|
||||||
|
|
||||||
#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
|
|
||||||
Index: usr/include/asm-parisc/ioctls.h
|
|
||||||
===================================================================
|
|
||||||
--- usr/include/asm-parisc/ioctls.h.orig 2010-11-16 16:51:44.000000000 +0100
|
|
||||||
+++ usr/include/asm-parisc/ioctls.h 2010-11-16 17:25:14.147716950 +0100
|
|
||||||
@@ -52,6 +52,7 @@
|
|
||||||
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
|
|
||||||
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
|
||||||
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
|
|
||||||
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
|
|
||||||
#define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */
|
|
||||||
|
|
||||||
#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
|
|
||||||
Index: usr/include/asm-powerpc/ioctls.h
|
|
||||||
===================================================================
|
|
||||||
--- usr/include/asm-powerpc/ioctls.h.orig 2010-11-16 16:52:12.000000000 +0100
|
|
||||||
+++ usr/include/asm-powerpc/ioctls.h 2010-11-16 17:25:55.673718007 +0100
|
|
||||||
@@ -94,6 +94,7 @@
|
|
||||||
#define TIOCSRS485 0x542f
|
|
||||||
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
|
||||||
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
|
|
||||||
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
|
|
||||||
#define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */
|
|
||||||
|
|
||||||
#define TIOCSERCONFIG 0x5453
|
|
||||||
Index: usr/include/asm-s390/ioctls.h
|
|
||||||
===================================================================
|
|
||||||
--- usr/include/asm-s390/ioctls.h.orig 2010-11-16 16:52:44.000000000 +0100
|
|
||||||
+++ usr/include/asm-s390/ioctls.h 2010-11-16 17:26:18.864718089 +0100
|
|
||||||
@@ -60,6 +60,7 @@
|
|
||||||
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
|
|
||||||
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
|
|
||||||
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
|
|
||||||
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
|
|
||||||
#define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */
|
|
||||||
|
|
||||||
#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
|
|
||||||
Index: usr/include/asm-sparc/ioctls.h
|
|
||||||
===================================================================
|
|
||||||
--- usr/include/asm-sparc/ioctls.h.orig 2010-11-16 16:54:29.000000000 +0100
|
|
||||||
+++ usr/include/asm-sparc/ioctls.h 2010-11-16 17:27:37.477717843 +0100
|
|
||||||
@@ -43,6 +43,7 @@
|
|
||||||
#define __TIOCSETX _IOW('t', 34, int) /* SunOS Specific */
|
|
||||||
#define __TIOCGETX _IOR('t', 35, int) /* SunOS Specific */
|
|
||||||
#define TIOCCONS _IO('t', 36)
|
|
||||||
+#define TIOCGDEV _IOW('t', 0x32, unsigned int)
|
|
||||||
#define TIOCGSOFTCAR _IOR('t', 100, int)
|
|
||||||
#define TIOCSSOFTCAR _IOW('t', 101, int)
|
|
||||||
#define __TIOCUCNTL _IOW('t', 102, int) /* SunOS Specific */
|
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 29 07:51:04 UTC 2011 - aj@suse.de
|
||||||
|
|
||||||
|
- Update kernel headers to 2.6.39.
|
||||||
|
- Remove linux-glibc-devel.SuSE.TIOCGDEV.patch since it's upstream
|
||||||
|
now.
|
||||||
|
- Fix obsoletes.
|
||||||
|
- Use fdupes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 16 16:28:52 UTC 2010 - coolo@novell.com
|
Tue Nov 16 16:28:52 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package linux-glibc-devel (Version 2.6.35)
|
# spec file for package linux-glibc-devel (Version 2.6.36)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -17,24 +17,23 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
BuildRequires: fdupes
|
||||||
Name: linux-glibc-devel
|
Name: linux-glibc-devel
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: Linux headers for userspace development
|
Summary: Linux headers for userspace development
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# this confusing version number has no meaning
|
# this confusing version number has no meaning
|
||||||
Version: 2.6.36
|
Version: 2.6.39
|
||||||
Release: 1
|
Release: 1
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Provides: kernel-headers
|
Provides: kernel-headers
|
||||||
Provides: linux-kernel-headers = %{version}
|
Provides: linux-kernel-headers = %{version}
|
||||||
Obsoletes: linux-kernel-headers <= %{version}
|
Obsoletes: linux-kernel-headers < %{version}
|
||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: install_all.sh
|
Source1: install_all.sh
|
||||||
Patch0: linux-glibc-devel.SuSE.TIOCGDEV.patch
|
|
||||||
Patch1: linux-glibc-devel.SuSE.SO_BSDCOMPAT.patch
|
Patch1: linux-glibc-devel.SuSE.SO_BSDCOMPAT.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,7 +47,6 @@ packages, instead.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -110,9 +108,10 @@ rm -fv $RPM_BUILD_ROOT//usr/include/scsi/scsi*
|
|||||||
# The directory turned into a symlink in 10.3 (2.6.22)
|
# The directory turned into a symlink in 10.3 (2.6.22)
|
||||||
# rpm will remove obsolete files after the post install scripts
|
# rpm will remove obsolete files after the post install scripts
|
||||||
# A trigger will run after the /usr/include/asm was removed
|
# A trigger will run after the /usr/include/asm was removed
|
||||||
# Create a dummy symlink now for rpmlint happiness, we %ghost this and create
|
# Create a dummy symlink now for rpmlint happiness, we %%ghost this and create
|
||||||
# a proper symlink during %post:
|
# a proper symlink during %%post:
|
||||||
ln -sfn asm-dummy $RPM_BUILD_ROOT/usr/include/asm
|
ln -sfn asm-dummy $RPM_BUILD_ROOT/usr/include/asm
|
||||||
|
%fdupes $RPM_BUILD_ROOT/usr/include
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if test "$1" = 0
|
if test "$1" = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user