forked from pool/glibc
Andreas Schwab
33af53d099
- Move glibc-utils subpackage to own specfile and enable programs that require libgd - Filter GLIBC_PRIVATE symbols - Don't stop at first error in testsuite run OBS-URL: https://build.opensuse.org/request/show/145907 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=255
30 lines
886 B
Bash
30 lines
886 B
Bash
#!/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
|
|
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++"
|
|
}
|
|
/UTILS-SUMMARY-END/ { ignore = 0 }
|
|
/^%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
|
|
|
|
osc service localrun format_spec_file
|
|
|