Autobuild autoformatter for 53152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=29
This commit is contained in:
parent
72ba7b2c36
commit
5966a4cc59
11
glibc.spec
11
glibc.spec
@ -64,7 +64,7 @@ Obsoletes: glibc-32bit
|
|||||||
Provides: rtld(GNU_HASH)
|
Provides: rtld(GNU_HASH)
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.11.2
|
Version: 2.11.2
|
||||||
Release: 3
|
Release: 8
|
||||||
Url: http://www.gnu.org/software/libc/libc.html
|
Url: http://www.gnu.org/software/libc/libc.html
|
||||||
PreReq: filesystem
|
PreReq: filesystem
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -388,12 +388,12 @@ rm nscd/s-stamp
|
|||||||
rm -fv sysdeps/powerpc/powerpc32/power4/hp-timing.c sysdeps/powerpc/powerpc32/power4/hp-timing.h
|
rm -fv sysdeps/powerpc/powerpc32/power4/hp-timing.c sysdeps/powerpc/powerpc32/power4/hp-timing.h
|
||||||
find . -name configure | xargs touch
|
find . -name configure | xargs touch
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
###
|
###
|
||||||
### BUILD
|
### BUILD
|
||||||
###
|
###
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ -x /bin/uname.bin ]; then
|
if [ -x /bin/uname.bin ]; then
|
||||||
/bin/uname.bin -a
|
/bin/uname.bin -a
|
||||||
@ -558,7 +558,6 @@ $BuildCC -static -Os -g $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgra
|
|||||||
%endif
|
%endif
|
||||||
'-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"'
|
'-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"'
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
###
|
###
|
||||||
### CHECK
|
### CHECK
|
||||||
@ -581,7 +580,6 @@ $BuildCC -static -Os -g $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgra
|
|||||||
%endif
|
%endif
|
||||||
make -C cc-base check-abi || echo check-abi failed
|
make -C cc-base check-abi || echo check-abi failed
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
###
|
###
|
||||||
### INSTALL
|
### INSTALL
|
||||||
@ -674,7 +672,6 @@ cp -av bits/stdio-lock.h $RPM_BUILD_ROOT%{_prefix}/include/bits/stdio-lock.h
|
|||||||
ln -sf ../%{_lib}/ld-%{version}.so $RPM_BUILD_ROOT/lib/ld64.so.1
|
ln -sf ../%{_lib}/ld-%{version}.so $RPM_BUILD_ROOT/lib/ld64.so.1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
# Miscelanna:
|
# Miscelanna:
|
||||||
|
|
||||||
install -m 0700 glibc_post_upgrade $RPM_BUILD_ROOT%{_sbindir}
|
install -m 0700 glibc_post_upgrade $RPM_BUILD_ROOT%{_sbindir}
|
||||||
@ -695,7 +692,6 @@ cp -p manual/libc/*.html $RPM_BUILD_ROOT/usr/share/doc/glibc
|
|||||||
|
|
||||||
cd manpages; make install_root=$RPM_BUILD_ROOT install; cd ..
|
cd manpages; make install_root=$RPM_BUILD_ROOT install; cd ..
|
||||||
|
|
||||||
|
|
||||||
# nscd tools:
|
# nscd tools:
|
||||||
|
|
||||||
cp nscd/nscd.conf $RPM_BUILD_ROOT/etc
|
cp nscd/nscd.conf $RPM_BUILD_ROOT/etc
|
||||||
@ -769,7 +765,6 @@ for o in $RPM_BUILD_ROOT/%{_libdir}/crt[1in].o $RPM_BUILD_ROOT/%{_libdir}/lib*_n
|
|||||||
objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o
|
objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
###
|
###
|
||||||
### ...
|
### ...
|
||||||
@ -807,7 +802,6 @@ done
|
|||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
###
|
###
|
||||||
### FILES
|
### FILES
|
||||||
@ -815,6 +809,7 @@ exit 0
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
# glibc
|
# glibc
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSES
|
%doc LICENSES
|
||||||
|
Loading…
Reference in New Issue
Block a user