Remove historic scriptlet for glibc-headers
Also remove the dependencies which are needed by the scriptlet.
This commit is contained in:
parent
db303b940e
commit
7407a5058a
12
glibc.spec
12
glibc.spec
@ -316,7 +316,6 @@ applications should use libnsl2 instead to gain IPv6 support.
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Object files for development using standard C libraries.
|
Summary: Object files for development using standard C libraries.
|
||||||
Requires(pre): %{name}-headers
|
|
||||||
Requires: %{name}-headers = %{version}-%{release}
|
Requires: %{name}-headers = %{version}-%{release}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: libxcrypt-devel%{_isa} >= 4.0.0
|
Requires: libxcrypt-devel%{_isa} >= 4.0.0
|
||||||
@ -358,10 +357,7 @@ which is highly discouraged.
|
|||||||
%package headers
|
%package headers
|
||||||
Summary: Header files for development using standard C libraries.
|
Summary: Header files for development using standard C libraries.
|
||||||
Provides: %{name}-headers(%{_target_cpu})
|
Provides: %{name}-headers(%{_target_cpu})
|
||||||
Requires(pre): kernel-headers
|
Requires: kernel-headers >= 3.2, %{name} = %{version}-%{release}
|
||||||
# Uses 'rm' to remove problematic kernel headers.
|
|
||||||
Requires(pre): coreutils
|
|
||||||
Requires: kernel-headers >= 2.2.1, %{name} = %{version}-%{release}
|
|
||||||
BuildRequires: kernel-headers >= 3.2
|
BuildRequires: kernel-headers >= 3.2
|
||||||
|
|
||||||
%description headers
|
%description headers
|
||||||
@ -1922,12 +1918,6 @@ if posix.access(save_path) then
|
|||||||
posix.unlink(save_path)
|
posix.unlink(save_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
%pre headers
|
|
||||||
# this used to be a link and it is causing nightmares now
|
|
||||||
if [ -L %{_prefix}/include/scsi ] ; then
|
|
||||||
rm -f %{_prefix}/include/scsi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%pre -n nscd
|
%pre -n nscd
|
||||||
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
|
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
|
||||||
getent passwd nscd >/dev/null ||
|
getent passwd nscd >/dev/null ||
|
||||||
|
Loading…
Reference in New Issue
Block a user