From 909e6dbf4d7e46fdf5da4b449ddab3cc392bef7d86e341d0c517b4acb824be13 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 5 Jul 2011 08:02:23 +0000 Subject: [PATCH] Autobuild autoformatter for 75320 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=64 --- glibc.spec | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/glibc.spec b/glibc.spec index 24f966c..52e4021 100644 --- a/glibc.spec +++ b/glibc.spec @@ -77,7 +77,7 @@ Obsoletes: glibc-64bit Obsoletes: glibc-32bit %endif Version: 2.13 -Release: 5 +Release: 21 Url: http://www.gnu.org/software/libc/libc.html Source: glibc-%{version}-996cf2ef0727.tar.bz2 Source2: http://ftp.gnu.org/gnu/glibc/glibc-ports-2.13.tar.bz2 @@ -219,7 +219,6 @@ Group: Documentation/Other Requires(post): %{install_info_prereq} Requires(postun): %{install_info_prereq} - %description info This package contains the documentation for the GNU C library stored as info files. Due to a lack of resources, this documentation is not @@ -230,7 +229,6 @@ License: GPLv2+ ; LGPLv2.1+ Summary: HTML Documentation for the GNU C Library Group: Documentation/HTML - %description html This package contains the HTML documentation for the GNU C library. Due to a lack of resources, this documentation is not complete and is @@ -241,7 +239,6 @@ License: LGPLv2.1+ Summary: Database Sources for 'locale' Group: System/Libraries - %description i18ndata This package contains the data needed to build the locale data files to use the internationalization features of the GNU libc. It is normally @@ -262,7 +259,6 @@ Obsoletes: glibc-locale-64bit Obsoletes: glibc-locale-32bit %endif - %description locale Locale data for the internationalisation features of the GNU C library. @@ -276,7 +272,6 @@ Requires(preun): %insserv_prereq Requires(post): %insserv_prereq Requires(postun): %insserv_prereq - %description -n nscd Nscd caches name service lookups and can dramatically improve performance with NIS, NIS+, and LDAP. @@ -294,7 +289,6 @@ Obsoletes: glibc-profile-64bit Obsoletes: glibc-profile-32bit %endif - %description profile This package contains special versions of the GNU C library which are necessary for profiling and debugging. @@ -315,18 +309,17 @@ Obsoletes: glibc-devel-32bit Requires: glibc = %{version} Requires: linux-kernel-headers - %description devel These libraries are needed to develop programs which use the standard C library. %package devel-static + Summary: C library static libraries for -static linking Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} - %description devel-static The glibc-devel-static package contains the C library static libraries for -static linking. You don't need these, unless you link statically, @@ -338,7 +331,6 @@ Summary: Development utilities from GNU C library Group: Development/Languages/C and C++ Requires: glibc = %{version} - %description utils The glibc-utils package contains mtrace, a memory leak tracer and xtrace, a function call tracer which can be helpful during program @@ -348,14 +340,12 @@ If you are unsure if you need this, don't install this package. %ifarch %ix86 - %package obsolete License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ Summary: Obsolete Shared Libraries from the GNU C Library Group: System/Libraries Requires: glibc = %{version} - %description obsolete This package provides some old libraries from the GNU C Library which are no longer supported. Additional it provides a compatibility library @@ -368,7 +358,6 @@ versions of your software. %endif - %prep %ifarch %arm armv5tel armv7l # add glibc-ports for arm @@ -449,7 +438,6 @@ rm nscd/s-stamp %patch63 -p1 %patch64 -p1 - # # Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed! # @@ -476,7 +464,6 @@ find . -name configure | xargs touch ### ####################################################################### - %build if [ -x /bin/uname.bin ]; then /bin/uname.bin -a @@ -652,7 +639,6 @@ $BuildCC -static %{optflags} -Os $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_p ### ####################################################################### - %check %if %{run_testsuite} # Increase timeout @@ -675,7 +661,6 @@ make -C cc-base check-abi || echo check-abi failed ### ####################################################################### - %install # We don't want to strip the .symtab from our libraries in find-debuginfo.sh, # certainly not from libpthread.so.* because it is used by libthread_db to find @@ -842,7 +827,6 @@ done ### ####################################################################### - %clean rm -rf %{buildroot} @@ -850,13 +834,10 @@ rm -rf %{buildroot} # %%set_permissions %%{_libdir}/pt_chown # since we cannot do it in our own post section - %post -p %{_sbindir}/glibc_post_upgrade - %postun -p /sbin/ldconfig - %post locale for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do [ -d "$l.d" ] || continue @@ -865,24 +846,19 @@ for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do done /usr/sbin/iconvconfig - %post info %install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz - %postun info %install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz - %preun -n nscd %stop_on_removal nscd - %post -n nscd %{insserv_force_if_yast nscd} mkdir -p /var/run/nscd - %postun -n nscd %restart_on_update nscd %insserv_cleanup @@ -899,7 +875,6 @@ exit 0 # glibc - %files %defattr(-,root,root) %doc LICENSES @@ -1027,7 +1002,6 @@ exit 0 %ifarch %ix86 - %files obsolete %defattr (755,root,root,755) %dir /%{_lib}/obsolete/ @@ -1036,7 +1010,6 @@ exit 0 /%{_lib}/obsolete/noversion/libNoVersion.so.1 %endif - %files locale -f libc.lang %defattr(-,root,root) %{_datadir}/locale/locale.alias @@ -1045,7 +1018,6 @@ exit 0 %endif %{_libdir}/gconv - %files devel %defattr(-,root,root) %doc COPYING COPYING.LIB FAQ INSTALL NEWS NOTES README BUGS CONFORMANCE @@ -1072,7 +1044,6 @@ exit 0 %{_libdir}/libpthread_nonshared.a %{_libdir}/librpcsvc.a - %files devel-static %defattr(-,root,root) %{_libdir}/libBrokenLocale.a @@ -1087,24 +1058,20 @@ exit 0 %{_libdir}/librt.a %{_libdir}/libutil.a - %files info %defattr(-,root,root) %doc %{_infodir}/libc.info.gz %doc %{_infodir}/libc.info-?.gz %doc %{_infodir}/libc.info-??.gz - %files html %defattr(-,root,root) %doc %{_prefix}/share/doc/glibc - %files i18ndata %defattr(-,root,root) %{_prefix}/share/i18n - %files -n nscd %defattr(-,root,root) %config(noreplace) /etc/nscd.conf @@ -1120,7 +1087,6 @@ exit 0 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts - %files profile %defattr(-,root,root) %{_libdir}/libc_p.a @@ -1136,7 +1102,6 @@ exit 0 %{_libdir}/libutil_p.a %{_libdir}/libdl_p.a - %files utils %defattr(-,root,root) /%{_lib}/libmemusage.so @@ -1148,6 +1113,4 @@ exit 0 %{_bindir}/pcprofiledump %{_bindir}/xtrace - - %changelog