Accepting request 571136 from home:Andreas_Schwab:Factory
- Avoid duplicate source rpm OBS-URL: https://build.opensuse.org/request/show/571136 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=489
This commit is contained in:
parent
dc304305df
commit
2a7ebdfb1e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 30 15:04:47 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Avoid duplicate source rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 10:32:36 UTC 2018 - schwab@suse.de
|
||||
|
||||
|
22
glibc.spec
22
glibc.spec
@ -26,10 +26,10 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@%{nil}
|
||||
|
||||
%bcond_with all
|
||||
%bcond_with build_all
|
||||
%define build_main 1
|
||||
%define build_utils %{with all}
|
||||
%define build_testsuite %{with all}
|
||||
%define build_utils %{with build_all}
|
||||
%define build_testsuite %{with build_all}
|
||||
%if "%flavor" == "utils"
|
||||
%if %{with ringdisabled}
|
||||
ExclusiveArch: do_not_build
|
||||
@ -47,7 +47,11 @@ ExclusiveArch: do_not_build
|
||||
%define build_testsuite 1
|
||||
%endif
|
||||
|
||||
%if %{build_main}
|
||||
Name: glibc
|
||||
%else
|
||||
Name: glibc-%{flavor}-src
|
||||
%endif
|
||||
Summary: Standard Shared Libraries (from the GNU C Library)
|
||||
License: LGPL-2.1+ AND SUSE-LGPL-2.1+-with-GCC-exception AND GPL-2.0+
|
||||
Group: System/Libraries
|
||||
@ -83,7 +87,7 @@ BuildArch: i686
|
||||
%define build_locales 1
|
||||
%define build_html 0
|
||||
%else
|
||||
%if %{with fast_build} || %{build_utils} && %{without all}
|
||||
%if %{with fast_build} || %{build_utils} && %{without build_all}
|
||||
%define build_profile 0
|
||||
%define build_locales 0
|
||||
%define build_html 0
|
||||
@ -359,25 +363,25 @@ by nearly all programs: the standard C library, the standard math
|
||||
library, and the POSIX thread library. A system is not functional
|
||||
without these libraries.
|
||||
|
||||
%package utils
|
||||
%package -n glibc-utils
|
||||
Summary: Development utilities from the GNU C Library
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: glibc = %{version}
|
||||
|
||||
%description utils
|
||||
%description -n glibc-utils
|
||||
The glibc-utils package contains mtrace, a memory leak tracer and
|
||||
xtrace, a function call tracer which can be helpful during program
|
||||
debugging.
|
||||
|
||||
If you are unsure if you need this, do not install this package.
|
||||
|
||||
%package testsuite
|
||||
%package -n glibc-testsuite
|
||||
Summary: Testsuite results from the GNU C Library
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%description testsuite
|
||||
%description -n glibc-testsuite
|
||||
This package contains the testsuite results from the GNU C Library.
|
||||
|
||||
%if %{build_main}
|
||||
@ -1431,7 +1435,7 @@ exit 0
|
||||
%endif # main
|
||||
|
||||
%if %{build_utils}
|
||||
%files utils
|
||||
%files -n glibc-utils
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libmemusage.so
|
||||
/%{_lib}/libpcprofile.so
|
||||
|
Loading…
Reference in New Issue
Block a user