2012-12-17 14:15:06 +01:00
|
|
|
#!/bin/bash
|
|
|
|
# This script is called automatically during autobuild checkin.
|
|
|
|
sed -e 's/^Name:.*glibc/&-testsuite/' glibc.spec > glibc-testsuite.spec
|
|
|
|
cp glibc.changes glibc-testsuite.changes
|
2012-12-19 18:04:05 +01:00
|
|
|
awk '/^Name:/{ $0 = $0 "-utils" }
|
|
|
|
/UTILS-SUMMARY-BEGIN/ {
|
|
|
|
ignore = 1
|
|
|
|
print "\
|
|
|
|
Summary: Development utilities from GNU C library\n\
|
|
|
|
License: LGPL-2.1+\n\
|
|
|
|
Group: Development/Languages/C and C++"
|
|
|
|
}
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
/UTILS-SUMMARY-END/ { ignore = 0; next }
|
2012-12-19 18:04:05 +01:00
|
|
|
/^%description$/ {
|
|
|
|
ignore = 1
|
|
|
|
print "\
|
|
|
|
%description\n\
|
|
|
|
The glibc-utils package contains mtrace, a memory leak tracer and\n\
|
|
|
|
xtrace, a function call tracer which can be helpful during program\n\
|
|
|
|
debugging.\n\
|
|
|
|
\n\
|
|
|
|
If you are unsure if you need this, don'\''t install this package.\n"
|
|
|
|
}
|
|
|
|
/^%package/ { ignore = 0}
|
|
|
|
!ignore { print }' glibc.spec > glibc-utils.spec
|
|
|
|
cp glibc.changes glibc-utils.changes
|
2012-12-17 14:15:06 +01:00
|
|
|
|
|
|
|
osc service localrun format_spec_file
|
|
|
|
|